58254: Routine at 58254
L58254 |
58254 |
BIT 0,B |
|
58256 |
JR NZ,L58254_2 |
|
58258 |
LD A,(IX+2) |
|
58261 |
LD C,0 |
|
58263 |
RLCA |
|
58264 |
RLCA |
|
58265 |
LD (IX+2),A |
|
58268 |
RET NC |
L58254_0 |
58269 |
LD A,(IX+0) |
|
58272 |
AND 224 |
|
58274 |
LD C,A |
|
58275 |
LD A,(IX+0) |
|
58278 |
DEC A |
|
58279 |
AND 31 |
|
58281 |
CP 4 |
|
58283 |
JR Z,L58254_1 |
|
58285 |
OR C |
|
58286 |
LD (IX+0),A |
|
58289 |
RET |
L58254_1 |
58290 |
LD A,30 |
|
58292 |
OR C |
|
58293 |
LD (IX+0),A |
|
58296 |
CALL L58863 |
|
58299 |
AND 15 |
|
58301 |
LD (IX+1),A |
|
58304 |
RET |
L58254_2 |
58305 |
LD A,(IX+2) |
|
58308 |
LD C,0 |
|
58310 |
RLC A |
|
58312 |
LD (IX+2),A |
|
58315 |
RET NC |
|
58316 |
JP L58254_0 |