summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/mhavoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/mhavoc.cpp')
-rw-r--r--src/mame/machine/mhavoc.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/mame/machine/mhavoc.cpp b/src/mame/machine/mhavoc.cpp
index fe4395c8c04..69f341fd71a 100644
--- a/src/mame/machine/mhavoc.cpp
+++ b/src/mame/machine/mhavoc.cpp
@@ -139,14 +139,14 @@ TIMER_CALLBACK_MEMBER(mhavoc_state::delayed_gamma_w)
WRITE8_MEMBER(mhavoc_state::mhavoc_gamma_w)
{
- logerror(" writing to gamma processor: %02x (%d %d)\n", data, m_gamma_rcvd, m_alpha_xmtd);
+ //logerror(" writing to gamma processor: %02x (%d %d)\n", data, m_gamma_rcvd, m_alpha_xmtd);
machine().scheduler().synchronize(timer_expired_delegate(FUNC(mhavoc_state::delayed_gamma_w),this), data);
}
READ8_MEMBER(mhavoc_state::mhavoc_alpha_r)
{
- logerror("\t\t\t\t\treading from alpha processor: %02x (%d %d)\n", m_alpha_data, m_gamma_rcvd, m_alpha_xmtd);
+ //logerror("\t\t\t\t\treading from alpha processor: %02x (%d %d)\n", m_alpha_data, m_gamma_rcvd, m_alpha_xmtd);
m_gamma_rcvd = 1;
m_alpha_xmtd = 0;
return m_alpha_data;
@@ -162,7 +162,7 @@ READ8_MEMBER(mhavoc_state::mhavoc_alpha_r)
WRITE8_MEMBER(mhavoc_state::mhavoc_alpha_w)
{
- logerror("\t\t\t\t\twriting to alpha processor: %02x %d %d\n", data, m_alpha_rcvd, m_gamma_xmtd);
+ //logerror("\t\t\t\t\twriting to alpha processor: %02x %d %d\n", data, m_alpha_rcvd, m_gamma_xmtd);
m_alpha_rcvd = 0;
m_gamma_xmtd = 1;
m_gamma_data = data;
@@ -171,7 +171,7 @@ WRITE8_MEMBER(mhavoc_state::mhavoc_alpha_w)
READ8_MEMBER(mhavoc_state::mhavoc_gamma_r)
{
- logerror(" reading from gamma processor: %02x (%d %d)\n", m_gamma_data, m_alpha_rcvd, m_gamma_xmtd);
+ //logerror(" reading from gamma processor: %02x (%d %d)\n", m_gamma_data, m_alpha_rcvd, m_gamma_xmtd);
m_alpha_rcvd = 1;
m_gamma_xmtd = 0;
return m_gamma_data;
@@ -258,7 +258,7 @@ WRITE8_MEMBER(mhavoc_state::mhavoc_out_0_w)
m_gamma->set_input_line(INPUT_LINE_RESET, (data & 0x08) ? CLEAR_LINE : ASSERT_LINE);
if (!(data & 0x08))
{
- logerror("\t\t\t\t*** resetting gamma processor. ***\n");
+ //logerror("\t\t\t\t*** resetting gamma processor. ***\n");
m_alpha_rcvd = 0;
m_alpha_xmtd = 0;
m_gamma_rcvd = 0;
@@ -287,7 +287,7 @@ WRITE8_MEMBER(mhavoc_state::alphaone_out_0_w)
/* Bit 0 = left coin counter */
machine().bookkeeping().coin_counter_w(0, data & 0x01);
-logerror("alphaone_out_0_w(%02X)\n", data);
+ //logerror("alphaone_out_0_w(%02X)\n", data);
}
@@ -325,8 +325,7 @@ WRITE8_MEMBER(mhavoc_state::mhavocrv_speech_strobe_w)
void mhavoc_state::init_mhavocrv()
{
- /* install the speech support that was only optionally stuffed for use */
- /* in the Return to Vax hack */
+ // For Return to Vax, add support for the normally-unused speech module.
m_gamma->space(AS_PROGRAM).install_write_handler(0x5800, 0x5800, write8_delegate(FUNC(mhavoc_state::mhavocrv_speech_data_w),this));
m_gamma->space(AS_PROGRAM).install_write_handler(0x5900, 0x5900, write8_delegate(FUNC(mhavoc_state::mhavocrv_speech_strobe_w),this));
}