summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/videopin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/videopin.cpp')
-rw-r--r--src/mame/drivers/videopin.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/videopin.cpp b/src/mame/drivers/videopin.cpp
index 239e5731eae..e93c6154ac8 100644
--- a/src/mame/drivers/videopin.cpp
+++ b/src/mame/drivers/videopin.cpp
@@ -97,8 +97,8 @@ void videopin_state::machine_reset()
/* both output latches are cleared on reset */
- out1_w(machine().dummy_space(), 0, 0);
- out2_w(machine().dummy_space(), 0, 0);
+ out1_w(0);
+ out2_w(0);
}
@@ -108,7 +108,7 @@ double videopin_state::calc_plunger_pos()
}
-READ8_MEMBER(videopin_state::misc_r)
+uint8_t videopin_state::misc_r()
{
double plunger = calc_plunger_pos();
@@ -136,7 +136,7 @@ READ8_MEMBER(videopin_state::misc_r)
}
-WRITE8_MEMBER(videopin_state::led_w)
+void videopin_state::led_w(uint8_t data)
{
// LED matrix as seen in Video Pinball manual, fig. 4-14
// output to "LEDxx" where xx = 01 to 32, videopin START = LED30
@@ -162,7 +162,7 @@ WRITE8_MEMBER(videopin_state::led_w)
}
-WRITE8_MEMBER(videopin_state::out1_w)
+void videopin_state::out1_w(uint8_t data)
{
/* D0 => OCTAVE0 */
/* D1 => OCTACE1 */
@@ -185,7 +185,7 @@ WRITE8_MEMBER(videopin_state::out1_w)
}
-WRITE8_MEMBER(videopin_state::out2_w)
+void videopin_state::out2_w(uint8_t data)
{
/* D0 => VOL0 */
/* D1 => VOL1 */
@@ -205,7 +205,7 @@ WRITE8_MEMBER(videopin_state::out2_w)
}
-WRITE8_MEMBER(videopin_state::note_dvsr_w)
+void videopin_state::note_dvsr_w(uint8_t data)
{
/* note data */
m_discrete->write(VIDEOPIN_NOTE_DATA, ~data &0xff);