mirror of
https://github.com/a2-4am/4live.git
synced 2025-01-01 22:31:18 +00:00
correct page display, limit to 99 pages
This commit is contained in:
parent
4e5f2c0cf3
commit
de691da719
@ -553,7 +553,7 @@ HexToDec ;called with X=hex value to print
|
|||||||
ldx #0
|
ldx #0
|
||||||
- cmp #$0A
|
- cmp #$0A
|
||||||
bcc +
|
bcc +
|
||||||
sbc #9
|
sbc #$0A
|
||||||
inx
|
inx
|
||||||
bne -
|
bne -
|
||||||
+ jsr AToScr
|
+ jsr AToScr
|
||||||
@ -910,6 +910,9 @@ PageReturn
|
|||||||
;then select that page
|
;then select that page
|
||||||
|
|
||||||
HandleKeyAddPage
|
HandleKeyAddPage
|
||||||
|
lda Pages + 1
|
||||||
|
cmp #(99 - 1) ;maximum 99 pages
|
||||||
|
beq PageReturn
|
||||||
jsr ExchangeVirtualBuffer
|
jsr ExchangeVirtualBuffer
|
||||||
sec
|
sec
|
||||||
jsr ClearVirtualBuffer
|
jsr ClearVirtualBuffer
|
||||||
|
Loading…
Reference in New Issue
Block a user