summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/thedealr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/thedealr.cpp')
-rw-r--r--src/mame/drivers/thedealr.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/thedealr.cpp b/src/mame/drivers/thedealr.cpp
index 2519435c9fd..f84827ab4de 100644
--- a/src/mame/drivers/thedealr.cpp
+++ b/src/mame/drivers/thedealr.cpp
@@ -57,15 +57,15 @@ public:
private:
// IOX
- DECLARE_READ8_MEMBER(iox_r);
- DECLARE_WRITE8_MEMBER(iox_w);
- DECLARE_READ8_MEMBER(iox_status_r);
+ uint8_t iox_r();
+ void iox_w(uint8_t data);
+ uint8_t iox_status_r();
uint8_t m_iox_cmd, m_iox_ret, m_iox_status, m_iox_leds, m_iox_coins;
void iox_reset();
// memory map
- DECLARE_READ8_MEMBER(irq_ack_r);
- DECLARE_WRITE8_MEMBER(unk_w);
+ uint8_t irq_ack_r();
+ void unk_w(uint8_t data);
// machine
TIMER_DEVICE_CALLBACK_MEMBER(thedealr_interrupt);
@@ -150,7 +150,7 @@ void thedealr_state::machine_reset()
}
// 3400
-READ8_MEMBER(thedealr_state::iox_r)
+uint8_t thedealr_state::iox_r()
{
uint8_t ret = m_iox_ret;
m_iox_status &= ~IOX_OUT_FULL;
@@ -158,7 +158,7 @@ READ8_MEMBER(thedealr_state::iox_r)
logerror("%s: IOX read %02X\n", machine().describe_context(), ret);
return ret;
}
-WRITE8_MEMBER(thedealr_state::iox_w)
+void thedealr_state::iox_w(uint8_t data)
{
if (m_iox_status & IOX_WAITDATA)
{
@@ -253,7 +253,7 @@ WRITE8_MEMBER(thedealr_state::iox_w)
}
// 3401
-READ8_MEMBER(thedealr_state::iox_status_r)
+uint8_t thedealr_state::iox_status_r()
{
// bit 0 - Out buff full?
// bit 1 - In buff full?
@@ -267,13 +267,13 @@ READ8_MEMBER(thedealr_state::iox_status_r)
***************************************************************************/
-READ8_MEMBER(thedealr_state::irq_ack_r)
+uint8_t thedealr_state::irq_ack_r()
{
m_maincpu->set_input_line(INPUT_LINE_IRQ0, CLEAR_LINE);
return 0;
}
-WRITE8_MEMBER(thedealr_state::unk_w)
+void thedealr_state::unk_w(uint8_t data)
{
// bit 1 - ? 1 during game
// bit 2 - ? 0 during game