diff options
Diffstat (limited to 'src/mame/drivers/fgoal.cpp')
-rw-r--r-- | src/mame/drivers/fgoal.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/fgoal.cpp b/src/mame/drivers/fgoal.cpp index 9ac20acc22c..b985bcc6d52 100644 --- a/src/mame/drivers/fgoal.cpp +++ b/src/mame/drivers/fgoal.cpp @@ -104,7 +104,7 @@ unsigned fgoal_state::video_ram_address( ) } -READ8_MEMBER(fgoal_state::analog_r) +uint8_t fgoal_state::analog_r() { return ioport(m_player ? "PADDLE1" : "PADDLE0")->read(); /* PCB can be jumpered to use a single dial */ } @@ -117,7 +117,7 @@ READ_LINE_MEMBER(fgoal_state::_80_r) return ret; } -READ8_MEMBER(fgoal_state::nmi_reset_r) +uint8_t fgoal_state::nmi_reset_r() { m_maincpu->set_input_line(INPUT_LINE_NMI, CLEAR_LINE); @@ -125,7 +125,7 @@ READ8_MEMBER(fgoal_state::nmi_reset_r) } -READ8_MEMBER(fgoal_state::irq_reset_r) +uint8_t fgoal_state::irq_reset_r() { m_maincpu->set_input_line(0, CLEAR_LINE); @@ -133,42 +133,42 @@ READ8_MEMBER(fgoal_state::irq_reset_r) } -READ8_MEMBER(fgoal_state::row_r) +uint8_t fgoal_state::row_r() { return m_row; } -WRITE8_MEMBER(fgoal_state::row_w) +void fgoal_state::row_w(uint8_t data) { m_row = data; m_mb14241->shift_data_w(0); } -WRITE8_MEMBER(fgoal_state::col_w) +void fgoal_state::col_w(uint8_t data) { m_col = data; m_mb14241->shift_count_w(data); } -READ8_MEMBER(fgoal_state::address_hi_r) +uint8_t fgoal_state::address_hi_r() { return video_ram_address() >> 8; } -READ8_MEMBER(fgoal_state::address_lo_r) +uint8_t fgoal_state::address_lo_r() { return video_ram_address() & 0xff; } -READ8_MEMBER(fgoal_state::shifter_r) +uint8_t fgoal_state::shifter_r() { uint8_t v = m_mb14241->shift_result_r(); return bitswap<8>(v, 7, 6, 5, 4, 3, 2, 1, 0); } -READ8_MEMBER(fgoal_state::shifter_reverse_r) +uint8_t fgoal_state::shifter_reverse_r() { uint8_t v = m_mb14241->shift_result_r(); @@ -176,7 +176,7 @@ READ8_MEMBER(fgoal_state::shifter_reverse_r) } -WRITE8_MEMBER(fgoal_state::sound1_w) +void fgoal_state::sound1_w(uint8_t data) { /* BIT0 => SX2 */ /* BIT1 => SX1 */ @@ -189,7 +189,7 @@ WRITE8_MEMBER(fgoal_state::sound1_w) } -WRITE8_MEMBER(fgoal_state::sound2_w) +void fgoal_state::sound2_w(uint8_t data) { /* BIT0 => CX0 */ /* BIT1 => SX6 */ |