summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/segald.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/segald.cpp')
-rw-r--r--src/mame/drivers/segald.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/segald.cpp b/src/mame/drivers/segald.cpp
index 2ed018576e2..419c415ecdb 100644
--- a/src/mame/drivers/segald.cpp
+++ b/src/mame/drivers/segald.cpp
@@ -259,15 +259,15 @@ void segald_state::mainmem(address_map &map)
map(0x0000, 0x7fff).rom();
map(0x8000, 0xbfff).bankr("bank1");
- map(0xc000, 0xc7ff).rw(this, FUNC(segald_state::astron_OBJ_read), FUNC(segald_state::astron_OBJ_write)).share("obj_ram"); /* OBJ according to the schematics (sprite) */
- map(0xc800, 0xcfff).rw(this, FUNC(segald_state::astron_DISC_read), FUNC(segald_state::astron_DISC_write)); /* DISC interface according to schematics */
+ map(0xc000, 0xc7ff).rw(FUNC(segald_state::astron_OBJ_read), FUNC(segald_state::astron_OBJ_write)).share("obj_ram"); /* OBJ according to the schematics (sprite) */
+ map(0xc800, 0xcfff).rw(FUNC(segald_state::astron_DISC_read), FUNC(segald_state::astron_DISC_write)); /* DISC interface according to schematics */
map(0xd000, 0xd000).portr("DSWA"); /* SW bank 2 (DIPs) */
map(0xd001, 0xd001).portr("DSWB"); /* SW bank 3 (DIPs) */
map(0xd002, 0xd002).portr("IN0"); /* SW bank 0 (IO) */
map(0xd003, 0xd003).portr("IN1"); /* SW bank 1 (IO) */
- map(0xd800, 0xd803).rw(this, FUNC(segald_state::astron_OUT_read), FUNC(segald_state::astron_OUT_write)).share("out_ram"); /* OUT according to schematics (output port) */
- map(0xe000, 0xe1ff).rw(this, FUNC(segald_state::astron_COLOR_read), FUNC(segald_state::astron_COLOR_write)).share("color_ram"); /* COLOR according to the schematics */
- map(0xf000, 0xf7ff).w(this, FUNC(segald_state::astron_FIX_write)).share("fix_ram"); /* FIX according to schematics (characters) */
+ map(0xd800, 0xd803).rw(FUNC(segald_state::astron_OUT_read), FUNC(segald_state::astron_OUT_write)).share("out_ram"); /* OUT according to schematics (output port) */
+ map(0xe000, 0xe1ff).rw(FUNC(segald_state::astron_COLOR_read), FUNC(segald_state::astron_COLOR_write)).share("color_ram"); /* COLOR according to the schematics */
+ map(0xf000, 0xf7ff).w(FUNC(segald_state::astron_FIX_write)).share("fix_ram"); /* FIX according to schematics (characters) */
map(0xf800, 0xffff).ram(); /* RAM according to schematics */
}
@@ -276,7 +276,7 @@ void segald_state::mainmem(address_map &map)
void segald_state::mainport(address_map &map)
{
map.global_mask(0xff);
- map(0x00, 0x01).w(this, FUNC(segald_state::astron_io_bankswitch_w));
+ map(0x00, 0x01).w(FUNC(segald_state::astron_io_bankswitch_w));
}