fox32rom: Disable audio playback on reset
This commit is contained in:
parent
2c4c04fd39
commit
8d6c90498a
7
main.asm
7
main.asm
|
@ -16,6 +16,13 @@ entry:
|
||||||
|
|
||||||
mov [0x000003FC], system_vsync_handler
|
mov [0x000003FC], system_vsync_handler
|
||||||
|
|
||||||
|
; disable audio playback
|
||||||
|
mov r0, 0x80000600
|
||||||
|
out r0, 0
|
||||||
|
|
||||||
|
; clear the interrupt vector for interrupt 0xFE - audio buffer switch
|
||||||
|
mov [0x000003F8], 0x00000000
|
||||||
|
|
||||||
; disable all overlays
|
; disable all overlays
|
||||||
mov r31, 0x1F
|
mov r31, 0x1F
|
||||||
mov r0, 0x80000300
|
mov r0, 0x80000300
|
||||||
|
|
Loading…
Reference in New Issue
Block a user