Prev: 63981 Up: Map Next: 64004
63994: Initialise an uninterruptible subcommand
Used by the routine at 64131. Places the return address into bytes 18 and 19 of the character's buffer, thus making it the address of the character's uninterruptible subcommand routine.
Input
H Character number (215-229)
63994 POP BC Drop the return address from the stack into BC
63995 PUSH BC Push the return address back onto the stack
63996 PUSH BC Push the return address onto the stack again in preparation for the 'POP BC' below
This entry point is used by the routine at 64005.
63997 LD L,19 Point HL at byte 19 of the character's buffer
63999 POP BC Drop the return address from the stack into BC
64000 LD (HL),B Copy the address from BC into bytes 18 and 19 of the character's buffer, thus setting his uninterruptible subcommand
64001 DEC L
64002 LD (HL),C
64003 RET
Prev: 63981 Up: Map Next: 64004