![]() |
Routines |
27480 | LD B,198 | 198 is the code for 'SET 0,(HL)' |
27482 | CALL 24972 | Get the signal byte (0-29) from the command list |
27485 | RRCA | Point HL at the appropriate signal flag holder (32712-32715) |
27486 | RRCA | |
27487 | RRCA | |
27488 | LD C,A | |
27489 | AND 31 | |
27491 | ADD A,200 | |
27493 | LD E,A | |
27494 | LD D,127 | |
27496 | EX DE,HL | |
27497 | LD A,C | Modify the instruction at 27506 below |
27498 | RRCA | |
27499 | RRCA | |
27500 | AND 56 | |
27502 | ADD A,B | |
27503 | LD (27507),A | |
27506 | RES/SET n,(HL) | Unsignal or signal the event |
27508 | EX DE,HL | Restore the character number to H |
27509 | JP 25256 | Move to the next instruction in the command list |