summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/osborne1.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-06-08 01:29:39 +1000
committer Vas Crabb <vas@vastheman.com>2018-06-08 01:29:39 +1000
commit93eaa6a4943ade6513257a740fcde97ca9468559 (patch)
tree1340f2160a7064a839b7ca649b2257489cdd3d6d /src/mame/drivers/osborne1.cpp
parentfafafe7050e4d04230656215b840ac53aad081e7 (diff)
as if millions of this pointers suddenly cried out in terror, and were suddenly silenced
* streamline templates in addrmap.h * get rid of overloads on read/write member names - this will become even more important in the near future
Diffstat (limited to 'src/mame/drivers/osborne1.cpp')
-rw-r--r--src/mame/drivers/osborne1.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/osborne1.cpp b/src/mame/drivers/osborne1.cpp
index 9caa2d4bfe5..30f7e7941a2 100644
--- a/src/mame/drivers/osborne1.cpp
+++ b/src/mame/drivers/osborne1.cpp
@@ -102,17 +102,17 @@ static constexpr XTAL MAIN_CLOCK = 15.9744_MHz_XTAL;
void osborne1_state::osborne1_mem(address_map &map)
{
- map(0x0000, 0x0FFF).bankr(m_bank_0xxx).w(this, FUNC(osborne1_state::bank_0xxx_w));
- map(0x1000, 0x1FFF).bankr(m_bank_1xxx).w(this, FUNC(osborne1_state::bank_1xxx_w));
- map(0x2000, 0x3FFF).rw(this, FUNC(osborne1_state::bank_2xxx_3xxx_r), FUNC(osborne1_state::bank_2xxx_3xxx_w));
+ map(0x0000, 0x0FFF).bankr(m_bank_0xxx).w(FUNC(osborne1_state::bank_0xxx_w));
+ map(0x1000, 0x1FFF).bankr(m_bank_1xxx).w(FUNC(osborne1_state::bank_1xxx_w));
+ map(0x2000, 0x3FFF).rw(FUNC(osborne1_state::bank_2xxx_3xxx_r), FUNC(osborne1_state::bank_2xxx_3xxx_w));
map(0x4000, 0xEFFF).ram();
- map(0xF000, 0xFFFF).bankr(m_bank_fxxx).w(this, FUNC(osborne1_state::videoram_w));
+ map(0xF000, 0xFFFF).bankr(m_bank_fxxx).w(FUNC(osborne1_state::videoram_w));
}
void osborne1_state::osborne1_op(address_map &map)
{
- map(0x0000, 0xFFFF).r(this, FUNC(osborne1_state::opcode_r));
+ map(0x0000, 0xFFFF).r(FUNC(osborne1_state::opcode_r));
}
@@ -121,7 +121,7 @@ void osborne1_state::osborne1_io(address_map &map)
map.unmap_value_high();
map.global_mask(0xff);
- map(0x00, 0x03).mirror(0xfc).w(this, FUNC(osborne1_state::bankswitch_w));
+ map(0x00, 0x03).mirror(0xfc).w(FUNC(osborne1_state::bankswitch_w));
}
void osborne1_state::osborne1nv_io(address_map &map)
@@ -129,7 +129,7 @@ void osborne1_state::osborne1nv_io(address_map &map)
map.unmap_value_high();
map.global_mask(0xff);
- map( 0x00, 0x03 ).w(this, FUNC(osborne1_state::bankswitch_w));
+ map( 0x00, 0x03 ).w(FUNC(osborne1_state::bankswitch_w));
map( 0x04, 0x04 ).rw("crtc", FUNC(mc6845_device::status_r), FUNC(mc6845_device::address_w));
map( 0x05, 0x05 ).rw("crtc", FUNC(mc6845_device::register_r), FUNC(mc6845_device::register_w));
// seems to be something at 0x06 as well, but no idea what - BIOS writes 0x07 on boot