Prev: 65367 Up: Map Next: 65391
65380: Prepare BASIC Return
Writes the address ReturnToBasic into the error stack pointed to by ERR_SP. Called by BASIC line 4040 as 65380 before returning to the editor after a SAVE.
PrepareBasicReturn 65380 DI Disable interrupts.
65381 LD HL,(23613) HL=*ERR_SP; write ReturnToBasic there.
65384 LD DE,65391
65387 LD (HL),E
65388 INC HL
65389 LD (HL),D
65390 RET Return.
Prev: 65367 Up: Map Next: 65391