mirror of
https://github.com/ksherlock/itty-bitty-vtty.git
synced 2024-11-24 08:30:54 +00:00
save restore cursor
This commit is contained in:
parent
74d0ee7f07
commit
dbf4e07b95
15
vt100.esc.S
15
vt100.esc.S
@ -133,9 +133,22 @@ vt100_esc ent
|
||||
|
||||
|
||||
esc_7 ; save cursor position, graphic rendition, and character set.
|
||||
|
||||
lda x
|
||||
sta saved_x
|
||||
lda y
|
||||
sta saved_y
|
||||
|
||||
rts
|
||||
esc_8 ; restore cursor position, graphic rendition, and character set.
|
||||
rts
|
||||
|
||||
* TODO - how does this interact with DECOM?
|
||||
|
||||
lda saved_x
|
||||
sta x
|
||||
lda saved_y
|
||||
sta y
|
||||
jmp recalc_cursor
|
||||
|
||||
esc_eq ; enter alternate keypad mode
|
||||
lda #$80
|
||||
|
Loading…
Reference in New Issue
Block a user