Prev: B1AE Up: Map Next: B1FA
B1E5: Put a lower half under its upper half
Used by the routine at LOWER_HALF.
Copies U and V from the record before, and puts Z 12 below it: the height of one piece.
Input
IX the lower half; the upper half's record is 32 bytes below it
PUT_UNDER_UPPER B1E5 LD A,(IX-$1F) U and V as the upper half's
B1E8 LD (IX+$01),A
B1EB LD A,(IX-$1E)
B1EE LD (IX+$02),A
B1F1 LD A,(IX-$1D) Z 12 lower
B1F4 SUB $0C
B1F6 LD (IX+$03),A
B1F9 RET
Prev: B1AE Up: Map Next: B1FA