Prev: AE3C Up: Map Next: AEA3
AE6E: Routine at AE6E
Used by the routine at AE3C.
AE6E PUSH HL Stash HL, BC and DE on the stack.
AE6F PUSH BC
AE70 PUSH DE
AE71 LD B,(IX+$00) B=*IX+00.
AE74 INC IX Increment IX by one.
AE76 PUSH BC Stash BC on the stack.
AE77 CALL $AEA3 Call AEA3.
AE7A LD A,(IX+$00) A=*IX+00.
AE7D CALL $AEAF Call AEAF.
AE80 LD DE,($AF5D) DE=*AF5D.
AE84 CALL CalculateScreenBuffer Call CalculateScreenBuffer.
AE87 LD A,(IX+$01) A=*IX+01.
AE8A INC IX Increment IX by two.
AE8C INC IX
AE8E CALL $AEC3 Call AEC3.
AE91 CALL $AECC Call AECC.
AE94 LD BC,$03E8 BC=03E8.
AE97 DEC BC Decrease BC by one.
AE98 LD A,B Jump back to AE97 until BC is zero.
AE99 OR C
AE9A JR NZ,$AE97
AE9C POP BC Restore BC from the stack.
AE9D DJNZ $AE76 Decrease counter by one and loop back to AE76 until counter is zero.
AE9F POP DE Restore DE, BC and HL from the stack.
AEA0 POP BC
AEA1 POP HL
AEA2 RET Return.
Prev: AE3C Up: Map Next: AEA3