Prev: 0393 Up: Map Next: 03AF
03A2: Empty Queue
Used by the routine at HandleInterrupt.
Reset the buffer pointer to the queue head, discarding anything still queued.
Output
BC Restored buffer pointer
EmptyQueue 03A2 LD A,$06 Select workspace index 06.
03A4 PUSH HL Stash HL on the stack.
03A5 CALL ReadWorkspace Call ReadWorkspace for the address of the queue head.
03A8 LD B,H Copy the queue-head address to BC.
03A9 LD C,L
03AA CALL WriteBufferPointer Call WriteBufferPointer.
03AD POP HL Restore HL from the stack.
03AE RET Return.
Prev: 0393 Up: Map Next: 03AF