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
|
page ds 2
|
||||||
|
|
||||||
|
|
||||||
|
MAX_PAGE equ 8
|
||||||
pages dw variables
|
pages dw variables
|
||||||
dw hexdump_r
|
dw hexdump_r
|
||||||
dw hexdump_w
|
dw hexdump_w
|
||||||
@ -112,14 +113,14 @@ main
|
|||||||
dec
|
dec
|
||||||
dec
|
dec
|
||||||
bpl :lok
|
bpl :lok
|
||||||
lda #$05
|
lda #MAX_PAGE-2
|
||||||
:lok sta page
|
:lok sta page
|
||||||
bra main
|
bra main
|
||||||
|
|
||||||
:right lda page
|
:right lda page
|
||||||
inc
|
inc
|
||||||
inc
|
inc
|
||||||
cmp #$05+1
|
cmp #MAX_PAGE
|
||||||
bcc :rok
|
bcc :rok
|
||||||
lda #0
|
lda #0
|
||||||
:rok sta page
|
:rok sta page
|
||||||
|
Loading…
Reference in New Issue
Block a user