mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-20 01:29:36 +00:00
peasant: ending: only play music if mockingboard detected
This commit is contained in:
parent
6ac8e4d131
commit
51e28a622e
|
@ -13,8 +13,6 @@
|
||||||
|
|
||||||
ending:
|
ending:
|
||||||
|
|
||||||
jsr mockingboard_setup_interrupt
|
|
||||||
|
|
||||||
jsr hgr_make_tables
|
jsr hgr_make_tables
|
||||||
|
|
||||||
jsr hgr2
|
jsr hgr2
|
||||||
|
@ -35,7 +33,12 @@ ending:
|
||||||
; reset to beginning of song
|
; reset to beginning of song
|
||||||
; and start interrupts
|
; and start interrupts
|
||||||
|
|
||||||
; FIXME: only if mockingboard enabled
|
; only if mockingboard enabled
|
||||||
|
lda SOUND_STATUS
|
||||||
|
and #SOUND_MOCKINGBOARD
|
||||||
|
beq skip_end_music
|
||||||
|
|
||||||
|
jsr mockingboard_setup_interrupt
|
||||||
|
|
||||||
lda #$09 ; don't end after 4
|
lda #$09 ; don't end after 4
|
||||||
sta PT3_LOC+$C9+$4
|
sta PT3_LOC+$C9+$4
|
||||||
|
@ -47,7 +50,7 @@ ending:
|
||||||
jsr pt3_init_song
|
jsr pt3_init_song
|
||||||
|
|
||||||
cli
|
cli
|
||||||
|
skip_end_music:
|
||||||
|
|
||||||
;=====================
|
;=====================
|
||||||
;=====================
|
;=====================
|
||||||
|
|
Loading…
Reference in New Issue
Block a user