Prev: FB99 Up: Map Next: FC14
FBC8: Services sound each frame and keeps the options-menu tune looping
Runs one frame of the SFX/music service (titlescr_music) and, if no tune is currently active, restarts tune 0.
run_title_tune FBC8 CALL titlescr_music
FBCB LD A,($F223)
FBCE AND A
FBCF RET NZ
FBD0 XOR A
FBD1 JP titlescr_start_tune
This entry point is used by the routine at options_menu_driver.
run_title_tune_0 FBD4 LD HL,$FFE5
FBD7 JR run_title_tune_2
This entry point is used by the routine at options_menu_driver.
run_title_tune_1 FBD9 LD HL,$FFEA
run_title_tune_2 FBDC LD DE,$FFF7
FBDF LD BC,$0005
FBE2 LDIR
This entry point is used by the routine at options_menu_driver.
run_title_tune_3 FBE4 XOR A
This entry point is used by the routine at detect_kempston_joystick.
run_title_tune_4 FBE5 LD HL,$FFFC
FBE8 LD DE,($8008)
FBEC LD (DE),A
FBED INC DE
FBEE LD BC,$0003
FBF1 LDIR
FBF3 LD HL,$FFF7
FBF6 LD C,$05
FBF8 LDIR
FBFA CALL clear_options_screen
run_title_tune_5 FBFD CALL run_title_tune
FC00 XOR A
FC01 IN A,($FE)
FC03 CPL
FC04 AND $1F
FC06 JR NZ,run_title_tune_5
FC08 CALL stop_music_and_silence
FC0B LD A,$01
FC0D LD ($8001),A
FC10 DI
FC11 JP run_title_screen
Prev: FB99 Up: Map Next: FC14