diff options
| author | sik | 2017-03-05 20:57:11 -0300 |
|---|---|---|
| committer | sik | 2017-03-05 20:57:11 -0300 |
| commit | a679ba38190bfed6ae150a12e819ad7527c495d1 (patch) | |
| tree | ea4b189bce2732032998027f5dbcb75a1c0eea1d /src-z80/core/sfx.z80 | |
| parent | 2ad500e6d8a24ca09cbfc6618aea9c1cd3cc0e93 (diff) | |
Upgrade!
Diffstat (limited to 'src-z80/core/sfx.z80')
| -rw-r--r-- | src-z80/core/sfx.z80 | 10 |
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: |
