summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pv2000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pv2000.cpp')
-rw-r--r--src/mame/drivers/pv2000.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/pv2000.cpp b/src/mame/drivers/pv2000.cpp
index 33cb16e55a9..2bfa63a9a01 100644
--- a/src/mame/drivers/pv2000.cpp
+++ b/src/mame/drivers/pv2000.cpp
@@ -44,13 +44,13 @@ For BIOS CRC confirmation
class pv2000_state : public driver_device
{
public:
- pv2000_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ pv2000_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cass(*this, "cassette"),
m_cart(*this, "cartslot"),
m_last_state(0)
- { }
+ { }
required_device<cpu_device> m_maincpu;
required_device<cassette_image_device> m_cass;
@@ -182,8 +182,8 @@ void pv2000_state::pv2000_map(address_map &map)
{
map(0x0000, 0x3fff).rom();
- map(0x4000, 0x4000).rw("tms9928a", FUNC(tms9928a_device::vram_read), FUNC(tms9928a_device::vram_write));
- map(0x4001, 0x4001).rw("tms9928a", FUNC(tms9928a_device::register_read), FUNC(tms9928a_device::register_write));
+ map(0x4000, 0x4000).rw("tms9928a", FUNC(tms9928a_device::vram_r), FUNC(tms9928a_device::vram_w));
+ map(0x4001, 0x4001).rw("tms9928a", FUNC(tms9928a_device::register_r), FUNC(tms9928a_device::register_w));
map(0x7000, 0x7fff).ram();
//AM_RANGE(0x8000, 0xbfff) ext ram?
@@ -196,17 +196,17 @@ void pv2000_state::pv2000_io_map(address_map &map)
map.global_mask(0xff);
//theres also printer and tape I/O (TODO)
- map(0x00, 0x00).w(this, FUNC(pv2000_state::cass_conf_w));
+ map(0x00, 0x00).w(FUNC(pv2000_state::cass_conf_w));
//keyboard/joystick
- map(0x10, 0x10).r(this, FUNC(pv2000_state::keys_hi_r));
- map(0x20, 0x20).rw(this, FUNC(pv2000_state::keys_lo_r), FUNC(pv2000_state::keys_w));
+ map(0x10, 0x10).r(FUNC(pv2000_state::keys_hi_r));
+ map(0x20, 0x20).rw(FUNC(pv2000_state::keys_lo_r), FUNC(pv2000_state::keys_w));
//sn76489a
- map(0x40, 0x40).r(this, FUNC(pv2000_state::keys_mod_r)).w("sn76489a", FUNC(sn76489a_device::write));
+ map(0x40, 0x40).r(FUNC(pv2000_state::keys_mod_r)).w("sn76489a", FUNC(sn76489a_device::command_w));
/* Cassette input. Gets hit a lot after a GLOAD command */
- map(0x60, 0x60).rw(this, FUNC(pv2000_state::cass_in), FUNC(pv2000_state::cass_out));
+ map(0x60, 0x60).rw(FUNC(pv2000_state::cass_in), FUNC(pv2000_state::cass_out));
}