aboutsummaryrefslogtreecommitdiff
path: root/src-z80/core
diff options
context:
space:
mode:
authorJavier Degirolmo2013-04-22 05:30:00 -0300
committerJavier Degirolmo2013-04-22 05:30:00 -0300
commiteecc39834949e6affbf3268cb5405a296cd12216 (patch)
treed97fa90e4610ccc1afc52cf88b8db27b034ef3d4 /src-z80/core
parent40459d3587f607753dd2f5036d2b2471cdf23add (diff)
Now you can change the sample rate of PCM instruments
Diffstat (limited to 'src-z80/core')
-rw-r--r--src-z80/core/main.z804
1 files changed, 4 insertions, 0 deletions
diff --git a/src-z80/core/main.z80 b/src-z80/core/main.z80
index 1bd6074..33d8ec4 100644
--- a/src-z80/core/main.z80
+++ b/src-z80/core/main.z80
@@ -101,6 +101,8 @@ PollPCM: macro
;****************************************************************************
; RunCommand
; Checks which command to run
+;----------------------------------------------------------------------------
+; To-do: replace with pointer list?
;****************************************************************************
RunCommand:
@@ -116,6 +118,8 @@ RunCommand:
jp z, StopBGMCmd
dec a ; Command $06: resume BGM
jp z, ResumeBGM
+ dec a ; Command $07: set PCM rate
+ jp z, SetPCMRate
PollPCM