![]() |
Routines |
Prev: 25373 | Up: Map | Next: 25402 |
A | Description | Flags | Bit |
---|---|---|---|
0 | End of lesson/playtime | 32712 | 0 |
8 | Time to start lesson in Map Room | 32713 | 0 |
9 | Time to start lesson in Reading Room | 32713 | 1 |
10 | Time to start lesson in Exam Room | 32713 | 2 |
11 | Time to start lesson in White Room | 32713 | 3 |
16 | Little boy no. 1 is ready | 32714 | 0 |
17 | Little boy no. 1 is ready again | 32714 | 1 |
26 | EINSTEIN or BOY WANDER is ready | 32715 | 2 |
27 | MR WACKER is ready | 32715 | 3 |
28 | Little boy has told ERIC about EINSTEIN, BOY WANDER or ANGELFACE | 32715 | 4 |
29 | EINSTEIN has grassed on ERIC, or ERIC has mumps | 32715 | 5 |
A | signal identifier (see above) |
25374 | PUSH AF | Save the signal identifier briefly |
25375 | AND 248 | Keep only bits 3-7 (the byte index) and shift them into bits 0-4 |
25377 | RRCA | |
25378 | RRCA | |
25379 | RRCA | |
25380 | ADD A,200 | Modify the LD A,(m) instruction at 25396 below so that m is 32712, 32713, 32714 or 32715 |
25382 | LD (25397),A | |
25385 | POP AF | Restore the signal identifier to A |
25386 | AND 7 | Keep only bits 0-2 (the bit index) |
25388 | ADD A,A | Modify the BIT n,A instruction at 25399 below so that n=A (0-7) |
25389 | ADD A,A | |
25390 | ADD A,A | |
25391 | ADD A,71 | |
25393 | LD (25400),A | |
25396 | LD A,(m) | Pick up the byte holding the flag for this signal |
25399 | BIT n,A | Return with the zero flag reset if the signal has been raised |
25401 | RET |
Prev: 25373 | Up: Map | Next: 25402 |