mirror of
https://github.com/ksherlock/itty-bitty-vtty.git
synced 2024-11-24 08:30:54 +00:00
fixed cursor position report
- verified DECOM behavior - was missing [ write.
This commit is contained in:
parent
3e53d52226
commit
cd1397e3cf
11
vt100.csi.S
11
vt100.csi.S
@ -787,12 +787,19 @@ csi_n ; status report
|
|||||||
lda #'n'
|
lda #'n'
|
||||||
jmp write_modem
|
jmp write_modem
|
||||||
:cpr ; cursor report
|
:cpr ; cursor report
|
||||||
* TODO - verify and support DECOM
|
* returned y is in terms of DECOM.
|
||||||
lda #ESC
|
lda #ESC
|
||||||
jsr write_modem
|
jsr write_modem
|
||||||
lda #'['
|
lda #'['
|
||||||
|
jsr write_modem
|
||||||
|
|
||||||
lda y
|
lda y
|
||||||
inc
|
bit DECOM
|
||||||
|
bpl :y
|
||||||
|
sec
|
||||||
|
sbc DECTM
|
||||||
|
|
||||||
|
:y inc
|
||||||
jsr write_digit
|
jsr write_digit
|
||||||
lda #';'
|
lda #';'
|
||||||
jsr write_modem
|
jsr write_modem
|
||||||
|
Loading…
Reference in New Issue
Block a user