summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/kc_ram.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-03-26 15:18:37 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-03-26 15:18:37 +0000
commit051011971f9cce5ce1d99a9bfcf691bcf7975448 (patch)
tree7553b5907c3e67e02e4fd0a20f9f07e21a6c08ca /src/mess/machine/kc_ram.c
parentffbe9bdcca43cb1f645cc0387f0835523471b97a (diff)
Expanded device_t constructor with parameters for short name and source file location [Miodrag Milanovic]
Diffstat (limited to 'src/mess/machine/kc_ram.c')
-rw-r--r--src/mess/machine/kc_ram.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mess/machine/kc_ram.c b/src/mess/machine/kc_ram.c
index 26a3c13089c..29853a7d5b0 100644
--- a/src/mess/machine/kc_ram.c
+++ b/src/mess/machine/kc_ram.c
@@ -41,13 +41,13 @@ const device_type KC_M036 = &device_creator<kc_m036_device>;
//-------------------------------------------------
kc_m011_device::kc_m011_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : device_t(mconfig, KC_M011, "M011 64KB RAM", tag, owner, clock),
+ : device_t(mconfig, KC_M011, "M011 64KB RAM", tag, owner, clock, "kc_m011", __FILE__),
device_kcexp_interface( mconfig, *this )
{
}
-kc_m011_device::kc_m011_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
- : device_t(mconfig, type, name, tag, owner, clock),
+kc_m011_device::kc_m011_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+ : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_kcexp_interface( mconfig, *this )
{
}
@@ -146,7 +146,7 @@ WRITE_LINE_MEMBER( kc_m011_device::mei_w )
//-------------------------------------------------
kc_m022_device::kc_m022_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : kc_m011_device(mconfig, KC_M022, "M022 16KB RAM", tag, owner, clock)
+ : kc_m011_device(mconfig, KC_M022, "M022 16KB RAM", tag, owner, clock, "kc_m022", __FILE__)
{
}
@@ -191,7 +191,7 @@ void kc_m022_device::write(offs_t offset, UINT8 data)
//-------------------------------------------------
kc_m032_device::kc_m032_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : kc_m011_device(mconfig, KC_M032, "M032 256KB segmented RAM", tag, owner, clock)
+ : kc_m011_device(mconfig, KC_M032, "M032 256KB segmented RAM", tag, owner, clock, "kc_m032", __FILE__)
{
}
@@ -260,7 +260,7 @@ void kc_m032_device::write(offs_t offset, UINT8 data)
//-------------------------------------------------
kc_m034_device::kc_m034_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : kc_m011_device(mconfig, KC_M034, "M034 512KB segmented RAM", tag, owner, clock)
+ : kc_m011_device(mconfig, KC_M034, "M034 512KB segmented RAM", tag, owner, clock, "kc_m034", __FILE__)
{
}
@@ -329,7 +329,7 @@ void kc_m034_device::write(offs_t offset, UINT8 data)
//-------------------------------------------------
kc_m035_device::kc_m035_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : kc_m011_device(mconfig, KC_M035, "M035 1MB segmented RAM", tag, owner, clock)
+ : kc_m011_device(mconfig, KC_M035, "M035 1MB segmented RAM", tag, owner, clock, "kc_m035", __FILE__)
{
}
@@ -387,7 +387,7 @@ void kc_m035_device::write(offs_t offset, UINT8 data)
//-------------------------------------------------
kc_m036_device::kc_m036_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : kc_m011_device(mconfig, KC_M036, "M036 128KB segmented RAM", tag, owner, clock)
+ : kc_m011_device(mconfig, KC_M036, "M036 128KB segmented RAM", tag, owner, clock, "kc_m036", __FILE__)
{
}