Skip to content

Commit

Permalink
osi: fix backspace on serial systems
Browse files Browse the repository at this point in the history
  • Loading branch information
ivop committed Sep 6, 2024
1 parent 5c65e34 commit ca41070
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/arch/osi/serial.S
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ zproc tty_const
zendproc

zproc tty_conout
cmp #127
zif_eq
lda #8
jsr send
lda #' '
jsr send
lda #8
zendif
send:
pha
zrepeat
lda SERIAL_ACIA_STATUS ; wait for bit 1 set, TDR empty
Expand Down

0 comments on commit ca41070

Please sign in to comment.