mirror of
https://github.com/ksherlock/itty-bitty-vtty.git
synced 2024-11-21 05:31:06 +00:00
fix bug with scrolling region. frotz now works...
This commit is contained in:
parent
0d64af63d2
commit
260023c33b
@ -679,6 +679,7 @@ csi_H ; direct cursor addressing
|
||||
jmp recalc_cursor
|
||||
|
||||
csi_r ; scrolling region
|
||||
debug csi_r
|
||||
* based on testing
|
||||
* esc [ n r (no second parmeter) is equivalent to esc [ n ; 24 r
|
||||
* esc [ r sets scrolling region to 1 ; 24 ( in accordance with above )
|
||||
@ -703,11 +704,11 @@ csi_r ; scrolling region
|
||||
:check
|
||||
* 23 max
|
||||
ldx parms+0
|
||||
cmp #23+1
|
||||
cpx #23+1
|
||||
bge :rts
|
||||
|
||||
ldx parms+1
|
||||
cmp #23+1
|
||||
cpx #23+1
|
||||
bge :rts
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user