this is all in the vKEY program, so you can't go back to the built-in keyState: Mem reset menu
handler (which would handle the exit) until the custom key handler is
done executing.
Ok. We're clear on this. But, what if the key handler called a subroutine, like this:
;Program: Mem Reset Key Handler
call MemClear
ret
MemClear:
;output EXIT key here
call _clrLCD
ld hl,MemClearText
ld a,1
ld _currow,a ;or whatever it
is
ld _curcol,a ;ditto
call _puts
;put cursor at home position
ret
MemClearText:
.db: "Mem Cleared, Defaults Set" ;Just
for example (one-line)
.end
Would that work?
-Jeremy