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

Fix screen index bug

This commit is contained in:
Karri Kaksonen 2022-04-07 07:46:28 +03:00
parent 6b5c858b20
commit 2fb0f6b47d

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