47334: Routine at B8E6
47334 |
LD DE,61536 |
47337 |
LD A,(47473) |
47340 |
AND 127 |
47342 |
LD B,A |
47343 |
LD A,(IX+12) |
47346 |
SUB B |
47347 |
CP 9 |
47349 |
JR NC,47366 |
47351 |
LD A,(IX+12) |
47354 |
SUB 11 |
47356 |
LD B,A |
47357 |
LD A,(47473) |
47360 |
AND 128 |
47362 |
OR B |
47363 |
LD (47473),A |
47366 |
LD A,(IX+2) |
47369 |
ADD A,B |
47370 |
LD C,A |
47371 |
RRA |
47372 |
RRA |
47373 |
RRA |
47374 |
AND 31 |
47376 |
ADD A,E |
47377 |
LD E,A |
47378 |
LD A,C |
47379 |
AND 7 |
47381 |
LD HL,47465 |
47384 |
CALL PrintLine_9 |
47387 |
LD A,(DE) |
47388 |
AND (HL) |
47389 |
LD (DE),A |
47390 |
LD A,(IX+2) |
47393 |
LD E,A |
47394 |
LD A,(IX+12) |
47397 |
ADD A,E |
47398 |
SUB B |
47399 |
DEC A |
47400 |
LD C,A |
47401 |
RRA |
47402 |
RRA |
47403 |
RRA |
47404 |
AND 31 |
47406 |
ADD A,96 |
47408 |
LD E,A |
47409 |
LD A,C |
47410 |
AND 7 |
47412 |
LD HL,47465 |
47415 |
CALL PrintLine_9 |
47418 |
LD A,(DE) |
47419 |
AND (HL) |
47420 |
LD (DE),A |
47421 |
LD A,(47473) |
47424 |
BIT 7,A |
47426 |
RES 7,A |
47428 |
JR Z,47441 |
47430 |
DEC A |
47431 |
CP 9 |
47433 |
JR Z,47451 |
47435 |
OR 128 |
47437 |
LD (47473),A |
47440 |
RET |
47441 |
INC A |
47442 |
LD B,A |
47443 |
LD A,(IX+12) |
47446 |
SUB B |
47447 |
CP 10 |
47449 |
JR NZ,47460 |
47451 |
LD A,(47473) |
47454 |
XOR 128 |
47456 |
LD (47473),A |
47459 |
RET |
47460 |
LD A,B |
47461 |
LD (47473),A |
47464 |
RET |
47465 |
LD A,A |
47466 |
CP A |
47467 |
RST 24 |
47468 |
RST 40 |
47469 |
RST 48 |
47470 |
EI |
47471 |
DEFB 253 |
47472 |
CP 14 |
47474 |
NOP |
47475 |
LD BC,29498 |
47478 |
CP C |
47479 |
AND A |
47480 |
RET NZ |
47481 |
LD DE,47497 |
47484 |
LD B,2 |
47486 |
CALL 46998 |
47489 |
LD D,0 |
47491 |
CALL 38867 |
47494 |
JP 38829 |