This commit is contained in:
blondie7575 2017-08-12 18:19:17 -07:00
parent 4b4f322182
commit e46d45272d
2 changed files with 5 additions and 3 deletions

Binary file not shown.

View File

@ -38,7 +38,7 @@ mainBank2:
mainGameLoop: mainGameLoop:
; jsr syncVBL jsr syncVBL
; lda scrollV ; lda scrollV
; bmi negV ; bmi negV
@ -119,20 +119,22 @@ kbdScanDone:
NATIVE NATIVE
rts rts
kbdScanLeftArrow: kbdScanRightArrow:
NATIVE NATIVE
lda mapScrollPos lda mapScrollPos
cmp #VISIBLETERRAINWIDTH-VISIBLETERRAINWINDOW cmp #VISIBLETERRAINWIDTH-VISIBLETERRAINWINDOW
beq kbdScanDone beq kbdScanDone
inc inc
inc
sta mapScrollRequested sta mapScrollRequested
rts rts
kbdScanRightArrow: kbdScanLeftArrow:
NATIVE NATIVE
lda mapScrollPos lda mapScrollPos
beq kbdScanDone beq kbdScanDone
dec dec
dec
sta mapScrollRequested sta mapScrollRequested
rts rts