B2F5: Routine at B2F5
B2F5 |
DEC (HL) |
B2F6 |
LD HL,$5800 |
B2F9 |
DEC (HL) |
B2FA |
BIT 3,(HL) |
B2FC |
JP NZ,$B30A |
B2FF |
LD DE,$5801 |
B302 |
LD BC,$02FF |
B305 |
LDIR |
B307 |
JP $B2F6 |
B30A |
INC (HL) |
B30B |
DEC A |
B30C |
JP NZ,$B2D5 |
B30F |
LD HL,$5800 |
B312 |
LD DE,$5801 |
B315 |
LD (HL),$44 |
B317 |
LD BC,$02FF |
B31A |
LDIR |
B31C |
LD A,$08 |
B31E |
LD HL,$57FF |
B321 |
SRL (HL) |
B323 |
DEC HL |
B324 |
SLA (HL) |
B326 |
DEC HL |
B327 |
SRL (HL) |
B329 |
DEC HL |
B32A |
BIT 3,H |
B32C |
JP NZ,$B321 |
B32F |
BIT 4,H |
B331 |
JP NZ,$B321 |
B334 |
LD HL,$0000 |
B337 |
LD DE,$0000 |
B33A |
LD BC,$4E20 |
B33D |
LDIR |
B33F |
DEC A |
B340 |
JP NZ,$B31E |
B343 |
JP $B3FB |
B346 |
LD HL,$C7B0 |
B349 |
LD ($FE42),HL |
B34C |
LD HL,$CA5E |
B34F |
LD ($FE46),HL |
B352 |
LD HL,($FE5E) |
B355 |
LD ($FE4A),HL |
B358 |
LD HL,($FE60) |
B35B |
LD ($FE4C),HL |
B35E |
LD HL,$DD06 |
B361 |
LD ($FE32),HL |
B364 |
LD HL,$DDB6 |
B367 |
LD ($FE36),HL |
B36A |
LD A,($FE62) |
B36D |
LD L,A |
B36E |
LD A,$1A |
B370 |
CALL $88EA |
B373 |
LD HL,($FE32) |
B376 |
LD ($FE34),HL |
B379 |
LD HL,$C814 |
B37C |
LD ($FE32),HL |
B37F |
LD HL,$DEC4 |
B382 |
LD ($FE38),HL |
B385 |
LD HL,$DEFC |
B388 |
LD ($FE3A),HL |
B38B |
LD A,$16 |
B38D |
CALL $8660 |
B390 |
LD A,C |
B391 |
AND A |
B392 |
RET NZ |
B393 |
LD HL,$C602 |
B396 |
LD ($FE02),HL |
B399 |
CALL $805C |
B39C |
LD HL,$C7E4 |
B39F |
LD ($FE42),HL |
B3A2 |
LD HL,$CA5E |
B3A5 |
LD ($FE46),HL |
B3A8 |
LD HL,($FE8E) |
B3AB |
LD ($FE4A),HL |
B3AE |
LD HL,($FE90) |
B3B1 |
LD ($FE4C),HL |
B3B4 |
LD HL,$DD00 |
B3B7 |
LD ($FE32),HL |
B3BA |
LD HL,$DDB0 |
B3BD |
LD ($FE36),HL |
B3C0 |
LD A,($FE92) |
B3C3 |
LD L,A |
B3C4 |
LD A,$17 |
B3C6 |
CALL $88EA |
B3C9 |
LD HL,($FE32) |
B3CC |
LD ($FE34),HL |
B3CF |
LD HL,$C848 |
B3D2 |
LD ($FE32),HL |
B3D5 |
LD HL,$DEBE |
B3D8 |
LD ($FE38),HL |
B3DB |
LD HL,$DEF6 |
B3DE |
LD ($FE3A),HL |
B3E1 |
LD A,$13 |
B3E3 |
CALL $8660 |
B3E6 |
LD A,C |
B3E7 |
AND A |
B3E8 |
RET NZ |
B3E9 |
CALL $805C |
B3EC |
CALL $8C3C |
B3EF |
LD A,$FD |
B3F1 |
IN A,($FE) |
B3F3 |
AND $02 |
B3F5 |
RET NZ |
B3F6 |
POP HL |
B3F7 |
POP HL |
B3F8 |
JP $B0BC |
B3FB |
LD HL,$0000 |
B3FE |
LD ($FE8E),HL |
B401 |
LD ($FE5E),HL |
B404 |
SUB A |
B405 |
LD ($FE62),A |
B408 |
LD A,$40 |
B40A |
LD ($FE92),A |
B40D |
LD HL,$0000 |
B410 |
LD ($FE60),HL |
B413 |
LD ($FE90),HL |
B416 |
LD B,$18 |
B418 |
LD A,($FE62) |
B41B |
ADD A,$10 |
B41D |
LD ($FE62),A |
B420 |
ADD A,$40 |
B422 |
LD ($FE92),A |
B425 |
LD HL,($FE60) |
B428 |
LD DE,$0032 |
B42B |
ADD HL,DE |
B42C |
LD ($FE60),HL |
B42F |
LD ($FE90),HL |
B432 |
PUSH BC |
B433 |
CALL $B346 |
B436 |
POP BC |
B437 |
DJNZ $B418 |
B439 |
LD B,$08 |
B43B |
LD A,($FE62) |
B43E |
ADD A,$10 |
B440 |
LD ($FE62),A |
B443 |
ADD A,$40 |
B445 |
LD ($FE92),A |
B448 |
PUSH BC |
B449 |
CALL $B346 |
B44C |
POP BC |
B44D |
DJNZ $B43B |
B44F |
LD B,$10 |
B451 |
LD A,($FE62) |
B454 |
ADD A,$10 |
B456 |
LD ($FE62),A |
B459 |
LD A,($FE92) |
B45C |
ADD A,$0C |
B45E |
LD ($FE92),A |
B461 |
LD HL,($FE5E) |
B464 |
INC HL |
B465 |
INC HL |
B466 |
LD ($FE5E),HL |
B469 |
LD HL,($FE8E) |
B46C |
DEC HL |
B46D |
DEC HL |
B46E |
DEC HL |
B46F |
DEC HL |
B470 |
LD ($FE8E),HL |
B473 |
PUSH BC |
B474 |
CALL $B346 |
B477 |
POP BC |
B478 |
DJNZ $B451 |
B47A |
LD HL,$0000 |
B47D |
LD DE,$0000 |
B480 |
LD BC,$0000 |
B483 |
LDIR |
B485 |
LDIR |
B487 |
LDIR |
B489 |
JP $B4B2 |
B48C |
LD B,$20 |
B48E |
LD HL,$C5DA |
B491 |
LD A,(HL) |
B492 |
INC HL |
B493 |
PUSH HL |
B494 |
PUSH BC |
B495 |
RST $10 |
B496 |
POP BC |
B497 |
POP HL |
B498 |
DJNZ $B491 |
B49A |
LD BC,$5015 |
B49D |
LD A,$01 |
B49F |
CALL $948C |
B4A2 |
LD A,$09 |
B4A4 |
CALL $948C |
B4A7 |
LD A,$08 |
B4A9 |
CALL $948C |
B4AC |
LD A,$04 |
B4AE |
CALL $948C |
B4B1 |
RET |
B4B2 |
CALL $B48C |
B4B5 |
LD HL,$0000 |
B4B8 |
LD DE,$0000 |
B4BB |
LD BC,$0000 |
B4BE |
LDIR |
B4C0 |
LDIR |
B4C2 |
LDIR |
B4C4 |
LD HL,$4000 |
B4C7 |
LD DE,$4001 |
B4CA |
LD BC,$07FF |
B4CD |
LDIR |
B4CF |
LD B,$48 |
B4D1 |
LD HL,($FE60) |
B4D4 |
LD DE,$00C8 |
B4D7 |
ADD HL,DE |
B4D8 |
LD ($FE60),HL |
B4DB |
LD HL,($FE90) |
B4DE |
ADD HL,DE |
B4DF |
LD ($FE90),HL |
B4E2 |
LD A,($FE62) |
B4E5 |
SUB $08 |
B4E7 |
LD ($FE62),A |
B4EA |
LD A,($FE92) |
B4ED |
ADD A,$08 |
B4EF |
LD ($FE92),A |
B4F2 |
PUSH BC |
B4F3 |
CALL $B346 |
B4F6 |
CALL $B48C |
B4F9 |
POP BC |
B4FA |
DJNZ $B4D1 |
B4FC |
LD HL,$4000 |
B4FF |
LD DE,$4001 |
B502 |
LD BC,$17FF |
B505 |
LD (HL),$00 |
B507 |
LDIR |
B509 |
LD A,$80 |
B50B |
LD ($FEEC),A |
B50E |
LD A,$C9 |
B510 |
LD ($8C3C),A |
B513 |
SUB A |
B514 |
LD ($960D),A |
B517 |
CALL $956A |
B51A |
LD A,$21 |
B51C |
LD ($8C3C),A |
B51F |
CALL $8C5E |
B522 |
LD A,$43 |
B524 |
LD ($960D),A |
B527 |
LD HL,$4000 |
B52A |
LD DE,$4001 |
B52D |
LD BC,$1800 |
B530 |
LD (HL),$00 |
B532 |
LDIR |
B534 |
LD BC,$00A0 |
B537 |
LDIR |
B539 |
LD (HL),$44 |
B53B |
LD BC,$0260 |
B53E |
LDIR |
B540 |
CALL $8C3C |
B543 |
LD HL,$1000 |
B546 |
LD ($FE5E),HL |
B549 |
LD HL,$2800 |
B54C |
LD ($FE60),HL |
B54F |
LD HL,$00C0 |
B552 |
LD ($FE62),HL |
B555 |
LD A,$40 |
B557 |
LD ($FE66),A |
B55A |
JP $B587 |