aboutsummaryrefslogtreecommitdiff
path: root/src-z80/core/sfx.z80
diff options
context:
space:
mode:
Diffstat (limited to 'src-z80/core/sfx.z80')
-rw-r--r--src-z80/core/sfx.z8010
1 files changed, 10 insertions, 0 deletions
diff --git a/src-z80/core/sfx.z80 b/src-z80/core/sfx.z80
index 1c62873..4bca4c7 100644
--- a/src-z80/core/sfx.z80
+++ b/src-z80/core/sfx.z80
@@ -1,6 +1,8 @@
;****************************************************************************
; PlaySFX [command $02]
; Plays a SFX
+;----------------------------------------------------------------------------
+; breaks: all
;****************************************************************************
PlaySFX:
@@ -48,6 +50,8 @@ PlaySFX:
;****************************************************************************
; ProcessSFX
; Processes a tick for a SFX
+;----------------------------------------------------------------------------
+; breaks: all
;****************************************************************************
ProcessSFX:
@@ -147,10 +151,14 @@ ProcessSFXRun:
cp $F8 ; Events $F0-$F7: set FM parameters
jp c, SetFMParamSFX
+ cp $FA ; Events $F8-$F9: set FM register
+ jp c, SetFMRegSFX
;****************************************************************************
; StopSFX* [command $03, event $FF]
; Stops SFX playback
+;----------------------------------------------------------------------------
+; breaks: all
;****************************************************************************
StopSFXEvent:
@@ -186,6 +194,8 @@ StopSFX:
;****************************************************************************
; ClearSFX
; Clears SFX resources
+;----------------------------------------------------------------------------
+; breaks: all
;****************************************************************************
ClearSFX: