1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-01-22 08:31:36 +00:00
This commit is contained in:
dschmenk 2017-10-22 15:57:43 -07:00
commit 6033b2bd8f
4 changed files with 16 additions and 21 deletions

View File

@ -125,17 +125,15 @@ asm grplot
INY INY
LDA (GRSCRN),Y LDA (GRSCRN),Y
STA DSTH STA DSTH
LDY ESTKL+1,X
LDA (DST),Y
EOR GRCLR
STA TMPL
LDA #$FF LDA #$FF
ADC #$00 ADC #$00
EOR #$0F EOR #$0F
TAY AND TMPL
AND GRCLR EOR GRCLR
STA TMPL
TYA
EOR #$FF
LDY ESTKL+1,X
AND (DST),Y
ORA TMPL
STA (DST),Y STA (DST),Y
LDY IPY LDY IPY
INX INX

View File

@ -446,12 +446,10 @@ asm _dgrTileTile
STA ESTKL+4,X STA ESTKL+4,X
DEC ESTKL+1,X ; DEC STRLEN DEC ESTKL+1,X ; DEC STRLEN
BNE - BNE -
+ INX + TXA
INX CLC
INX ADC #6
INX TAX
INX
INX
RTS RTS
end end
// //

View File

@ -66,7 +66,7 @@ asm fbrSwap(saveVM, restoreVM)
STA ESTK,Y STA ESTK,Y
DEY DEY
BPL - BPL -
+ TXA TXA
TAY TAY
- LDA $100,Y - LDA $100,Y
STA (DST),Y STA (DST),Y

View File

@ -17,15 +17,14 @@ export asm tone2(pitch1, pitch2, duration)
INY INY
+ STA DSTL + STA DSTL
STY DSTH STY DSTH
LDA ESTKL+1,X LDY ESTKL+1,X
STA TMPL STY TMPL
LDA ESTKL+2,X LDA ESTKL+2,X
TAX
CMP TMPL CMP TMPL
BNE + BNE +
LDA #$00 LDX #$00
+ STA TMPH + STX TMPH
LDY TMPL
LDX TMPH
LDA #$00 LDA #$00
PHP PHP
SEI SEI