Prev: 44604 Up: Map Next: 44707
44654: Routine at AE6E
Used by the routine at 44604.
44654 PUSH HL Stash HL, BC and DE on the stack.
44655 PUSH BC
44656 PUSH DE
44657 LD B,(IX+0) B=*IX+0.
44660 INC IX Increment IX by one.
44662 PUSH BC Stash BC on the stack.
44663 CALL 44707 Call 44707.
44666 LD A,(IX+0) A=*IX+0.
44669 CALL 44719 Call 44719.
44672 LD DE,(44893) DE=*44893.
On return from CalculateScreenBuffer HL will contain the screen buffer destination.
44676 CALL CalculateScreenBuffer Call CalculateScreenBuffer.
44679 LD A,(IX+1) A=*IX+1.
44682 INC IX Increment IX by two.
44684 INC IX
44686 CALL 44739 Call 44739.
44689 CALL 44748 Call 44748.
44692 LD BC,1000 BC=1000.
44695 DEC BC Decrease BC by one.
44696 LD A,B Jump back to 44695 until BC is zero.
44697 OR C
44698 JR NZ,44695
44700 POP BC Restore BC from the stack.
44701 DJNZ 44662 Decrease counter by one and loop back to 44662 until counter is zero.
44703 POP DE Restore DE, BC and HL from the stack.
44704 POP BC
44705 POP HL
44706 RET Return.
Prev: 44604 Up: Map Next: 44707