mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Fix screen index bug
This commit is contained in:
parent
1d7bcb9348
commit
ff8d2e84bf
@ -38,6 +38,7 @@ umula0:
|
|||||||
adc ptrtmp
|
adc ptrtmp
|
||||||
tax
|
tax
|
||||||
lda ptrtmp+1 ; hi byte of left op
|
lda ptrtmp+1 ; hi byte of left op
|
||||||
|
clc
|
||||||
adc ptr7800+1
|
adc ptr7800+1
|
||||||
sta ptr7800+1
|
sta ptr7800+1
|
||||||
txa
|
txa
|
||||||
@ -148,7 +149,8 @@ umula0:
|
|||||||
adc CURS_X
|
adc CURS_X
|
||||||
bcc @L11
|
bcc @L11
|
||||||
inx
|
inx
|
||||||
@L11: adc #<(_screen)
|
@L11: clc
|
||||||
|
adc #<(_screen)
|
||||||
sta ptr7800
|
sta ptr7800
|
||||||
bcc @L12
|
bcc @L12
|
||||||
inx
|
inx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user