A83D: Routine at A83D
A83D |
DI |
A83E |
EXX |
A83F |
PUSH AF |
A840 |
LD ($A83B),SP |
A844 |
LD L,A |
A845 |
LD H,$00 |
A847 |
ADD HL,HL |
A848 |
ADD HL,HL |
A849 |
ADD HL,HL |
A84A |
ADD HL,HL |
A84B |
ADD HL,HL |
A84C |
LD SP,$8378 |
A84F |
ADD HL,SP |
A850 |
LD SP,HL |
A851 |
LD A,($A838) |
A854 |
LD B,A |
A855 |
AND %00000111 |
A857 |
INC A |
A858 |
LD ($A87B),A |
A85B |
LD A,B |
A85C |
AND %11111000 |
A85E |
RRCA |
A85F |
RRCA |
A860 |
RRCA |
A861 |
LD ($EFAF),A |
A864 |
ADD A,$02 |
A866 |
LD E,A |
A867 |
LD A,($A839) |
A86A |
SUB $40 |
A86C |
LD L,A |
A86D |
LD H,$00 |
A86F |
ADD HL,HL |
A870 |
ADD HL,HL |
A871 |
ADD HL,HL |
A872 |
ADD HL,HL |
A873 |
ADD HL,HL |
A874 |
LD D,$6B |
A876 |
ADD HL,DE |
A877 |
LD C,$10 |
A879 |
POP DE |
A87A |
LD B,$00 |
A87C |
DEC B |
A87D |
JR Z,$A889 |
A87F |
XOR A |
A880 |
SRL E |
A882 |
RR D |
A884 |
RRA |
A885 |
DJNZ $A880 |
A887 |
OR (HL) |
A888 |
LD (HL),A |
A889 |
DEC HL |
A88A |
LD A,(HL) |
A88B |
OR D |
A88C |
LD (HL),A |
A88D |
DEC HL |
A88E |
LD A,(HL) |
A88F |
OR E |
A890 |
LD (HL),A |
A891 |
LD DE,$0022 |
A894 |
ADD HL,DE |
A895 |
DEC C |
A896 |
JP NZ,$A879 |
A899 |
LD SP,($A83B) |
A89D |
POP AF |
A89E |
EXX |
A89F |
RET |