summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/othello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/othello.cpp')
-rw-r--r--src/mame/drivers/othello.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/othello.cpp b/src/mame/drivers/othello.cpp
index b7588ab04c4..7e2d26959c6 100644
--- a/src/mame/drivers/othello.cpp
+++ b/src/mame/drivers/othello.cpp
@@ -251,14 +251,14 @@ WRITE8_MEMBER(othello_state::ack_w)
WRITE8_MEMBER(othello_state::ay_address_w)
{
- if (m_ay_select & 1) m_ay[0]->address_w(data);
- if (m_ay_select & 2) m_ay[1]->address_w(data);
+ if (m_ay_select & 1) m_ay[0]->address_w(space, 0, data);
+ if (m_ay_select & 2) m_ay[1]->address_w(space, 0, data);
}
WRITE8_MEMBER(othello_state::ay_data_w)
{
- if (m_ay_select & 1) m_ay[0]->data_w(data);
- if (m_ay_select & 2) m_ay[1]->data_w(data);
+ if (m_ay_select & 1) m_ay[0]->data_w(space, 0, data);
+ if (m_ay_select & 2) m_ay[1]->data_w(space, 0, data);
}
void othello_state::audio_map(address_map &map)
@@ -435,6 +435,7 @@ void othello_state::othello(machine_config &config)
DAC_8BIT_R2R(config, "dac", 0).add_route(ALL_OUTPUTS, "speaker", 0.3); // unknown DAC
voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref", 0));
+ vref.set_output(5.0);
vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT);
vref.add_route(0, "dac", -1.0, DAC_VREF_NEG_INPUT);
}