![]() |
Routines |
Prev: F9D2 | Up: Map |
|
||||||||||||
F9ED | PUSH HL | |||||||||||
F9EE | LD H,A | Point HL at byte 0x13 of the character's buffer | ||||||||||
F9EF | LD L,$13 | |||||||||||
F9F1 | LD A,(HL) | Is there already an uninterruptible subcommand routine address MSB there? | ||||||||||
F9F2 | AND A | |||||||||||
F9F3 | JR NZ,$F9F8 | Jump if so | ||||||||||
F9F5 | LD (HL),B | Otherwise copy the routine address from BC into bytes 0x12 and 0x13 of the character's buffer, thus setting his uninterruptible subcommand | ||||||||||
F9F6 | DEC HL | |||||||||||
F9F7 | LD (HL),C | |||||||||||
F9F8 | POP HL | |||||||||||
F9F9 | RET |
Prev: F9D2 | Up: Map |