sound effect fixes for turbo tape loader

This commit is contained in:
FeralChild64 committed 2019-12-08 07:21:54 +01:00
1 parent f80d61febd
commit d4ba48bb3a
2 files changed
+21 -11

No files matched your search

+16 -9
View File
@@ -75,6 +75,22 @@ tape_screen_off_motor_on:
jmp tape_motor_on
//
// Clear the SID settings - for sound effects during LOAD
//
tape_clean_sid:
lda #$00
ldy #$1C
!:
sta __SID_BASE, y
dey
bpl !-
rts
//
// Ask user to press PLAY on tape deck,
// Unless user cancelled loading, blank screen and start motor
@@ -95,15 +111,6 @@ tape_ask_play:
ldx #__MSG_KERNAL_PRESS_PLAY
jsr print_kernal_message
// Clean the SID registers, we need it for sound effects
lda #$00
ldy #$1C
!:
sta __SID_BASE, y
dey
bpl !-
// FALLTROUGH
tape_wait_play_loop: