C234: Routine at C234
C234 |
CALL $C305 |
C237 |
LD A,$00 |
C239 |
LD ($C2B4),A |
C23C |
LD A,C |
C23D |
ADD A,L |
C23E |
DEC A |
C23F |
CP $40 |
C241 |
JP C,$C257 |
C244 |
LD A,$40 |
C246 |
LD B,L |
C247 |
SUB C |
C248 |
LD L,A |
C249 |
LD A,B |
C24A |
SUB L |
C24B |
LD ($C2B2),A |
C24E |
LD A,H |
C24F |
LD ($C2B3),A |
C252 |
LD A,$01 |
C254 |
LD ($C2B4),A |
C257 |
LD C,H |
C258 |
LD B,L |
C259 |
LD HL,$8000 |
C25C |
ADD HL,DE |
C25D |
LD DE,$F730 |
C260 |
PUSH BC |
C261 |
PUSH HL |
C262 |
LD B,$00 |
C264 |
LDIR |
C266 |
POP HL |
C267 |
LD BC,$0020 |
C26A |
ADD HL,BC |
C26B |
POP BC |
C26C |
DJNZ $C260 |
C26E |
LD A,($C2B4) |
C271 |
AND A |
C272 |
RET Z |
C273 |
PUSH DE |
C274 |
LD A,($C2B2) |
C277 |
LD D,A |
C278 |
LD A,($C2B3) |
C27B |
LD E,A |
C27C |
CALL $C319 |
C27F |
JP $C282 |
C282 |
LD E,L |
C283 |
LD D,H |
C284 |
POP HL |
C285 |
LD A,E |
C286 |
AND $07 |
C288 |
JR Z,$C291 |
C28A |
LD B,A |
C28B |
XOR A |
C28C |
LD (HL),A |
C28D |
INC HL |
C28E |
DEC DE |
C28F |
DJNZ $C28C |
C291 |
ADD HL,DE |
C292 |
LD B,E |
C293 |
LD A,D |
C294 |
RRA |
C295 |
RR B |
C297 |
RRA |
C298 |
RR B |
C29A |
RRA |
C29B |
RR B |
C29D |
LD ($C2B0),SP |
C2A1 |
LD SP,HL |
C2A2 |
LD HL,$0000 |
C2A5 |
PUSH HL |
C2A6 |
PUSH HL |
C2A7 |
PUSH HL |
C2A8 |
PUSH HL |
C2A9 |
DJNZ $C2A5 |
C2AB |
LD SP,($C2B0) |
C2AF |
RET |
C2B0 |
DEFB $00,$00,$00,$00,$00 |