Prev: 56265 Up: Map Next: 56375
56358: Handler: Event Timer
Used by the routines at Dispatch_Handlers and Handler_Combination.
Counts *EventTimer down and fires *PendingEvent through Dispatch_Events.
Return unless a timer is running.
Handler_EventTimer 56358 LD A,(25759) Return if *EventTimer is zero.
56361 OR A
56362 RET Z
Count down and fire when it hits zero.
56363 DEC A Decrease *EventTimer by one.
56364 LD (25759),A
56367 OR A Return if the timer is still running.
56368 RET NZ
56369 LD A,(25760) Jump to Dispatch_Events with *PendingEvent.
56372 JP Dispatch_Events
Prev: 56265 Up: Map Next: 56375