Prev: $31C4 Up: Map Next: $31DF
$31D2: Check whether a signal has been raised
Used by the routines at $0B3B, $149F, $1A04, $1EE3, $1F4D and $28AB.
Input
A Event identifier
Output
P Carry flag set if the signal has been raised
$31D2 TAY Transfer the event identifier to Y.
$31D3 LDA #$00 Prepare to address the signal flags table at $4400.
$31D5 STA $56
$31D7 LDA #$44
$31D9 STA $57
$31DB LDA ($56),Y Pick up the status byte for the signal.
$31DD LSR A Set the carry flag if the signal has been raised.
$31DE RTS
Prev: $31C4 Up: Map Next: $31DF