summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/spool99.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/spool99.cpp')
-rw-r--r--src/mame/drivers/spool99.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/spool99.cpp b/src/mame/drivers/spool99.cpp
index fd30bf607be..a7ffc30b7bb 100644
--- a/src/mame/drivers/spool99.cpp
+++ b/src/mame/drivers/spool99.cpp
@@ -233,17 +233,17 @@ void spool99_state::spool99_map(address_map &map)
{
map(0x0000, 0x00ff).ram().share("mainram");
map(0x0100, 0xaeff).rom().region("maincpu", 0x100).nopw();
- map(0xaf00, 0xafff).r(this, FUNC(spool99_state::spool99_io_r));
- map(0xafed, 0xafed).w(this, FUNC(spool99_state::eeprom_resetline_w));
- map(0xafee, 0xafee).w(this, FUNC(spool99_state::eeprom_clockline_w));
- map(0xafef, 0xafef).w(this, FUNC(spool99_state::eeprom_dataline_w));
+ map(0xaf00, 0xafff).r(FUNC(spool99_state::spool99_io_r));
+ map(0xafed, 0xafed).w(FUNC(spool99_state::eeprom_resetline_w));
+ map(0xafee, 0xafee).w(FUNC(spool99_state::eeprom_clockline_w));
+ map(0xafef, 0xafef).w(FUNC(spool99_state::eeprom_dataline_w));
map(0xaff8, 0xaff8).w(m_oki, FUNC(okim6295_device::write));
map(0xb000, 0xb3ff).ram().w("palette", FUNC(palette_device::write8)).share("palette");
map(0xb800, 0xdfff).ram();
- map(0xe000, 0xefff).ram().w(this, FUNC(spool99_state::vram_w)).share("vram");
- map(0xf000, 0xffff).ram().w(this, FUNC(spool99_state::cram_w)).share("cram");
+ map(0xe000, 0xefff).ram().w(FUNC(spool99_state::vram_w)).share("vram");
+ map(0xf000, 0xffff).ram().w(FUNC(spool99_state::cram_w)).share("cram");
}
READ8_MEMBER(spool99_state::vcarn_io_r)
@@ -280,18 +280,18 @@ void spool99_state::vcarn_map(address_map &map)
{
map(0x0000, 0x00ff).ram().share("mainram");
map(0x0100, 0xa6ff).rom().region("maincpu", 0x100).nopw();
- map(0xa700, 0xa7ff).r(this, FUNC(spool99_state::vcarn_io_r));
- map(0xa745, 0xa745).w(this, FUNC(spool99_state::eeprom_resetline_w));
- map(0xa746, 0xa746).w(this, FUNC(spool99_state::eeprom_clockline_w));
- map(0xa747, 0xa747).w(this, FUNC(spool99_state::eeprom_dataline_w));
+ map(0xa700, 0xa7ff).r(FUNC(spool99_state::vcarn_io_r));
+ map(0xa745, 0xa745).w(FUNC(spool99_state::eeprom_resetline_w));
+ map(0xa746, 0xa746).w(FUNC(spool99_state::eeprom_clockline_w));
+ map(0xa747, 0xa747).w(FUNC(spool99_state::eeprom_dataline_w));
map(0xa780, 0xa780).w(m_oki, FUNC(okim6295_device::write));
map(0xa800, 0xabff).ram().w("palette", FUNC(palette_device::write8)).share("palette");
map(0xb000, 0xdfff).ram();
// AM_RANGE(0xdf00, 0xdfff) AM_READWRITE(vcarn_io_r,vcarn_io_w) AM_SHARE("vcarn_io")
- map(0xe000, 0xefff).ram().w(this, FUNC(spool99_state::vram_w)).share("vram");
- map(0xf000, 0xffff).ram().w(this, FUNC(spool99_state::cram_w)).share("cram");
+ map(0xe000, 0xefff).ram().w(FUNC(spool99_state::vram_w)).share("vram");
+ map(0xf000, 0xffff).ram().w(FUNC(spool99_state::cram_w)).share("cram");
}