B81C: Routine at B81C
B81C |
PUSH IX |
B81E |
PUSH BC |
B81F |
LD L,(IX+$03) |
B822 |
LD H,(IX+$04) |
B825 |
LD ($96AE),HL |
B828 |
LD L,(IX+$01) |
B82B |
LD H,$00 |
B82D |
LD BC,$6066 |
B830 |
ADD HL,BC |
B831 |
LD L,(HL) |
B832 |
LD H,$00 |
B834 |
ADD HL,HL |
B835 |
LD BC,$6166 |
B838 |
ADD HL,BC |
B839 |
LD A,(HL) |
B83A |
INC HL |
B83B |
LD H,(HL) |
B83C |
LD L,A |
B83D |
PUSH HL |
B83E |
POP IX |
B840 |
POP BC |
B841 |
PUSH IX |
B843 |
CALL $B873 |
B846 |
POP IX |
B848 |
JR NC,$B870 |
B84A |
PUSH DE |
B84B |
LD A,($96AF) |
B84E |
LD D,A |
B84F |
PUSH IX |
B851 |
CALL $B873 |
B854 |
POP IX |
B856 |
POP DE |
B857 |
JR NC,$B85D |
B859 |
LD A,($96AE) |
B85C |
LD E,A |
B85D |
PUSH DE |
B85E |
LD A,($96AE) |
B861 |
LD E,A |
B862 |
PUSH IX |
B864 |
CALL $B873 |
B867 |
POP IX |
B869 |
POP DE |
B86A |
JR NC,$B870 |
B86C |
LD A,($96AF) |
B86F |
LD D,A |
B870 |
POP IX |
B872 |
RET |