summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/xavix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/xavix.cpp')
-rw-r--r--src/mame/machine/xavix.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mame/machine/xavix.cpp b/src/mame/machine/xavix.cpp
index 965ef554c59..e39fa03df05 100644
--- a/src/mame/machine/xavix.cpp
+++ b/src/mame/machine/xavix.cpp
@@ -268,7 +268,15 @@ INTERRUPT_GEN_MEMBER(xavix_state::interrupt)
}
+WRITE8_MEMBER(xavix_state::colmix_sh_w)
+{
+ m_colmix_sh[offset] = data;
+}
+WRITE8_MEMBER(xavix_state::colmix_l_w)
+{
+ m_colmix_l[offset] = data;
+}
WRITE8_MEMBER(xavix_state::colmix_6ff2_w)
{
@@ -532,6 +540,14 @@ READ8_MEMBER(xavix_state::timer_freq_r)
return m_timer_freq;
}
+READ8_MEMBER(xavix_state::timer_curval_r)
+{
+ // TODO implement properly with timers etc. as rad_fb / rad_madfb rely on these values to calculate throw strength!
+ LOG("%s: timer_curval_r\n", machine().describe_context());
+ return machine().rand();
+}
+
+
WRITE8_MEMBER(xavix_state::timer_freq_w)
{
// 4-bit prescale