B15A: Routine at B15A
B15A |
AND A |
B15B |
RET Z |
B15C |
LD C,A |
B15D |
LD A,($B2FA) |
B160 |
AND A |
B161 |
LD A,C |
B162 |
RET Z |
B163 |
DEC A |
B164 |
ADD A,A |
B165 |
LD C,A |
B166 |
LD B,$00 |
B168 |
LD HL,$B144 |
B16B |
ADD HL,BC |
B16C |
LD E,(HL) |
B16D |
INC HL |
B16E |
LD D,(HL) |
B16F |
EX DE,HL |
B170 |
CALL $B178 |
B173 |
XOR A |
B174 |
LD ($B150),A |
B177 |
RET |
B178 |
JP (HL) |
B179 |
LD A,$7F |
B17B |
LD DE,$000A |
B17E |
LD HL,$0400 |
B181 |
CALL $B25B |
B184 |
RET |
B185 |
LD A,$3F |
B187 |
LD DE,$000A |
B18A |
LD HL,$0300 |
B18D |
CALL $B297 |
B190 |
RET |
B191 |
LD A,$3F |
B193 |
LD DE,$00C0 |
B196 |
LD HL,$0100 |
B199 |
CALL $B297 |
B19C |
RET |
B19D |
LD DE,$0308 |
B1A0 |
PUSH DE |
B1A1 |
CALL $B22D |
B1A4 |
LD B,$00 |
B1A6 |
DEC BC |
B1A7 |
LD A,B |
B1A8 |
OR C |
B1A9 |
JR NZ,$B1A6 |
B1AB |
CALL $B244 |
B1AE |
LD B,$00 |
B1B0 |
DEC BC |
B1B1 |
LD A,B |
B1B2 |
OR C |
B1B3 |
JR NZ,$B1B0 |
B1B5 |
DEC E |
B1B6 |
JR NZ,$B1A1 |
B1B8 |
POP DE |
B1B9 |
DEC D |
B1BA |
JR NZ,$B1A0 |
B1BC |
LD DE,$0208 |
B1BF |
PUSH DE |
B1C0 |
CALL $B22D |
B1C3 |
DEC BC |
B1C4 |
NOP |
B1C5 |
LD A,B |
B1C6 |
OR C |
B1C7 |
JR NZ,$B1C3 |
B1C9 |
CALL $B244 |
B1CC |
DEC BC |
B1CD |
NOP |
B1CE |
LD A,B |
B1CF |
OR C |
B1D0 |
JR NZ,$B1CC |
B1D2 |
DEC E |
B1D3 |
JR NZ,$B1C0 |
B1D5 |
POP DE |
B1D6 |
DEC D |
B1D7 |
JR NZ,$B1BF |
B1D9 |
LD DE,$0208 |
B1DC |
PUSH DE |
B1DD |
CALL $B22D |
B1E0 |
DEC BC |
B1E1 |
NOP |
B1E2 |
NOP |
B1E3 |
NOP |
B1E4 |
LD A,B |
B1E5 |
OR C |
B1E6 |
JR NZ,$B1E0 |
B1E8 |
CALL $B244 |
B1EB |
DEC BC |
B1EC |
NOP |
B1ED |
NOP |
B1EE |
NOP |
B1EF |
LD A,B |
B1F0 |
OR C |
B1F1 |
JR NZ,$B1EB |
B1F3 |
DEC E |
B1F4 |
JR NZ,$B1DD |
B1F6 |
POP DE |
B1F7 |
DEC D |
B1F8 |
JR NZ,$B1DC |
B1FA |
RET |
B1FB |
LD A,$FF |
B1FD |
LD DE,$00E0 |
B200 |
LD HL,$0120 |
B203 |
CALL $B297 |
B206 |
LD HL,$2000 |
B209 |
LD ($B151),HL |
B20C |
CALL $B2F0 |
B20F |
LD HL,$FFFF |
B212 |
LD ($B151),HL |
B215 |
LD A,$FF |
B217 |
LD DE,$03C0 |
B21A |
LD HL,$0400 |
B21D |
CALL $B297 |
B220 |
RET |
B221 |
LD A,$3F |
B223 |
LD DE,$0080 |
B226 |
LD HL,$0100 |
B229 |
CALL $B297 |
B22C |
RET |
B22D |
LD A,($B159) |
B230 |
AND $1F |
B232 |
OUT ($FE),A |
B234 |
CALL $B2D7 |
B237 |
LD A,($B153) |
B23A |
LD C,A |
B23B |
LD A,($B154) |
B23E |
OR C |
B23F |
LD C,A |
B240 |
AND $01 |
B242 |
LD B,A |
B243 |
RET |
B244 |
LD A,($B159) |
B247 |
AND $07 |
B249 |
OUT ($FE),A |
B24B |
CALL $B2D7 |
B24E |
LD A,($B153) |
B251 |
LD C,A |
B252 |
LD A,($B154) |
B255 |
OR C |
B256 |
LD C,A |
B257 |
AND $01 |
B259 |
LD B,A |
B25A |
RET |
B25B |
LD ($B156),HL |
B25E |
LD ($B158),A |
B261 |
LD A,($B158) |
B264 |
LD H,A |
B265 |
LD A,(DE) |
B266 |
INC DE |
B267 |
AND H |
B268 |
JR NZ,$B26B |
B26A |
INC A |
B26B |
LD B,A |
B26C |
LD A,($B159) |
B26F |
AND $1F |
B271 |
OUT ($FE),A |
B273 |
NOP |
B274 |
NOP |
B275 |
NOP |
B276 |
NOP |
B277 |
DJNZ $B273 |
B279 |
LD A,(DE) |
B27A |
INC DE |
B27B |
AND H |
B27C |
JR NZ,$B27F |
B27E |
INC A |
B27F |
LD B,A |
B280 |
LD A,($B159) |
B283 |
AND $07 |
B285 |
OUT ($FE),A |
B287 |
NOP |
B288 |
NOP |
B289 |
NOP |
B28A |
NOP |
B28B |
DJNZ $B287 |
B28D |
LD HL,($B156) |
B290 |
AND A |
B291 |
SBC HL,DE |
B293 |
RET Z |
B294 |
JR NC,$B261 |
B296 |
RET |
B297 |
LD ($B156),HL |
B29A |
LD ($B158),A |
B29D |
LD A,($B158) |
B2A0 |
LD H,A |
B2A1 |
LD A,(DE) |
B2A2 |
INC DE |
B2A3 |
AND H |
B2A4 |
JR NZ,$B2A7 |
B2A6 |
INC A |
B2A7 |
LD B,A |
B2A8 |
LD A,($B159) |
B2AB |
AND $1F |
B2AD |
OUT ($FE),A |
B2AF |
NOP |
B2B0 |
NOP |
B2B1 |
NOP |
B2B2 |
NOP |
B2B3 |
NOP |
B2B4 |
NOP |
B2B5 |
DJNZ $B2AF |
B2B7 |
LD A,(DE) |
B2B8 |
INC DE |
B2B9 |
AND H |
B2BA |
JR NZ,$B2BD |
B2BC |
INC A |
B2BD |
LD B,A |
B2BE |
LD A,($B159) |
B2C1 |
AND $07 |
B2C3 |
OUT ($FE),A |
B2C5 |
NOP |
B2C6 |
NOP |
B2C7 |
NOP |
B2C8 |
NOP |
B2C9 |
NOP |
B2CA |
NOP |
B2CB |
DJNZ $B2C5 |
B2CD |
LD HL,($B156) |
B2D0 |
AND A |
B2D1 |
SBC HL,DE |
B2D3 |
RET Z |
B2D4 |
JR NC,$B29D |
B2D6 |
RET |
B2D7 |
PUSH HL |
B2D8 |
LD A,($B154) |
B2DB |
RLA |
B2DC |
LD L,A |
B2DD |
LD A,($B155) |
B2E0 |
XOR L |
B2E1 |
RLA |
B2E2 |
RLA |
B2E3 |
LD HL,$B153 |
B2E6 |
RR (HL) |
B2E8 |
INC HL |
B2E9 |
RR (HL) |
B2EB |
INC HL |
B2EC |
RR (HL) |
B2EE |
POP HL |
B2EF |
RET |
B2F0 |
LD BC,($B151) |
B2F4 |
DEC BC |
B2F5 |
LD A,B |
B2F6 |
OR C |
B2F7 |
JR NZ,$B2F4 |
B2F9 |
RET |