mirror of
https://github.com/ksherlock/itty-bitty-vtty.git
synced 2024-11-21 20:30:56 +00:00
fix CDA paging
This commit is contained in:
parent
1cc501e72a
commit
ea6ee76a9d
@ -51,6 +51,7 @@ Header
|
||||
page ds 2
|
||||
|
||||
|
||||
MAX_PAGE equ 8
|
||||
pages dw variables
|
||||
dw hexdump_r
|
||||
dw hexdump_w
|
||||
@ -112,14 +113,14 @@ main
|
||||
dec
|
||||
dec
|
||||
bpl :lok
|
||||
lda #$05
|
||||
lda #MAX_PAGE-2
|
||||
:lok sta page
|
||||
bra main
|
||||
|
||||
:right lda page
|
||||
inc
|
||||
inc
|
||||
cmp #$05+1
|
||||
cmp #MAX_PAGE
|
||||
bcc :rok
|
||||
lda #0
|
||||
:rok sta page
|
||||
|
Loading…
Reference in New Issue
Block a user