Prev: F888 Up: Map Next: F8C0
F8AF: Bomb Timer
Used by the routine at SoundGenerator_WhiteNoise.
Output
A A random byte value taken from the ZX Spectrum ROM
BombTimer F8AF LD HL,($FE86) HL=*BombHelper.
F8B2 INC HL Increment HL by one.
F8B3 LD A,H Jump to BombTimer_Update if H is not equal to 20.
F8B4 CP $20
F8B6 JR NZ,BombTimer_Update
F8B8 LD HL,$0000 Reset HL back to 0000.
BombTimer_Update F8BB LD ($FE86),HL Write HL to *BombHelper.
F8BE LD A,(HL) A=*HL.
F8BF RET Return.
Prev: F888 Up: Map Next: F8C0