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:
; jsr syncVBL
jsr syncVBL
; lda scrollV
; bmi negV
@ -119,20 +119,22 @@ kbdScanDone:
NATIVE
rts
kbdScanLeftArrow:
kbdScanRightArrow:
NATIVE
lda mapScrollPos
cmp #VISIBLETERRAINWIDTH-VISIBLETERRAINWINDOW
beq kbdScanDone
inc
inc
sta mapScrollRequested
rts
kbdScanRightArrow:
kbdScanLeftArrow:
NATIVE
lda mapScrollPos
beq kbdScanDone
dec
dec
sta mapScrollRequested
rts