5X: untested patch delete key to work like left arrow in monitor GETLN1

This commit is contained in:
mgcaret 2017-10-11 12:58:02 -07:00
parent 4f38bbccb2
commit 2e97ca4fc8
2 changed files with 17 additions and 0 deletions

11
rom5x/B0_C4EE_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 $c4ee
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 $c4ee