Prev: A491 Up: Map Next: A4D4
A4AB: Routine at A4AB
Used by the routine at 9D42.
A4AB LD B,$03 B=03.
A4AD PUSH BC Stash BC, HL and DE on the stack.
A4AE PUSH HL
A4AF PUSH DE
A4B0 CALL $A4BE Call A4BE.
A4B3 POP DE Restore DE and HL from the stack.
A4B4 POP HL
A4B5 LD BC,$0018 BC=0018.
A4B8 ADD HL,BC HL+=BC.
A4B9 INC D Increment D by one.
A4BA POP BC Restore BC from the stack.
A4BB DJNZ $A4AD Decrease counter by one and loop back to A4AD until counter is zero.
A4BD RET Return.
A4BE PUSH HL Stash HL on the stack.
A4BF CALL CalculateDartBoardAddress Call CalculateDartBoardAddress.
A4C2 EX DE,HL Exchange the DE and HL registers.
A4C3 POP HL Restore HL from the stack.
A4C4 EX DE,HL Exchange the DE and HL registers.
A4C5 LD B,$08 B=08.
A4C7 PUSH BC Stash BC and HL on the stack.
A4C8 PUSH HL
A4C9 LD BC,$0003 BC=0003.
A4CC LDIR LDIR.
A4CE POP HL Restore HL from the stack.
A4CF INC H Increment H by one.
A4D0 POP BC Restore BC from the stack.
A4D1 DJNZ $A4C7 Decrease counter by one and loop back to A4C7 until counter is zero.
A4D3 RET Return.
Prev: A491 Up: Map Next: A4D4