44996: Routine at AFC4
44996 |
LD (IY+55),1 |
45000 |
LD A,(IY+15) |
45003 |
LD E,A |
45004 |
LD D,0 |
45006 |
LD HL,44963 |
45009 |
ADD HL,DE |
45010 |
LD A,(HL) |
45011 |
ADD A,A |
45012 |
LD E,A |
45013 |
LD HL,44943 |
45016 |
ADD HL,DE |
45017 |
LD E,(HL) |
45018 |
INC HL |
45019 |
LD D,(HL) |
45020 |
EX DE,HL |
45021 |
LD A,(IY+10) |
45024 |
CP 152 |
45026 |
JR Z,45062 |
45028 |
ADD A,32 |
45030 |
LD B,A |
45031 |
LD A,(HL) |
45032 |
CP 255 |
45034 |
RET Z |
45035 |
CP B |
45036 |
JR Z,45043 |
45038 |
INC HL |
45039 |
INC HL |
45040 |
INC HL |
45041 |
JR 45031 |
45043 |
INC HL |
45044 |
LD A,(IY+5) |
45047 |
ADD A,8 |
45049 |
SRL A |
45051 |
SRL A |
45053 |
SRL A |
45055 |
CP (HL) |
45056 |
JR C,45039 |
45058 |
INC HL |
45059 |
CP (HL) |
45060 |
JR NC,45040 |
45062 |
LD (IY+55),0 |
45066 |
RET |