64385: Play Theme Tune
PlayThemeTune |
64385 |
LD HL,64341 |
|
64388 |
CALL 64350 |
|
64391 |
LD (64338),A |
|
64394 |
LD HL,64345 |
|
64397 |
CALL 64350 |
|
64400 |
LD (64339),A |
|
64403 |
LD HL,64338 |
|
64406 |
CALL 64363 |
|
64409 |
RL E |
|
64411 |
JP C,64580 |
|
64414 |
PUSH HL |
|
64415 |
LD HL,64339 |
|
64418 |
CALL 64363 |
|
64421 |
POP DE |
|
64422 |
LD A,H |
|
64423 |
DEC A |
|
64424 |
JR NZ,PlayThemeTune_0 |
|
64426 |
LD A,D |
|
64427 |
DEC A |
|
64428 |
JR Z,PlayThemeTune_6 |
PlayThemeTune_0 |
64430 |
LD A,(64349) |
|
64433 |
LD C,A |
|
64434 |
LD B,0 |
|
64436 |
LD A,(64340) |
|
64439 |
EX AF,AF' |
|
64440 |
LD A,(64340) |
|
64443 |
LD IXh,D |
|
64445 |
LD D,16 |
PlayThemeTune_1 |
64447 |
NOP |
|
64448 |
NOP |
PlayThemeTune_2 |
64449 |
EX AF,AF' |
|
64450 |
DEC E |
|
64451 |
OUT (254),A |
|
64453 |
JR NZ,PlayThemeTune_4 |
|
64455 |
LD E,IXh |
|
64457 |
XOR D |
|
64458 |
EX AF,AF' |
|
64459 |
DEC L |
|
64460 |
JP NZ,PlayThemeTune_5 |
PlayThemeTune_3 |
64463 |
OUT (254),A |
|
64465 |
LD L,H |
|
64466 |
XOR D |
|
64467 |
DJNZ PlayThemeTune_1 |
|
64469 |
INC C |
|
64470 |
JP NZ,PlayThemeTune_2 |
|
64473 |
RET |
|
64474 |
LD H,C |
|
64475 |
LD H,H |
|
64476 |
LD H,C |
|
64477 |
LD L,L |
PlayThemeTune_4 |
64478 |
JR Z,PlayThemeTune_4 |
|
64480 |
EX AF,AF' |
|
64481 |
DEC L |
|
64482 |
JP Z,PlayThemeTune_3 |
PlayThemeTune_5 |
64485 |
OUT (254),A |
|
64487 |
NOP |
|
64488 |
NOP |
|
64489 |
DJNZ PlayThemeTune_1 |
|
64491 |
INC C |
|
64492 |
JP NZ,PlayThemeTune_2 |
|
64495 |
RET |
PlayThemeTune_6 |
64496 |
LD A,(64349) |
|
64499 |
CPL |
|
64500 |
LD C,A |
PlayThemeTune_7 |
64501 |
PUSH BC |
|
64502 |
PUSH AF |
|
64503 |
LD B,0 |
PlayThemeTune_8 |
64505 |
PUSH HL |
|
64506 |
LD HL,0 |
|
64509 |
SRA (HL) |
|
64511 |
SRA (HL) |
|
64513 |
SRA (HL) |
|
64515 |
NOP |
|
64516 |
POP HL |
|
64517 |
DJNZ PlayThemeTune_8 |
|
64519 |
DEC C |
|
64520 |
JP NZ,PlayThemeTune_8 |
|
64523 |
POP AF |
|
64524 |
POP BC |
|
64525 |
RET |