Add patch to make delete key work like backspace in monitor GETLN/GETLN1

This commit is contained in:
mgcaret 2017-10-11 12:38:29 -07:00
parent 145d82bbcc
commit 4f38bbccb2
3 changed files with 18 additions and 0 deletions

1
.gitignore vendored
View File

@ -11,4 +11,5 @@ copyrom.sh
rom5x/accel5x
make_rom.sh
rom.sha256
**/.DS_Store

11
rom4x/B0_C2F0_del_key.s Normal file
View File

@ -0,0 +1,11 @@
; call RDCHAR, convert DEL to space
; for patching into GETLN1/NXTCHAR (at $FD75)
.code
.include "iic.defs"
.org $c2f0
jsr $cced
cmp #$ff
bne :+
lda #$88
: rts

View File

@ -0,0 +1,6 @@
; patch GETLN1 to call delete key handler
.code
.include "iic.defs"
.org $fd75
jsr $c2f0