diff options
Diffstat (limited to 'src/mame/drivers/smc777.cpp')
-rw-r--r-- | src/mame/drivers/smc777.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/mame/drivers/smc777.cpp b/src/mame/drivers/smc777.cpp index 20855452a15..8de51d178f8 100644 --- a/src/mame/drivers/smc777.cpp +++ b/src/mame/drivers/smc777.cpp @@ -663,46 +663,46 @@ WRITE8_MEMBER(smc777_state::irq_mask_w) void smc777_state::smc777_mem(address_map &map) { map.unmap_value_high(); - map(0x0000, 0xffff).rw(this, FUNC(smc777_state::smc777_mem_r), FUNC(smc777_state::smc777_mem_w)); + map(0x0000, 0xffff).rw(FUNC(smc777_state::smc777_mem_r), FUNC(smc777_state::smc777_mem_w)); } void smc777_state::smc777_io(address_map &map) { map.unmap_value_high(); - map(0x00, 0x07).select(0xff00).rw(this, FUNC(smc777_state::vram_r), FUNC(smc777_state::vram_w)); - map(0x08, 0x0f).select(0xff00).rw(this, FUNC(smc777_state::attr_r), FUNC(smc777_state::attr_w)); - map(0x10, 0x17).select(0xff00).rw(this, FUNC(smc777_state::pcg_r), FUNC(smc777_state::pcg_w)); - map(0x18, 0x19).mirror(0xff00).w(this, FUNC(smc777_state::mc6845_w)); - map(0x1a, 0x1b).mirror(0xff00).rw(this, FUNC(smc777_state::key_r), FUNC(smc777_state::key_w)); - map(0x1c, 0x1c).mirror(0xff00).rw(this, FUNC(smc777_state::system_input_r), FUNC(smc777_state::system_output_w)); + map(0x00, 0x07).select(0xff00).rw(FUNC(smc777_state::vram_r), FUNC(smc777_state::vram_w)); + map(0x08, 0x0f).select(0xff00).rw(FUNC(smc777_state::attr_r), FUNC(smc777_state::attr_w)); + map(0x10, 0x17).select(0xff00).rw(FUNC(smc777_state::pcg_r), FUNC(smc777_state::pcg_w)); + map(0x18, 0x19).mirror(0xff00).w(FUNC(smc777_state::mc6845_w)); + map(0x1a, 0x1b).mirror(0xff00).rw(FUNC(smc777_state::key_r), FUNC(smc777_state::key_w)); + map(0x1c, 0x1c).mirror(0xff00).rw(FUNC(smc777_state::system_input_r), FUNC(smc777_state::system_output_w)); // AM_RANGE(0x1d, 0x1d) system and control read, printer strobe write // AM_RANGE(0x1e, 0x1f) rs232 irq control - map(0x20, 0x20).mirror(0xff00).rw(this, FUNC(smc777_state::display_reg_r), FUNC(smc777_state::display_reg_w)); - map(0x21, 0x21).mirror(0xff00).rw(this, FUNC(smc777_state::irq_mask_r), FUNC(smc777_state::irq_mask_w)); + map(0x20, 0x20).mirror(0xff00).rw(FUNC(smc777_state::display_reg_r), FUNC(smc777_state::display_reg_w)); + map(0x21, 0x21).mirror(0xff00).rw(FUNC(smc777_state::irq_mask_r), FUNC(smc777_state::irq_mask_w)); // AM_RANGE(0x22, 0x22) printer output data - map(0x23, 0x23).mirror(0xff00).w(this, FUNC(smc777_state::border_col_w)); + map(0x23, 0x23).mirror(0xff00).w(FUNC(smc777_state::border_col_w)); // AM_RANGE(0x24, 0x24) rtc write address // AM_RANGE(0x25, 0x25) rtc read // AM_RANGE(0x26, 0x26) rs232 #1 // AM_RANGE(0x28, 0x2c) fdc #2 // AM_RANGE(0x2d, 0x2f) rs232 #2 - map(0x30, 0x33).mirror(0xff00).rw(this, FUNC(smc777_state::fdc_r), FUNC(smc777_state::fdc_w)); - map(0x34, 0x34).mirror(0xff00).rw(this, FUNC(smc777_state::fdc_request_r), FUNC(smc777_state::floppy_select_w)); + map(0x30, 0x33).mirror(0xff00).rw(FUNC(smc777_state::fdc_r), FUNC(smc777_state::fdc_w)); + map(0x34, 0x34).mirror(0xff00).rw(FUNC(smc777_state::fdc_request_r), FUNC(smc777_state::floppy_select_w)); // AM_RANGE(0x35, 0x37) rs232 #3 // AM_RANGE(0x38, 0x3b) cache disk unit // AM_RANGE(0x3c, 0x3d) rgb superimposer // AM_RANGE(0x40, 0x47) ieee-488 // AM_RANGE(0x48, 0x4f) hdd (winchester) - map(0x51, 0x51).mirror(0xff00).portr("JOY_1P").w(this, FUNC(smc777_state::color_mode_w)); - map(0x52, 0x52).select(0xff00).w(this, FUNC(smc777_state::ramdac_w)); - map(0x53, 0x53).mirror(0xff00).w("sn1", FUNC(sn76489a_device::write)); + map(0x51, 0x51).mirror(0xff00).portr("JOY_1P").w(FUNC(smc777_state::color_mode_w)); + map(0x52, 0x52).select(0xff00).w(FUNC(smc777_state::ramdac_w)); + map(0x53, 0x53).mirror(0xff00).w("sn1", FUNC(sn76489a_device::command_w)); // AM_RANGE(0x54, 0x59) vrt controller // AM_RANGE(0x5a, 0x5b) ram banking // AM_RANGE(0x70, 0x70) auto-start rom // AM_RANGE(0x74, 0x74) ieee-488 rom // AM_RANGE(0x75, 0x75) vrt controller rom // AM_RANGE(0x7e, 0x7f) kanji rom - map(0x80, 0xff).select(0xff00).rw(this, FUNC(smc777_state::fbuf_r), FUNC(smc777_state::fbuf_w)); + map(0x80, 0xff).select(0xff00).rw(FUNC(smc777_state::fbuf_r), FUNC(smc777_state::fbuf_w)); } /* Input ports */ |