mirror of
https://github.com/mgcaret/rom4x.git
synced 2024-12-22 03:29:18 +00:00
Add patch to make delete key work like backspace in monitor GETLN/GETLN1
This commit is contained in:
parent
145d82bbcc
commit
4f38bbccb2
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,4 +11,5 @@ copyrom.sh
|
||||
rom5x/accel5x
|
||||
make_rom.sh
|
||||
rom.sha256
|
||||
**/.DS_Store
|
||||
|
||||
|
11
rom4x/B0_C2F0_del_key.s
Normal file
11
rom4x/B0_C2F0_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 $c2f0
|
||||
jsr $cced
|
||||
cmp #$ff
|
||||
bne :+
|
||||
lda #$88
|
||||
: rts
|
||||
|
6
rom4x/B0_FD75_patch_getln1.s
Normal file
6
rom4x/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 $c2f0
|
||||
|
Loading…
Reference in New Issue
Block a user