summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/svi318.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/svi318.cpp')
-rw-r--r--src/mame/drivers/svi318.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/svi318.cpp b/src/mame/drivers/svi318.cpp
index 013b6bb157e..b6f7b64fa00 100644
--- a/src/mame/drivers/svi318.cpp
+++ b/src/mame/drivers/svi318.cpp
@@ -50,8 +50,8 @@
class svi3x8_state : public driver_device
{
public:
- svi3x8_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ svi3x8_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
m_io(*this, "io"),
@@ -136,7 +136,7 @@ private:
void svi3x8_state::svi3x8_mem(address_map &map)
{
map.unmap_value_high();
- map(0x0000, 0xffff).rw(this, FUNC(svi3x8_state::mreq_r), FUNC(svi3x8_state::mreq_w));
+ map(0x0000, 0xffff).rw(FUNC(svi3x8_state::mreq_r), FUNC(svi3x8_state::mreq_w));
}
void svi3x8_state::svi3x8_io(address_map &map)
@@ -149,10 +149,10 @@ void svi3x8_state::svi3x8_io_bank(address_map &map)
{
map(0x000, 0x0ff).rw(m_expander, FUNC(svi_expander_device::iorq_r), FUNC(svi_expander_device::iorq_w));
map(0x100, 0x17f).rw(m_expander, FUNC(svi_expander_device::iorq_r), FUNC(svi_expander_device::iorq_w));
- map(0x180, 0x180).mirror(0x22).w(m_vdp, FUNC(tms9928a_device::vram_write));
- map(0x181, 0x181).mirror(0x22).w(m_vdp, FUNC(tms9928a_device::register_write));
- map(0x184, 0x184).mirror(0x22).r(m_vdp, FUNC(tms9928a_device::vram_read));
- map(0x185, 0x185).mirror(0x22).r(m_vdp, FUNC(tms9928a_device::register_read));
+ map(0x180, 0x180).mirror(0x22).w(m_vdp, FUNC(tms9928a_device::vram_w));
+ map(0x181, 0x181).mirror(0x22).w(m_vdp, FUNC(tms9928a_device::register_w));
+ map(0x184, 0x184).mirror(0x22).r(m_vdp, FUNC(tms9928a_device::vram_r));
+ map(0x185, 0x185).mirror(0x22).r(m_vdp, FUNC(tms9928a_device::register_r));
map(0x188, 0x188).mirror(0x23).w("psg", FUNC(ay8910_device::address_w));
map(0x18c, 0x18c).mirror(0x23).w("psg", FUNC(ay8910_device::data_w));
map(0x190, 0x190).mirror(0x23).r("psg", FUNC(ay8910_device::data_r));
@@ -495,17 +495,17 @@ WRITE_LINE_MEMBER( svi3x8_state::ctrl1_w )
READ8_MEMBER( svi3x8_state::excs_r )
{
if (offset & 1)
- return m_vdp->register_read(space, 0);
+ return m_vdp->register_read();
else
- return m_vdp->vram_read(space, 0);
+ return m_vdp->vram_read();
}
WRITE8_MEMBER( svi3x8_state::excs_w )
{
if (offset & 1)
- m_vdp->register_write(space, 0, data);
+ m_vdp->register_write(data);
else
- m_vdp->vram_write(space, 0, data);
+ m_vdp->vram_write(data);
}