mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-20 03:35:24 +00:00
duke: adjust sound effects a bit
This commit is contained in:
parent
e48ce18f4e
commit
dccc1b3a23
@ -62,7 +62,7 @@ duke_start:
|
||||
jsr update_status_bar
|
||||
|
||||
;====================================
|
||||
; load level1 background
|
||||
; load level2 background
|
||||
;====================================
|
||||
|
||||
lda #<level2_bg_lzsa
|
||||
@ -99,9 +99,13 @@ duke_start:
|
||||
;====================================
|
||||
;====================================
|
||||
|
||||
jsr setup_music
|
||||
jsr setup_music
|
||||
|
||||
lda SOUND_STATUS
|
||||
bmi skip_music
|
||||
|
||||
cli ; start music
|
||||
skip_music:
|
||||
|
||||
duke_loop:
|
||||
|
||||
@ -181,6 +185,8 @@ done_with_duke:
|
||||
lda #LOAD_TITLE
|
||||
sta WHICH_LOAD
|
||||
|
||||
sei ; stop music
|
||||
|
||||
rts ; exit back
|
||||
|
||||
|
||||
|
@ -5,7 +5,7 @@ jump_noise:
|
||||
lda SOUND_STATUS
|
||||
bmi done_jump_noise
|
||||
|
||||
bit $C030
|
||||
; bit $C030
|
||||
|
||||
done_jump_noise:
|
||||
rts
|
||||
@ -18,8 +18,15 @@ head_noise:
|
||||
lda SOUND_STATUS
|
||||
bmi done_head_noise
|
||||
|
||||
bit $C030
|
||||
bit $C030
|
||||
lda #NOTE_D3
|
||||
sta speaker_frequency
|
||||
lda #5
|
||||
sta speaker_duration
|
||||
jsr speaker_tone
|
||||
|
||||
|
||||
; bit $C030
|
||||
; bit $C030
|
||||
|
||||
done_head_noise:
|
||||
rts
|
||||
@ -32,7 +39,7 @@ land_noise:
|
||||
lda SOUND_STATUS
|
||||
bmi done_land_noise
|
||||
|
||||
bit $C030
|
||||
; bit $C030
|
||||
|
||||
done_land_noise:
|
||||
rts
|
||||
|
Loading…
Reference in New Issue
Block a user