1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

Fix screen index bug

This commit is contained in:
Karri Kaksonen 2022-04-07 07:46:28 +03:00 committed by mrdudz
parent 1d7bcb9348
commit ff8d2e84bf

View File

@ -38,6 +38,7 @@ umula0:
adc ptrtmp
tax
lda ptrtmp+1 ; hi byte of left op
clc
adc ptr7800+1
sta ptr7800+1
txa
@ -148,7 +149,8 @@ umula0:
adc CURS_X
bcc @L11
inx
@L11: adc #<(_screen)
@L11: clc
adc #<(_screen)
sta ptr7800
bcc @L12
inx