rom4x/rom5x/B0_FD78_del_key.s
Dennis Munsie d159a92a7d Modified delete key patch so that it does not use C4xx memory, which
causes a crash when a Mockingboard IIc+ is enabled.
2024-06-17 20:04:02 -04:00

14 lines
370 B
ArmAsm

; patch GETLN1 to call delete key handler
;
; This patch uses the run of NOPs in RDKEY since there wasn't enough space here
; (6 bytes needed, 5 available).
.code
.include "iic+.defs"
.org $fd78
cmp #$ff ; check for delete
beq $fd12 ; go to part 2 of the patch
cmp #$95 ; check for control-u
bne $fd84
jsr $cc1d ; lift char