Prev: 36224 Up: Map Next: 36317
36300: Print Dispatch
Calls the active print handler stored at PrintState_Handler to process one character or control code, preserving caller context across the call.
PrintDispatch 36300 PUSH BC Stash BC on the stack.
36301 EXX Switch to the shadow registers.
36302 PUSH HL Stash HL and IX on the stack.
36303 PUSH IX
36305 LD IX,32768 Set IX to the print state base at PrintState_Y.
36309 LD HL,36317 Push Print_Dispatch_Return as the handler return address.
36312 PUSH HL
36313 LD HL,(32778) Read the current print handler address from PrintState_Handler.
36316 JP (HL) Jump to the print handler.
Prev: 36224 Up: Map Next: 36317