mirror of
https://github.com/cc65/cc65.git
synced 2025-08-13 08:25:28 +00:00
Fix screen index bug
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user