mirror of
https://github.com/mgcaret/rom4x.git
synced 2024-12-21 11:29:55 +00:00
5X: untested patch delete key to work like left arrow in monitor GETLN1
This commit is contained in:
parent
4f38bbccb2
commit
2e97ca4fc8
11
rom5x/B0_C4EE_del_key.s
Normal file
11
rom5x/B0_C4EE_del_key.s
Normal 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
|
||||
|
6
rom5x/B0_FD75_patch_getln1.s
Normal file
6
rom5x/B0_FD75_patch_getln1.s
Normal file
@ -0,0 +1,6 @@
|
||||
; patch GETLN1 to call delete key handler
|
||||
.code
|
||||
.include "iic+.defs"
|
||||
.org $fd75
|
||||
jsr $c4ee
|
||||
|
Loading…
Reference in New Issue
Block a user