mirror of
https://github.com/ksherlock/itty-bitty-vtty.git
synced 2024-11-21 20:30:56 +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
|
jmp recalc_cursor
|
||||||
|
|
||||||
csi_r ; scrolling region
|
csi_r ; scrolling region
|
||||||
|
debug csi_r
|
||||||
* based on testing
|
* based on testing
|
||||||
* esc [ n r (no second parmeter) is equivalent to esc [ n ; 24 r
|
* 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 )
|
* esc [ r sets scrolling region to 1 ; 24 ( in accordance with above )
|
||||||
@ -703,11 +704,11 @@ csi_r ; scrolling region
|
|||||||
:check
|
:check
|
||||||
* 23 max
|
* 23 max
|
||||||
ldx parms+0
|
ldx parms+0
|
||||||
cmp #23+1
|
cpx #23+1
|
||||||
bge :rts
|
bge :rts
|
||||||
|
|
||||||
ldx parms+1
|
ldx parms+1
|
||||||
cmp #23+1
|
cpx #23+1
|
||||||
bge :rts
|
bge :rts
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user