![]() |
Routines |
| Prev: 41747 | Up: Map | Next: 41765 |
|
Clears the four laser beam slots from Laser_Parameter_1 by writing 0 to the first byte of each 24-byte slot.
|
||||
|
See Handler_LaserBeam_FindSlot for the handler which actions "searching" for a free slot.
|
||||
| Handler_ResetLaserBeamSlots | 41751 | LD HL,24576 | HL=Laser_Parameter_1. | |
| 41754 | LD DE,24 | DE=0024. | ||
| 41757 | LD B,4 | Set a slot counter in B for 4 loops. | ||
| ResetLaserBeamSlots_Loop | 41759 | LD (HL),0 | Write 0 to *HL. | |
| 41761 | ADD HL,DE | HL=HL+DE. | ||
| 41762 | DJNZ ResetLaserBeamSlots_Loop | Decrease the counter by one and jump back to ResetLaserBeamSlots_Loop until it is zero. | ||
| 41764 | RET | Return. | ||
| Prev: 41747 | Up: Map | Next: 41765 |