Prev: A5F4 Up: Map Next: A639
A628: Initialise drones configuration data buffer
Used by the routines at 947A and B98E.
A628 LD HL,$5E50 Set HL to point to index byte for drone configuration data buffer
A62B LD B,$08 Set B to the max number of drones to configure
A62D LD A,$00 Set A to the initial index into offset position table for this drone
A62F LD (HL),A Copy value of A to address pointed by HL
A630 LD DE,$0003 Increment address pointer by 3
A633 ADD HL,DE
A634 ADD A,$08 Increment by 8 the index into offset position table for the next drone
A636 DJNZ $A62F Jump back and init data for next drone
A638 RET
Prev: A5F4 Up: Map Next: A639