40102: Routine at 9CA6
40102 |
DEC C |
40103 |
NOP |
40104 |
LD A,R |
40106 |
LD (42565),A |
40109 |
XOR A |
40110 |
LD (39979),A |
40113 |
LD (40103),A |
40116 |
LD (43597),A |
40119 |
LD (43533),A |
40122 |
LD (43523),A |
40125 |
LD (43587),A |
40128 |
LD (43542),A |
40131 |
LD (43606),A |
40134 |
LD (43543),A |
40137 |
LD (43531),A |
40140 |
LD (43595),A |
40143 |
LD (43529),A |
40146 |
LD (43593),A |
40149 |
LD (39976),A |
40152 |
LD A,32 |
40154 |
LD (43545),A |
40157 |
LD A,60 |
40159 |
LD (43609),A |
40162 |
LD A,122 |
40164 |
LD (43544),A |
40167 |
LD (43608),A |
40170 |
LD A,23 |
40172 |
LD (43532),A |
40175 |
LD (43596),A |
40178 |
LD (43525),A |
40181 |
LD (43589),A |
40184 |
LD (43524),A |
40187 |
LD (43588),A |
40190 |
LD A,1 |
40192 |
LD (43530),A |
40195 |
LD (43594),A |
40198 |
LD A,1 |
40200 |
LD (43607),A |
40203 |
CALL 43740 |
40206 |
CALL 43786 |
40209 |
CALL 41986 |
40212 |
CALL 43763 |
40215 |
CALL 43798 |
40218 |
CALL 43810 |
40221 |
CALL 43856 |
40224 |
CALL 41986 |
40227 |
CALL 43833 |
40230 |
CALL 43868 |
40233 |
LD A,(43545) |
40236 |
LD (41073),A |
40239 |
LD A,(43609) |
40242 |
LD (41074),A |
40245 |
LD A,(43524) |
40248 |
LD D,A |
40249 |
LD HL,43277 |
40252 |
LD A,D |
40253 |
ADD A,L |
40254 |
LD L,A |
40255 |
LD A,(HL) |
40256 |
AND A |
40257 |
RET Z |
40258 |
LD A,(43539) |
40261 |
AND A |
40262 |
RET Z |
40263 |
LD A,(43542) |
40266 |
AND A |
40267 |
RET NZ |
40268 |
LD A,(43529) |
40271 |
AND A |
40272 |
RET NZ |
40273 |
LD HL,43377 |
40276 |
LD A,D |
40277 |
ADD A,L |
40278 |
LD L,A |
40279 |
LD B,(HL) |
40280 |
LD A,(43538) |
40283 |
CP B |
40284 |
RET NZ |
40285 |
LD A,(43543) |
40288 |
LD HL,43607 |
40291 |
CP (HL) |
40292 |
JR Z,40316 |
40294 |
LD A,D |
40295 |
SLA A |
40297 |
EXX |
40298 |
LD HL,43402 |
40301 |
LD B,0 |
40303 |
LD C,A |
40304 |
ADD HL,BC |
40305 |
LD A,(HL) |
40306 |
LD (41071),A |
40309 |
INC HL |
40310 |
LD A,(HL) |
40311 |
LD (41072),A |
40314 |
JR 40339 |
40316 |
LD A,D |
40317 |
SLA A |
40319 |
EXX |
40320 |
LD HL,43452 |
40323 |
LD B,0 |
40325 |
LD C,A |
40326 |
ADD HL,BC |
40327 |
LD A,(HL) |
40328 |
LD (41071),A |
40331 |
INC HL |
40332 |
LD A,(HL) |
40333 |
LD (41072),A |
40336 |
JP 40466 |
40339 |
LD A,(43602) |
40342 |
LD C,A |
40343 |
LD B,0 |
40345 |
LD HL,(41071) |
40348 |
ADD HL,BC |
40349 |
LD A,(HL) |
40350 |
EXX |
40351 |
CP 128 |
40353 |
RET Z |
40354 |
ADD A,128 |
40356 |
LD E,A |
40357 |
LD A,(43543) |
40360 |
AND A |
40361 |
JR NZ,40372 |
40363 |
LD A,(41074) |
40366 |
LD HL,41073 |
40369 |
SUB (HL) |
40370 |
JR 40379 |
40372 |
LD A,(41073) |
40375 |
LD HL,41074 |
40378 |
SUB (HL) |
40379 |
ADD A,128 |
40381 |
LD C,A |
40382 |
LD HL,46206 |
40385 |
LD A,D |
40386 |
ADD A,L |
40387 |
LD L,A |
40388 |
LD A,(HL) |
40389 |
AND A |
40390 |
JR NZ,40422 |
40392 |
LD A,C |
40393 |
CP E |
40394 |
JR C,40399 |
40396 |
JR Z,40450 |
40398 |
RET |
40399 |
LD HL,43327 |
40402 |
LD A,D |
40403 |
ADD A,L |
40404 |
LD L,A |
40405 |
LD A,(HL) |
40406 |
ADD A,C |
40407 |
CP E |
40408 |
JR NC,40450 |
40410 |
LD A,D |
40411 |
LD HL,43352 |
40414 |
ADD A,L |
40415 |
LD L,A |
40416 |
LD A,(HL) |
40417 |
ADD A,C |
40418 |
CP E |
40419 |
JR NC,40458 |
40421 |
RET |
40422 |
LD A,C |
40423 |
CP E |
40424 |
JR Z,40450 |
40426 |
RET C |
40427 |
LD A,D |
40428 |
LD HL,43327 |
40431 |
ADD A,L |
40432 |
LD L,A |
40433 |
LD A,C |
40434 |
SUB (HL) |
40435 |
CP E |
40436 |
JR C,40450 |
40438 |
LD A,D |
40439 |
LD HL,43352 |
40442 |
ADD A,L |
40443 |
LD L,A |
40444 |
LD A,C |
40445 |
SUB (HL) |
40446 |
CP E |
40447 |
JR C,40458 |
40449 |
RET |
40450 |
LD A,2 |
40452 |
LD (43528),A |
40455 |
JP 40575 |
40458 |
LD A,1 |
40460 |
LD (43528),A |
40463 |
JP 40575 |
40466 |
LD HL,(41071) |
40469 |
LD A,(43602) |
40472 |
LD C,A |
40473 |
LD B,0 |
40475 |
ADD HL,BC |
40476 |
LD A,(HL) |
40477 |
EXX |
40478 |
CP 128 |
40480 |
RET Z |
40481 |
ADD A,128 |
40483 |
LD E,A |
40484 |
LD A,(43543) |
40487 |
AND A |
40488 |
JR Z,40499 |
40490 |
LD A,(41074) |
40493 |
LD HL,41073 |
40496 |
SUB (HL) |
40497 |
JR 40506 |
40499 |
LD A,(41073) |
40502 |
LD HL,41074 |
40505 |
SUB (HL) |
40506 |
ADD A,128 |
40508 |
LD C,A |
40509 |
LD HL,46206 |
40512 |
LD A,D |
40513 |
ADD A,L |
40514 |
LD L,A |
40515 |
LD A,(HL) |
40516 |
AND A |
40517 |
JR NZ,40547 |
40519 |
LD A,C |
40520 |
CP E |
40521 |
JR Z,40450 |
40523 |
RET C |
40524 |
LD A,D |
40525 |
LD HL,43327 |
40528 |
ADD A,L |
40529 |
LD L,A |
40530 |
LD A,C |
40531 |
SUB (HL) |
40532 |
CP E |
40533 |
JR C,40450 |
40535 |
LD A,D |
40536 |
LD HL,43352 |
40539 |
ADD A,L |
40540 |
LD L,A |
40541 |
LD A,C |
40542 |
SUB (HL) |
40543 |
CP E |
40544 |
JR C,40458 |
40546 |
RET |
40547 |
LD A,C |
40548 |
CP E |
40549 |
JR Z,40450 |
40551 |
RET NC |
40552 |
LD A,D |
40553 |
LD HL,43327 |
40556 |
ADD A,L |
40557 |
LD L,A |
40558 |
LD A,(HL) |
40559 |
ADD A,C |
40560 |
CP E |
40561 |
JR NC,40450 |
40563 |
LD A,D |
40564 |
LD HL,43352 |
40567 |
ADD A,L |
40568 |
LD L,A |
40569 |
LD A,(HL) |
40570 |
ADD A,C |
40571 |
CP E |
40572 |
JR NC,40458 |
40574 |
RET |
40575 |
LD A,D |
40576 |
LD (43583),A |
40579 |
LD HL,41075 |
40582 |
LD C,A |
40583 |
LD B,0 |
40585 |
ADD HL,BC |
40586 |
LD A,(HL) |
40587 |
LD (45392),A |
40590 |
LD A,(43543) |
40593 |
LD HL,43607 |
40596 |
CP (HL) |
40597 |
JR Z,40645 |
40599 |
LD A,D |
40600 |
LD HL,46206 |
40603 |
ADD A,L |
40604 |
LD L,A |
40605 |
LD A,(HL) |
40606 |
AND A |
40607 |
JR NZ,40639 |
40609 |
LD A,D |
40610 |
CP 24 |
40612 |
JR Z,40622 |
40614 |
CP 7 |
40616 |
JR Z,40622 |
40618 |
CP 12 |
40620 |
JR NZ,40633 |
40622 |
LD A,27 |
40624 |
LD (43587),A |
40627 |
LD A,4 |
40629 |
LD (45392),A |
40632 |
RET |
40633 |
LD A,22 |
40635 |
LD (43587),A |
40638 |
RET |
40639 |
LD A,26 |
40641 |
LD (43587),A |
40644 |
RET |
40645 |
LD A,D |
40646 |
LD HL,46206 |
40649 |
ADD A,L |
40650 |
LD L,A |
40651 |
LD A,(HL) |
40652 |
AND A |
40653 |
JR Z,40639 |
40655 |
JP 40633 |