49716: Routine at C234
49716 |
CALL 49925 |
49719 |
LD A,0 |
49721 |
LD (49844),A |
49724 |
LD A,C |
49725 |
ADD A,L |
49726 |
DEC A |
49727 |
CP 64 |
49729 |
JP C,49751 |
49732 |
LD A,64 |
49734 |
LD B,L |
49735 |
SUB C |
49736 |
LD L,A |
49737 |
LD A,B |
49738 |
SUB L |
49739 |
LD (49842),A |
49742 |
LD A,H |
49743 |
LD (49843),A |
49746 |
LD A,1 |
49748 |
LD (49844),A |
49751 |
LD C,H |
49752 |
LD B,L |
49753 |
LD HL,32768 |
49756 |
ADD HL,DE |
49757 |
LD DE,63280 |
49760 |
PUSH BC |
49761 |
PUSH HL |
49762 |
LD B,0 |
49764 |
LDIR |
49766 |
POP HL |
49767 |
LD BC,32 |
49770 |
ADD HL,BC |
49771 |
POP BC |
49772 |
DJNZ 49760 |
49774 |
LD A,(49844) |
49777 |
AND A |
49778 |
RET Z |
49779 |
PUSH DE |
49780 |
LD A,(49842) |
49783 |
LD D,A |
49784 |
LD A,(49843) |
49787 |
LD E,A |
49788 |
CALL 49945 |
49791 |
JP 49794 |
49794 |
LD E,L |
49795 |
LD D,H |
49796 |
POP HL |
49797 |
LD A,E |
49798 |
AND 7 |
49800 |
JR Z,49809 |
49802 |
LD B,A |
49803 |
XOR A |
49804 |
LD (HL),A |
49805 |
INC HL |
49806 |
DEC DE |
49807 |
DJNZ 49804 |
49809 |
ADD HL,DE |
49810 |
LD B,E |
49811 |
LD A,D |
49812 |
RRA |
49813 |
RR B |
49815 |
RRA |
49816 |
RR B |
49818 |
RRA |
49819 |
RR B |
49821 |
LD (49840),SP |
49825 |
LD SP,HL |
49826 |
LD HL,0 |
49829 |
PUSH HL |
49830 |
PUSH HL |
49831 |
PUSH HL |
49832 |
PUSH HL |
49833 |
DJNZ 49829 |
49835 |
LD SP,(49840) |
49839 |
RET |
49840 |
DEFB 0,0,0,0,0 |