![]() |
Routines |
Prev: 25373 | Up: Map | Next: 25402 |
Used by the routines at 25303 and 32167. On entry, A holds the event identifier, which will be one of:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
25374 | PUSH AF | Save the event 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 event 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 signal flag for this event | ||||||||||||||||||||||||||||||||||||||||||||||||||
25399 | BIT n,A | Return with the zero flag reset if the signal has been raised | ||||||||||||||||||||||||||||||||||||||||||||||||||
25401 | RET |
Prev: 25373 | Up: Map | Next: 25402 |