mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-10-09 11:54:59 +00:00
ds: add frame playing in crate_update_type1
This commit is contained in:
parent
5b7901d1c9
commit
95b7bb3338
@ -20,6 +20,8 @@ create_update_type1:
|
||||
sta OUTL ; 3
|
||||
lda #>UPDATE_START ; 2
|
||||
sta OUTH ; 3
|
||||
lda #19
|
||||
sta FORCE_MUSIC
|
||||
;===========
|
||||
; 12
|
||||
create_update_outer_loop:
|
||||
@ -50,6 +52,21 @@ create_update_inner_loop:
|
||||
adc #0 ; 2
|
||||
sta OUTH ; 3
|
||||
|
||||
dec FORCE_MUSIC
|
||||
bne no_force_music
|
||||
lda #19
|
||||
sta FORCE_MUSIC
|
||||
|
||||
txa
|
||||
pha
|
||||
|
||||
jsr play_frame_compressed
|
||||
|
||||
pla
|
||||
tax
|
||||
|
||||
no_force_music:
|
||||
|
||||
dex ; 2
|
||||
bne create_update_outer_loop ; 3
|
||||
;===========
|
||||
|
@ -101,6 +101,7 @@ KEYPTRL = $90
|
||||
KEYPTRH = $91
|
||||
KEY_COUNTDOWN = $92
|
||||
KEYPTR = $93
|
||||
FORCE_MUSIC = $94
|
||||
|
||||
; have to be consecutive
|
||||
DOOR_STATUS = $B0
|
||||
|
Loading…
Reference in New Issue
Block a user