summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vtech/memexp/wordpro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vtech/memexp/wordpro.cpp')
-rw-r--r--src/devices/bus/vtech/memexp/wordpro.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/bus/vtech/memexp/wordpro.cpp b/src/devices/bus/vtech/memexp/wordpro.cpp
index 03df6982a61..099702ef844 100644
--- a/src/devices/bus/vtech/memexp/wordpro.cpp
+++ b/src/devices/bus/vtech/memexp/wordpro.cpp
@@ -14,7 +14,7 @@
// DEVICE DEFINITIONS
//**************************************************************************
-const device_type WORDPRO = device_creator<wordpro_device>;
+DEFINE_DEVICE_TYPE(VTECH_WORDPRO, vtech_wordpro_device, "vtech_wordpro", "DSE VZ-300 WordPro")
//-------------------------------------------------
// rom_region - device-specific ROM region
@@ -27,7 +27,7 @@ ROM_START( wordpro )
ROM_LOAD("wordpro.u5", 0x2000, 0x1000, CRC(2a336802) SHA1(b4de50f943243f18a2bfabef354b76d77178c189))
ROM_END
-const tiny_rom_entry *wordpro_device::device_rom_region() const
+const tiny_rom_entry *vtech_wordpro_device::device_rom_region() const
{
return ROM_NAME( wordpro );
}
@@ -38,12 +38,12 @@ const tiny_rom_entry *wordpro_device::device_rom_region() const
//**************************************************************************
//-------------------------------------------------
-// wordpro_device - constructor
+// vtech_wordpro_device - constructor
//-------------------------------------------------
-wordpro_device::wordpro_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, WORDPRO, "DSE VZ-300 WordPro", tag, owner, clock, "wordpro", __FILE__),
- device_memexp_interface(mconfig, *this)
+vtech_wordpro_device::vtech_wordpro_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+ device_t(mconfig, VTECH_WORDPRO, tag, owner, clock),
+ device_vtech_memexp_interface(mconfig, *this)
{
}
@@ -51,7 +51,7 @@ wordpro_device::wordpro_device(const machine_config &mconfig, const char *tag, d
// device_start - device-specific startup
//-------------------------------------------------
-void wordpro_device::device_start()
+void vtech_wordpro_device::device_start()
{
}
@@ -59,8 +59,8 @@ void wordpro_device::device_start()
// device_reset - device-specific reset
//-------------------------------------------------
-void wordpro_device::device_reset()
+void vtech_wordpro_device::device_reset()
{
- m_slot->m_program->install_rom(0x6000, 0x67ff, memregion("software")->base());
- m_slot->m_program->install_rom(0xd000, 0xffff, memregion("software")->base());
+ program_space().install_rom(0x6000, 0x67ff, memregion("software")->base());
+ program_space().install_rom(0xd000, 0xffff, memregion("software")->base());
}