Prev: A7EB Up: Map Next: A82F
A80E: Routine at A80E
Used by the routine at A709.
A80E PUSH DE Stash DE on the stack.
A80F CALL $A7D0 Call A7D0.
A812 POP DE Restore DE from the stack.
A813 LD A,$50 A=50.
This entry point is used by the routine at D405.
A815 PUSH AF Stash AF on the stack.
A816 LD A,D A=D.
A817 AND %00001111 Keep only bits 0-3.
A819 LD D,A D=A.
A81A POP AF Restore AF from the stack.
A81B OR D Set the bits from D.
A81C LD D,A D=A.
A81D AND %00001111 Keep only bits 0-3.
A81F OR E Set the bits from E.
A820 RET Z Return if the result is zero.
A821 CALL $A887 Call A887.
A824 LD A,($A7EA) A=*A7EA.
A827 PUSH HL Stash HL on the stack.
A828 LD HL,$A026 HL=A026.
A82B OR (HL) Set the bits from *HL.
A82C LD (HL),A Write A to *HL.
A82D POP HL Restore HL from the stack.
A82E RET Return.
Prev: A7EB Up: Map Next: A82F