mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-01-10 06:30:41 +00:00
a bit smaller calculation
This commit is contained in:
parent
5edf7abb18
commit
39d5c185a6
@ -230,11 +230,11 @@ asm sum1
|
||||
ADC #$00
|
||||
STA ESTKL,X
|
||||
BEQ +
|
||||
!BYTE #$A9
|
||||
- CLC
|
||||
INC ESTKH,X
|
||||
+ BCC CHKLP
|
||||
INC ESTKH,X
|
||||
CLC
|
||||
CHKLP LDA (SRC),Y
|
||||
+ BCS -
|
||||
LDA (SRC),Y
|
||||
PHA
|
||||
INY
|
||||
BNE +
|
||||
|
@ -109,11 +109,12 @@ asm pokefrm
|
||||
ROR
|
||||
ADC #$00
|
||||
STA ESTKL,X
|
||||
BEQ +
|
||||
INC ESTKH,X
|
||||
+ BCC POKELP
|
||||
INC ESTKH,X
|
||||
POKELP LDA (SRC),Y
|
||||
BEQ +
|
||||
!BYTE #$A9
|
||||
- CLC
|
||||
INC ESTKH,X
|
||||
+ BCS -
|
||||
LDA (SRC),Y
|
||||
end
|
||||
asm _pokefrml
|
||||
STA $C000
|
||||
@ -147,10 +148,11 @@ asm peekfrm
|
||||
ROR
|
||||
ADC #$00
|
||||
STA ESTKL,X
|
||||
BEQ +
|
||||
INC ESTKH,X
|
||||
+ BCC PEEKLP
|
||||
INC ESTKH,X
|
||||
BEQ +
|
||||
!BYTE #$A9
|
||||
- CLC
|
||||
INC ESTKH,X
|
||||
+ BCS -
|
||||
end
|
||||
asm _peekfrml
|
||||
PEEKLP LDA $C000
|
||||
|
Loading…
x
Reference in New Issue
Block a user