mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-15 05:31:34 +00:00
keen: story limits
This commit is contained in:
parent
f7cd1b2e43
commit
ce36d74251
@ -138,9 +138,19 @@ message_text_loop:
|
||||
cmp #$0A
|
||||
beq do_down
|
||||
|
||||
done_key:
|
||||
jmp redraw_text
|
||||
|
||||
do_up:
|
||||
lda START_LINE_H
|
||||
cmp #>story_data
|
||||
bne up_ok
|
||||
|
||||
lda START_LINE_L
|
||||
cmp #<story_data
|
||||
beq done_key
|
||||
|
||||
up_ok:
|
||||
sec
|
||||
lda START_LINE_L
|
||||
sbc #40
|
||||
@ -151,6 +161,17 @@ do_up:
|
||||
jmp redraw_text
|
||||
|
||||
do_down:
|
||||
|
||||
lda START_LINE_H
|
||||
cmp #$82
|
||||
bne down_ok
|
||||
|
||||
lda START_LINE_L
|
||||
cmp #$48
|
||||
beq done_key
|
||||
|
||||
down_ok:
|
||||
|
||||
clc
|
||||
lda START_LINE_L
|
||||
adc #40
|
||||
|
Loading…
x
Reference in New Issue
Block a user