summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/istellar.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2020-05-28 18:10:20 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2020-05-28 18:10:20 +0200
commitd4c772bcc7263dd2697a7977d196a96ad2d067a3 (patch)
tree3fa4d24ee8250f44ec9f7a0cc9df94bf8bd3c5cb /src/mame/drivers/istellar.cpp
parentc7d667d41adaa9627a3350e7f984fe7fc431f081 (diff)
drivers starting with i, j, k, l and m: more macro removal (nw)
Diffstat (limited to 'src/mame/drivers/istellar.cpp')
-rw-r--r--src/mame/drivers/istellar.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/istellar.cpp b/src/mame/drivers/istellar.cpp
index 28078e78466..687be6f0e79 100644
--- a/src/mame/drivers/istellar.cpp
+++ b/src/mame/drivers/istellar.cpp
@@ -51,9 +51,9 @@ private:
required_shared_ptr<uint8_t> m_tile_ram;
required_shared_ptr<uint8_t> m_tile_control_ram;
required_shared_ptr<uint8_t> m_sprite_ram;
- DECLARE_READ8_MEMBER(z80_2_ldp_read);
- DECLARE_READ8_MEMBER(z80_2_unknown_read);
- DECLARE_WRITE8_MEMBER(z80_2_ldp_write);
+ uint8_t z80_2_ldp_read();
+ uint8_t z80_2_unknown_read();
+ void z80_2_ldp_write(uint8_t data);
virtual void machine_start() override;
uint32_t screen_update_istellar(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
DECLARE_WRITE_LINE_MEMBER(vblank_irq);
@@ -111,20 +111,20 @@ void istellar_state::machine_start()
/* Z80 2 R/W */
-READ8_MEMBER(istellar_state::z80_2_ldp_read)
+uint8_t istellar_state::z80_2_ldp_read()
{
uint8_t readResult = m_laserdisc->status_r();
logerror("CPU2 : reading LDP : %x\n", readResult);
return readResult;
}
-READ8_MEMBER(istellar_state::z80_2_unknown_read)
+uint8_t istellar_state::z80_2_unknown_read()
{
logerror("CPU2 : c000!\n");
return 0x00;
}
-WRITE8_MEMBER(istellar_state::z80_2_ldp_write)
+void istellar_state::z80_2_ldp_write(uint8_t data)
{
logerror("CPU2 : writing LDP : 0x%x\n", data);
m_laserdisc->data_w(data);