mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
Expanded device_t constructor with parameters for short name and source file location [Miodrag Milanovic]
This commit is contained in:
parent
ffbe9bdcca
commit
051011971f
@ -45,7 +45,7 @@
|
||||
const device_type DECO16 = &device_creator<deco16_device>;
|
||||
|
||||
deco16_device::deco16_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m6502_device(mconfig, DECO16, "DECO16", tag, owner, clock),
|
||||
m6502_device(mconfig, DECO16, "DECO16", tag, owner, clock, "deco16", __FILE__),
|
||||
io_config("io", ENDIANNESS_LITTLE, 8, 16)
|
||||
{
|
||||
}
|
||||
|
@ -35,8 +35,8 @@ const device_type M37450 = &device_creator<m37450_device>;
|
||||
//-------------------------------------------------
|
||||
// m3745x_device - constructor
|
||||
//-------------------------------------------------
|
||||
m3745x_device::m3745x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map) :
|
||||
m740_device(mconfig, type, name, tag, owner, clock),
|
||||
m3745x_device::m3745x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map, const char *shortname, const char *source) :
|
||||
m740_device(mconfig, type, name, tag, owner, clock, "m3745x", source),
|
||||
m_program_config("program", ENDIANNESS_LITTLE, 8, 16, 0, internal_map),
|
||||
read_p3(*this),
|
||||
read_p4(*this),
|
||||
@ -57,11 +57,6 @@ m3745x_device::m3745x_device(const machine_config &mconfig, device_type type, co
|
||||
{
|
||||
}
|
||||
|
||||
void m3745x_device::device_config_complete()
|
||||
{
|
||||
m_shortname = "m3745x";
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_start - device-specific startup
|
||||
//-------------------------------------------------
|
||||
@ -496,11 +491,11 @@ static ADDRESS_MAP_START( m37450_map, AS_PROGRAM, 8, m37450_device )
|
||||
ADDRESS_MAP_END
|
||||
|
||||
m37450_device::m37450_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m3745x_device(mconfig, M37450, "Mitsubishi M37450", tag, owner, clock, ADDRESS_MAP_NAME(m37450_map))
|
||||
m3745x_device(mconfig, M37450, "Mitsubishi M37450", tag, owner, clock, ADDRESS_MAP_NAME(m37450_map), "m3745x", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
m37450_device::m37450_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m3745x_device(mconfig, type, name, tag, owner, clock, ADDRESS_MAP_NAME(m37450_map))
|
||||
m37450_device::m37450_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) :
|
||||
m3745x_device(mconfig, type, name, tag, owner, clock, ADDRESS_MAP_NAME(m37450_map), shortname, source)
|
||||
{
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ public:
|
||||
};
|
||||
|
||||
// construction/destruction
|
||||
m3745x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map);
|
||||
m3745x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map, const char *shortname, const char *source);
|
||||
|
||||
const address_space_config m_program_config;
|
||||
|
||||
@ -122,7 +122,6 @@ protected:
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
|
||||
virtual void device_config_complete();
|
||||
virtual void execute_set_input(int inputnum, int state);
|
||||
virtual const address_space_config *memory_space_config(address_spacenum spacenum) const { return (spacenum == AS_PROGRAM) ? &m_program_config : NULL; }
|
||||
|
||||
@ -144,7 +143,7 @@ class m37450_device : public m3745x_device
|
||||
{
|
||||
public:
|
||||
m37450_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
m37450_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
m37450_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);
|
||||
|
||||
protected:
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
const device_type M4510 = &device_creator<m4510_device>;
|
||||
|
||||
m4510_device::m4510_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m65ce02_device(mconfig, M4510, "M4510", tag, owner, clock)
|
||||
m65ce02_device(mconfig, M4510, "M4510", tag, owner, clock, "m4510", __FILE__)
|
||||
{
|
||||
program_config.m_addrbus_width = 20;
|
||||
program_config.m_logaddr_width = 16;
|
||||
|
@ -37,8 +37,8 @@ const device_type M50741 = &device_creator<m50741_device>;
|
||||
//-------------------------------------------------
|
||||
// m5074x_device - constructor
|
||||
//-------------------------------------------------
|
||||
m5074x_device::m5074x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map) :
|
||||
m740_device(mconfig, type, name, tag, owner, clock),
|
||||
m5074x_device::m5074x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map, const char *shortname, const char *source) :
|
||||
m740_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
m_program_config("program", ENDIANNESS_LITTLE, 8, 16, 0, internal_map),
|
||||
read_p0(*this),
|
||||
read_p1(*this),
|
||||
@ -51,11 +51,6 @@ m5074x_device::m5074x_device(const machine_config &mconfig, device_type type, co
|
||||
{
|
||||
}
|
||||
|
||||
void m5074x_device::device_config_complete()
|
||||
{
|
||||
m_shortname = "m5074x";
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_start - device-specific startup
|
||||
//-------------------------------------------------
|
||||
@ -483,12 +478,12 @@ static ADDRESS_MAP_START( m50740_map, AS_PROGRAM, 8, m50740_device )
|
||||
ADDRESS_MAP_END
|
||||
|
||||
m50740_device::m50740_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m5074x_device(mconfig, M50740, "Mitsubishi M50740", tag, owner, clock, ADDRESS_MAP_NAME(m50740_map))
|
||||
m5074x_device(mconfig, M50740, "Mitsubishi M50740", tag, owner, clock, ADDRESS_MAP_NAME(m50740_map), "m50740", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
m50740_device::m50740_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m5074x_device(mconfig, type, name, tag, owner, clock, ADDRESS_MAP_NAME(m50740_map))
|
||||
m50740_device::m50740_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) :
|
||||
m5074x_device(mconfig, type, name, tag, owner, clock, ADDRESS_MAP_NAME(m50740_map), shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
@ -502,12 +497,12 @@ static ADDRESS_MAP_START( m50741_map, AS_PROGRAM, 8, m50741_device )
|
||||
ADDRESS_MAP_END
|
||||
|
||||
m50741_device::m50741_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m5074x_device(mconfig, M50740, "Mitsubishi M50741", tag, owner, clock, ADDRESS_MAP_NAME(m50741_map))
|
||||
m5074x_device(mconfig, M50740, "Mitsubishi M50741", tag, owner, clock, ADDRESS_MAP_NAME(m50741_map), "m50741", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
m50741_device::m50741_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m5074x_device(mconfig, type, name, tag, owner, clock, ADDRESS_MAP_NAME(m50741_map))
|
||||
m50741_device::m50741_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) :
|
||||
m5074x_device(mconfig, type, name, tag, owner, clock, ADDRESS_MAP_NAME(m50741_map), shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ class m5074x_device : public m740_device
|
||||
|
||||
public:
|
||||
// construction/destruction
|
||||
m5074x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map);
|
||||
m5074x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor internal_map, const char *shortname, const char *source);
|
||||
|
||||
const address_space_config m_program_config;
|
||||
|
||||
@ -117,7 +117,7 @@ class m50740_device : public m5074x_device
|
||||
{
|
||||
public:
|
||||
m50740_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
m50740_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
m50740_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);
|
||||
|
||||
protected:
|
||||
|
||||
@ -128,7 +128,7 @@ class m50741_device : public m5074x_device
|
||||
{
|
||||
public:
|
||||
m50741_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
m50741_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
m50741_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);
|
||||
|
||||
protected:
|
||||
|
||||
|
@ -44,14 +44,14 @@
|
||||
const device_type M6502 = &device_creator<m6502_device>;
|
||||
|
||||
m6502_device::m6502_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
cpu_device(mconfig, M6502, "M6502", tag, owner, clock),
|
||||
cpu_device(mconfig, M6502, "M6502", tag, owner, clock, "m6502", __FILE__),
|
||||
program_config("program", ENDIANNESS_LITTLE, 8, 16)
|
||||
{
|
||||
direct_disabled = false;
|
||||
}
|
||||
|
||||
m6502_device::m6502_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
cpu_device(mconfig, type, name, tag, owner, clock),
|
||||
m6502_device::m6502_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) :
|
||||
cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
program_config("program", ENDIANNESS_LITTLE, 8, 16)
|
||||
{
|
||||
direct_disabled = false;
|
||||
|
@ -53,7 +53,7 @@ public:
|
||||
};
|
||||
|
||||
m6502_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
m6502_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
m6502_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);
|
||||
|
||||
UINT64 get_cycle();
|
||||
bool get_sync() const { return sync; }
|
||||
|
@ -43,7 +43,7 @@
|
||||
const device_type M6504 = &device_creator<m6504_device>;
|
||||
|
||||
m6504_device::m6504_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m6502_device(mconfig, M6504, "M6504", tag, owner, clock)
|
||||
m6502_device(mconfig, M6504, "M6504", tag, owner, clock, "m6504", __FILE__)
|
||||
{
|
||||
program_config.m_addrbus_width = 13;
|
||||
}
|
||||
|
@ -43,7 +43,7 @@
|
||||
const device_type M6509 = &device_creator<m6509_device>;
|
||||
|
||||
m6509_device::m6509_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m6502_device(mconfig, M6509, "M6509", tag, owner, clock)
|
||||
m6502_device(mconfig, M6509, "M6509", tag, owner, clock, "m6509", __FILE__)
|
||||
{
|
||||
program_config.m_addrbus_width = 20;
|
||||
program_config.m_logaddr_width = 20;
|
||||
|
@ -43,7 +43,7 @@
|
||||
const device_type M6510 = &device_creator<m6510_device>;
|
||||
|
||||
m6510_device::m6510_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m6502_device(mconfig, M6510, "M6510", tag, owner, clock),
|
||||
m6502_device(mconfig, M6510, "M6510", tag, owner, clock, "m6510", __FILE__),
|
||||
read_port(*this),
|
||||
write_port(*this)
|
||||
{
|
||||
@ -51,8 +51,8 @@ m6510_device::m6510_device(const machine_config &mconfig, const char *tag, devic
|
||||
floating = 0x00;
|
||||
}
|
||||
|
||||
m6510_device::m6510_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m6502_device(mconfig, type, name, tag, owner, clock),
|
||||
m6510_device::m6510_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) :
|
||||
m6502_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
read_port(*this),
|
||||
write_port(*this)
|
||||
{
|
||||
|
@ -51,7 +51,7 @@
|
||||
class m6510_device : public m6502_device {
|
||||
public:
|
||||
m6510_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
m6510_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
m6510_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);
|
||||
|
||||
UINT8 get_port();
|
||||
void set_port(UINT8 val);
|
||||
|
@ -43,6 +43,6 @@
|
||||
const device_type M6510T = &device_creator<m6510t_device>;
|
||||
|
||||
m6510t_device::m6510t_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m6510_device(mconfig, M6510T, "M6510T", tag, owner, clock)
|
||||
m6510_device(mconfig, M6510T, "M6510T", tag, owner, clock, "m6510t", __FILE__)
|
||||
{
|
||||
}
|
||||
|
@ -44,12 +44,12 @@
|
||||
const device_type M65C02 = &device_creator<m65c02_device>;
|
||||
|
||||
m65c02_device::m65c02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m6502_device(mconfig, M65C02, "M65C02", tag, owner, clock)
|
||||
m6502_device(mconfig, M65C02, "M65C02", tag, owner, clock, "mc65c02", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
m65c02_device::m65c02_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m6502_device(mconfig, type, name, tag, owner, clock)
|
||||
m65c02_device::m65c02_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) :
|
||||
m6502_device(mconfig, type, name, tag, owner, clock, shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
||||
class m65c02_device : public m6502_device {
|
||||
public:
|
||||
m65c02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
m65c02_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
m65c02_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);
|
||||
|
||||
static const disasm_entry disasm_entries[0x100];
|
||||
|
||||
|
@ -43,12 +43,12 @@
|
||||
const device_type M65CE02 = &device_creator<m65ce02_device>;
|
||||
|
||||
m65ce02_device::m65ce02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m65c02_device(mconfig, M65CE02, "M65CE02", tag, owner, clock)
|
||||
m65c02_device(mconfig, M65CE02, "M65CE02", tag, owner, clock, "m65ce02", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
m65ce02_device::m65ce02_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m65c02_device(mconfig, type, name, tag, owner, clock)
|
||||
m65ce02_device::m65ce02_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) :
|
||||
m65c02_device(mconfig, type, name, tag, owner, clock, shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
class m65ce02_device : public m65c02_device {
|
||||
public:
|
||||
m65ce02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
m65ce02_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
m65ce02_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);
|
||||
|
||||
static const disasm_entry disasm_entries[0x100];
|
||||
|
||||
|
@ -43,6 +43,6 @@
|
||||
const device_type M65SC02 = &device_creator<m65sc02_device>;
|
||||
|
||||
m65sc02_device::m65sc02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
r65c02_device(mconfig, M65SC02, "M65SC02", tag, owner, clock)
|
||||
r65c02_device(mconfig, M65SC02, "M65SC02", tag, owner, clock, "m65sc02", __FILE__)
|
||||
{
|
||||
}
|
||||
|
@ -43,12 +43,12 @@
|
||||
const device_type M740 = &device_creator<m740_device>;
|
||||
|
||||
m740_device::m740_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m6502_device(mconfig, M740, "M740", tag, owner, clock)
|
||||
m6502_device(mconfig, M740, "M740", tag, owner, clock, "m740", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
m740_device::m740_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m6502_device(mconfig, type, name, tag, owner, clock)
|
||||
m740_device::m740_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) :
|
||||
m6502_device(mconfig, type, name, tag, owner, clock, shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -66,7 +66,7 @@ public:
|
||||
};
|
||||
|
||||
m740_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
m740_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
m740_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);
|
||||
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
|
@ -43,6 +43,6 @@
|
||||
const device_type M7501 = &device_creator<m7501_device>;
|
||||
|
||||
m7501_device::m7501_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m6510_device(mconfig, M7501, "M7501", tag, owner, clock)
|
||||
m6510_device(mconfig, M7501, "M7501", tag, owner, clock, "m7501", __FILE__)
|
||||
{
|
||||
}
|
||||
|
@ -43,6 +43,6 @@
|
||||
const device_type M8502 = &device_creator<m8502_device>;
|
||||
|
||||
m8502_device::m8502_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m6510_device(mconfig, M8502, "M8502", tag, owner, clock)
|
||||
m6510_device(mconfig, M8502, "M8502", tag, owner, clock, "m8502", __FILE__)
|
||||
{
|
||||
}
|
||||
|
@ -43,7 +43,7 @@
|
||||
const device_type N2A03 = &device_creator<n2a03_device>;
|
||||
|
||||
n2a03_device::n2a03_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m6502_device(mconfig, N2A03, "N2A03", tag, owner, clock)
|
||||
m6502_device(mconfig, N2A03, "N2A03", tag, owner, clock, "n2a03", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -43,12 +43,12 @@
|
||||
const device_type R65C02 = &device_creator<r65c02_device>;
|
||||
|
||||
r65c02_device::r65c02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m65c02_device(mconfig, R65C02, "R65C02", tag, owner, clock)
|
||||
m65c02_device(mconfig, R65C02, "R65C02", tag, owner, clock, "r65c02", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
r65c02_device::r65c02_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
m65c02_device(mconfig, type, name, tag, owner, clock)
|
||||
r65c02_device::r65c02_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) :
|
||||
m65c02_device(mconfig, type, name, tag, owner, clock, shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
class r65c02_device : public m65c02_device {
|
||||
public:
|
||||
r65c02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
r65c02_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
r65c02_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);
|
||||
|
||||
static const disasm_entry disasm_entries[0x100];
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include "emu.h"
|
||||
#include "i8x9x.h"
|
||||
|
||||
i8x9x_device::i8x9x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
i8x9x_device::i8x9x_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) :
|
||||
mcs96_device(mconfig, type, name, tag, owner, clock, 8),
|
||||
io_config("io", ENDIANNESS_LITTLE, 16, 16, -1)
|
||||
{
|
||||
@ -387,12 +387,12 @@ void i8x9x_device::internal_update(UINT64 current_time)
|
||||
}
|
||||
|
||||
c8095_device::c8095_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
i8x9x_device(mconfig, C8095, "C8095", tag, owner, clock)
|
||||
i8x9x_device(mconfig, C8095, "C8095", tag, owner, clock, "c8095", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
p8098_device::p8098_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
i8x9x_device(mconfig, P8098, "P8098", tag, owner, clock)
|
||||
i8x9x_device(mconfig, P8098, "P8098", tag, owner, clock, "p8098", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
P0, P1, P2
|
||||
};
|
||||
|
||||
i8x9x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
i8x9x_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);
|
||||
|
||||
void serial_w(UINT8 val);
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include "emu.h"
|
||||
#include "i8xc196.h"
|
||||
|
||||
i8xc196_device::i8xc196_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
i8xc196_device::i8xc196_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) :
|
||||
mcs96_device(mconfig, type, name, tag, owner, clock, 16)
|
||||
{
|
||||
}
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
class i8xc196_device : public mcs96_device {
|
||||
public:
|
||||
i8xc196_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
i8xc196_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);
|
||||
|
||||
static const disasm_entry disasm_entries[0x100];
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "sio.h"
|
||||
#include "siodev.h"
|
||||
|
||||
psxsiodev_device::psxsiodev_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),
|
||||
psxsiodev_device::psxsiodev_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),
|
||||
m_dataout(0)
|
||||
{
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ class psxsiodev_device : public device_t
|
||||
|
||||
public:
|
||||
// construction/destruction
|
||||
psxsiodev_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
psxsiodev_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);
|
||||
|
||||
protected:
|
||||
// device-level overrides
|
||||
|
@ -280,8 +280,8 @@ void tms3203x_device::tmsreg::from_double(double val)
|
||||
// tms3203x_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
tms3203x_device::tms3203x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype, address_map_constructor internal_map)
|
||||
: cpu_device(mconfig, type, name, tag, owner, clock),
|
||||
tms3203x_device::tms3203x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype, address_map_constructor internal_map, const char *shortname, const char *source)
|
||||
: cpu_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
m_program_config("program", ENDIANNESS_LITTLE, 32, 24, -2, internal_map),
|
||||
m_chip_type(chiptype),
|
||||
m_pc(0),
|
||||
@ -312,15 +312,13 @@ tms3203x_device::tms3203x_device(const machine_config &mconfig, device_type type
|
||||
}
|
||||
|
||||
tms32031_device::tms32031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: tms3203x_device(mconfig, TMS32031, "TMS32031", tag, owner, clock, CHIP_TYPE_TMS32031, ADDRESS_MAP_NAME(internal_32031))
|
||||
: tms3203x_device(mconfig, TMS32031, "TMS32031", tag, owner, clock, CHIP_TYPE_TMS32031, ADDRESS_MAP_NAME(internal_32031), "tms32031", __FILE__)
|
||||
{
|
||||
m_shortname = "tms32031";
|
||||
}
|
||||
|
||||
tms32032_device::tms32032_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: tms3203x_device(mconfig, TMS32032, "TMS32032", tag, owner, clock, CHIP_TYPE_TMS32032, ADDRESS_MAP_NAME(internal_32032))
|
||||
: tms3203x_device(mconfig, TMS32032, "TMS32032", tag, owner, clock, CHIP_TYPE_TMS32032, ADDRESS_MAP_NAME(internal_32032), "tms32032", __FILE__)
|
||||
{
|
||||
m_shortname = "tms32032";
|
||||
}
|
||||
|
||||
|
||||
@ -422,7 +420,7 @@ void tms3203x_device::device_start()
|
||||
m_direct = &m_program->direct();
|
||||
|
||||
// set up the internal boot loader ROM
|
||||
m_bootrom = reinterpret_cast<UINT32*>(memregion(m_shortname)->base());
|
||||
m_bootrom = reinterpret_cast<UINT32*>(memregion(shortname())->base());
|
||||
m_direct->set_direct_update(direct_update_delegate(FUNC(tms3203x_device::direct_handler), this));
|
||||
|
||||
// save state
|
||||
|
@ -183,7 +183,7 @@ protected:
|
||||
};
|
||||
|
||||
// construction/destruction
|
||||
tms3203x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype, address_map_constructor internal_map);
|
||||
tms3203x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 chiptype, address_map_constructor internal_map, const char *shortname, const char *source);
|
||||
virtual ~tms3203x_device();
|
||||
|
||||
public:
|
||||
|
@ -50,8 +50,8 @@
|
||||
// cpu_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
cpu_device::cpu_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),
|
||||
cpu_device::cpu_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_execute_interface(mconfig, *this),
|
||||
device_memory_interface(mconfig, *this),
|
||||
device_state_interface(mconfig, *this),
|
||||
@ -74,7 +74,7 @@ cpu_device::~cpu_device()
|
||||
//-------------------------------------------------
|
||||
|
||||
legacy_cpu_device::legacy_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, UINT32 clock, cpu_get_info_func get_info)
|
||||
: cpu_device(mconfig, type, "CPU", tag, owner, clock),
|
||||
: cpu_device(mconfig, type, "CPU", tag, owner, clock, "", __FILE__),
|
||||
m_get_info(get_info),
|
||||
m_token(NULL),
|
||||
m_set_info(reinterpret_cast<cpu_set_info_func>(get_legacy_fct(CPUINFO_FCT_SET_INFO))),
|
||||
|
@ -378,7 +378,7 @@ class cpu_device : public device_t,
|
||||
|
||||
protected:
|
||||
// construction/destruction
|
||||
cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
cpu_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 = __FILE__);
|
||||
virtual ~cpu_device();
|
||||
};
|
||||
|
||||
|
@ -96,45 +96,7 @@ resource_pool &machine_get_pool(running_machine &machine)
|
||||
// from the provided config
|
||||
//-------------------------------------------------
|
||||
|
||||
device_t::device_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
|
||||
: m_type(type),
|
||||
m_name(name),
|
||||
m_owner(owner),
|
||||
m_next(NULL),
|
||||
|
||||
m_interface_list(NULL),
|
||||
m_execute(NULL),
|
||||
m_memory(NULL),
|
||||
m_state(NULL),
|
||||
|
||||
m_configured_clock(clock),
|
||||
m_unscaled_clock(clock),
|
||||
m_clock(clock),
|
||||
m_clock_scale(1.0),
|
||||
m_attoseconds_per_clock((clock == 0) ? 0 : HZ_TO_ATTOSECONDS(clock)),
|
||||
|
||||
m_debug(NULL),
|
||||
m_region(NULL),
|
||||
m_machine_config(mconfig),
|
||||
m_static_config(NULL),
|
||||
m_input_defaults(NULL),
|
||||
|
||||
m_machine(NULL),
|
||||
m_save(NULL),
|
||||
m_basetag(tag),
|
||||
m_config_complete(false),
|
||||
m_started(false),
|
||||
m_auto_finder_list(NULL)
|
||||
{
|
||||
if (owner != NULL)
|
||||
m_tag.cpy((owner->owner() == NULL) ? "" : owner->tag()).cat(":").cat(tag);
|
||||
else
|
||||
m_tag.cpy(":");
|
||||
static_set_clock(*this, clock);
|
||||
}
|
||||
|
||||
|
||||
device_t::device_t(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock)
|
||||
device_t::device_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
|
||||
: m_type(type),
|
||||
m_name(name),
|
||||
m_shortname(shortname),
|
||||
|
@ -145,8 +145,7 @@ class device_t : public delegate_late_bind
|
||||
|
||||
protected:
|
||||
// construction/destruction
|
||||
device_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
device_t(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock);
|
||||
device_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock,const char *shortname = "", const char *source = __FILE__);
|
||||
virtual ~device_t();
|
||||
|
||||
public:
|
||||
|
@ -61,7 +61,7 @@ ADDRESS_MAP_END
|
||||
//-------------------------------------------------
|
||||
|
||||
driver_device::driver_device(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: device_t(mconfig, type, "Driver Device", tag, NULL, 0),
|
||||
: device_t(mconfig, type, "Driver Device", tag, NULL, 0, "", __FILE__),
|
||||
device_memory_interface(mconfig, *this),
|
||||
m_generic_paletteram_8(*this, "paletteram"),
|
||||
m_generic_paletteram2_8(*this, "paletteram2"),
|
||||
|
@ -30,7 +30,7 @@ cdrom_image_device::cdrom_image_device(const machine_config &mconfig, const char
|
||||
{
|
||||
}
|
||||
|
||||
cdrom_image_device::cdrom_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock)
|
||||
cdrom_image_device::cdrom_image_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),
|
||||
device_image_interface(mconfig, *this)
|
||||
{
|
||||
|
@ -31,7 +31,7 @@ class cdrom_image_device : public device_t,
|
||||
public:
|
||||
// construction/destruction
|
||||
cdrom_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
cdrom_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
cdrom_image_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);
|
||||
virtual ~cdrom_image_device();
|
||||
|
||||
// image-level overrides
|
||||
|
@ -855,8 +855,8 @@ legacy_floppy_image_device::legacy_floppy_image_device(const machine_config &mco
|
||||
m_token = global_alloc_clear(floppy_drive);
|
||||
}
|
||||
|
||||
legacy_floppy_image_device::legacy_floppy_image_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),
|
||||
legacy_floppy_image_device::legacy_floppy_image_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_image_interface(mconfig, *this),
|
||||
m_token(NULL)
|
||||
{
|
||||
|
@ -184,7 +184,7 @@ class legacy_floppy_image_device : public device_t,
|
||||
public:
|
||||
// construction/destruction
|
||||
legacy_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
legacy_floppy_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
legacy_floppy_image_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);
|
||||
~legacy_floppy_image_device();
|
||||
|
||||
virtual bool call_load();
|
||||
|
@ -77,8 +77,8 @@ floppy_image_device *floppy_connector::get_device()
|
||||
// floppy_image_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
floppy_image_device::floppy_image_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),
|
||||
floppy_image_device::floppy_image_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_image_interface(mconfig, *this),
|
||||
device_slot_card_interface(mconfig, *this),
|
||||
image(NULL)
|
||||
@ -895,7 +895,7 @@ void ui_menu_control_floppy_image::handle()
|
||||
}
|
||||
|
||||
floppy_3_ssdd::floppy_3_ssdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_3_SSDD, "3\" single sided floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_3_SSDD, "3\" single sided floppy drive", tag, owner, clock, "floppy_3_ssdd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -918,7 +918,7 @@ void floppy_3_ssdd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_3_dsdd::floppy_3_dsdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_3_DSDD, "3\" double sided floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_3_DSDD, "3\" double sided floppy drive", tag, owner, clock, "floppy_3_dsdd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -942,7 +942,7 @@ void floppy_3_dsdd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_35_dd::floppy_35_dd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_35_DD, "3.5\" double density floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_35_DD, "3.5\" double density floppy drive", tag, owner, clock, "floppy_35_dd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -967,7 +967,7 @@ void floppy_35_dd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_35_dd_nosd::floppy_35_dd_nosd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_35_DD_NOSD, "3.5\" double density floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_35_DD_NOSD, "3.5\" double density floppy drive", tag, owner, clock, "floppy_35_dd_nosd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -991,7 +991,7 @@ void floppy_35_dd_nosd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_35_hd::floppy_35_hd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_35_HD, "3.5\" high density floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_35_HD, "3.5\" high density floppy drive", tag, owner, clock, "floppy_35_hd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1017,7 +1017,7 @@ void floppy_35_hd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_35_ed::floppy_35_ed(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_35_ED, "3.5\" extended density floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_35_ED, "3.5\" extended density floppy drive", tag, owner, clock, "floppy_35_ed", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1044,7 +1044,7 @@ void floppy_35_ed::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_525_sssd_35t::floppy_525_sssd_35t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_525_SSSD_35T, "5.25\" single-sided single density 35-track floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_525_SSSD_35T, "5.25\" single-sided single density 35-track floppy drive", tag, owner, clock, "floppy_525_sssd_35t", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1067,7 +1067,7 @@ void floppy_525_sssd_35t::handled_variants(UINT32 *variants, int &var_count) con
|
||||
}
|
||||
|
||||
floppy_525_sd_35t::floppy_525_sd_35t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_525_SD_35T, "5.25\" single density 35-track floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_525_SD_35T, "5.25\" single density 35-track floppy drive", tag, owner, clock, "floppy_525_sd_35t", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1090,7 +1090,7 @@ void floppy_525_sd_35t::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_525_sssd::floppy_525_sssd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_525_SSSD, "5.25\" single-sided single density floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_525_SSSD, "5.25\" single-sided single density floppy drive", tag, owner, clock, "floppy_525_sssd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1113,7 +1113,7 @@ void floppy_525_sssd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_525_sd::floppy_525_sd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_525_SD, "5.25\" single density floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_525_SD, "5.25\" single density floppy drive", tag, owner, clock, "floppy_525_sd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1136,7 +1136,7 @@ void floppy_525_sd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_525_ssdd::floppy_525_ssdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_525_SSDD, "5.25\" single-sided double density floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_525_SSDD, "5.25\" single-sided double density floppy drive", tag, owner, clock, "floppy_525_ssdd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1160,7 +1160,7 @@ void floppy_525_ssdd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_525_dd::floppy_525_dd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_525_DD, "5.25\" double density floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_525_DD, "5.25\" double density floppy drive", tag, owner, clock, "floppy_525_dd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1185,7 +1185,7 @@ void floppy_525_dd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_525_qd::floppy_525_qd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_525_QD, "5.25\" quad density floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_525_QD, "5.25\" quad density floppy drive", tag, owner, clock, "floppy_525_qd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1212,7 +1212,7 @@ void floppy_525_qd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_525_hd::floppy_525_hd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_525_HD, "5.25\" high density floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_525_HD, "5.25\" high density floppy drive", tag, owner, clock, "floppy_525_hd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1240,7 +1240,7 @@ void floppy_525_hd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_8_sssd::floppy_8_sssd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_8_SSSD, "8\" single density single sided floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_8_SSSD, "8\" single density single sided floppy drive", tag, owner, clock, "floppy_8_sssd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1264,7 +1264,7 @@ void floppy_8_sssd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_8_dssd::floppy_8_dssd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_8_DSSD, "8\" single density double sided floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_8_DSSD, "8\" single density double sided floppy drive", tag, owner, clock, "floppy_8_dssd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1289,7 +1289,7 @@ void floppy_8_dssd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_8_ssdd::floppy_8_ssdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_8_DSDD, "8\" double density single sided floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_8_DSDD, "8\" double density single sided floppy drive", tag, owner, clock, "floppy_8_ssdd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -1314,7 +1314,7 @@ void floppy_8_ssdd::handled_variants(UINT32 *variants, int &var_count) const
|
||||
}
|
||||
|
||||
floppy_8_dsdd::floppy_8_dsdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
floppy_image_device(mconfig, FLOPPY_8_DSDD, "8\" double density double sided floppy drive", tag, owner, clock)
|
||||
floppy_image_device(mconfig, FLOPPY_8_DSDD, "8\" double density double sided floppy drive", tag, owner, clock, "floppy_8_dsdd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -52,7 +52,7 @@ public:
|
||||
typedef delegate<void (floppy_image_device *, int)> wpt_cb;
|
||||
|
||||
// construction/destruction
|
||||
floppy_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
floppy_image_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);
|
||||
virtual ~floppy_image_device();
|
||||
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const = 0;
|
||||
@ -201,7 +201,6 @@ public:
|
||||
floppy_3_ssdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_3_ssdd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_3_ssdd"; }
|
||||
virtual const char *image_interface() const { return "floppy_3"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -212,7 +211,6 @@ public:
|
||||
floppy_3_dsdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_3_dsdd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_3_dsdd"; }
|
||||
virtual const char *image_interface() const { return "floppy_3"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -223,7 +221,6 @@ public:
|
||||
floppy_35_dd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_35_dd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_35_dd"; }
|
||||
virtual const char *image_interface() const { return "floppy_3_5"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -234,7 +231,6 @@ public:
|
||||
floppy_35_dd_nosd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_35_dd_nosd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_35_dd_nosd"; }
|
||||
virtual const char *image_interface() const { return "floppy_3_5"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -245,7 +241,6 @@ public:
|
||||
floppy_35_hd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_35_hd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_35_hd"; }
|
||||
virtual const char *image_interface() const { return "floppy_3_5"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -256,7 +251,6 @@ public:
|
||||
floppy_35_ed(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_35_ed();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_35_ed"; }
|
||||
virtual const char *image_interface() const { return "floppy_3_5"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -267,7 +261,6 @@ public:
|
||||
floppy_525_sssd_35t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_525_sssd_35t();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_525_sssd_35t"; }
|
||||
virtual const char *image_interface() const { return "floppy_5_25"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -278,7 +271,6 @@ public:
|
||||
floppy_525_sd_35t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_525_sd_35t();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_525_sd_35t"; }
|
||||
virtual const char *image_interface() const { return "floppy_5_25"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -289,7 +281,6 @@ public:
|
||||
floppy_525_sssd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_525_sssd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_525_sssd"; }
|
||||
virtual const char *image_interface() const { return "floppy_5_25"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -300,7 +291,6 @@ public:
|
||||
floppy_525_sd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_525_sd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_525_sd"; }
|
||||
virtual const char *image_interface() const { return "floppy_5_25"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -311,7 +301,6 @@ public:
|
||||
floppy_525_ssdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_525_ssdd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_525_ssdd"; }
|
||||
virtual const char *image_interface() const { return "floppy_5_25"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -322,7 +311,6 @@ public:
|
||||
floppy_525_dd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_525_dd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_525_dd"; }
|
||||
virtual const char *image_interface() const { return "floppy_5_25"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -333,7 +321,6 @@ public:
|
||||
floppy_525_qd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_525_qd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_525_qd"; }
|
||||
virtual const char *image_interface() const { return "floppy_5_25"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -344,7 +331,6 @@ public:
|
||||
floppy_525_hd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_525_hd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_525_hd"; }
|
||||
virtual const char *image_interface() const { return "floppy_5_25"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -355,7 +341,6 @@ public:
|
||||
floppy_8_sssd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_8_sssd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_8_sssd"; }
|
||||
virtual const char *image_interface() const { return "floppy_8"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -366,7 +351,6 @@ public:
|
||||
floppy_8_dssd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_8_dssd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_8_dssd"; }
|
||||
virtual const char *image_interface() const { return "floppy_8"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -377,7 +361,6 @@ public:
|
||||
floppy_8_ssdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_8_ssdd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_8_ssdd"; }
|
||||
virtual const char *image_interface() const { return "floppy_8"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
@ -388,7 +371,6 @@ public:
|
||||
floppy_8_dsdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~floppy_8_dsdd();
|
||||
virtual void handled_variants(UINT32 *variants, int &var_count) const;
|
||||
virtual void device_config_complete() { m_shortname = "floppy_8_dsdd"; }
|
||||
virtual const char *image_interface() const { return "floppy_8"; }
|
||||
protected:
|
||||
virtual void setup_characteristics();
|
||||
|
@ -24,8 +24,8 @@ snapshot_image_device::snapshot_image_device(const machine_config &mconfig, cons
|
||||
{
|
||||
}
|
||||
|
||||
snapshot_image_device::snapshot_image_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),
|
||||
snapshot_image_device::snapshot_image_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_image_interface(mconfig, *this),
|
||||
m_interface(NULL),
|
||||
m_delay_attoseconds(0)
|
||||
@ -97,6 +97,6 @@ const device_type QUICKLOAD = &device_creator<quickload_image_device>;
|
||||
//-------------------------------------------------
|
||||
|
||||
quickload_image_device::quickload_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: snapshot_image_device(mconfig, QUICKLOAD, "Quickload", tag, owner, clock)
|
||||
: snapshot_image_device(mconfig, QUICKLOAD, "Quickload", tag, owner, clock, "quickload", __FILE__)
|
||||
{
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ class snapshot_image_device : public device_t,
|
||||
public:
|
||||
// construction/destruction
|
||||
snapshot_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
snapshot_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
snapshot_image_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);
|
||||
virtual ~snapshot_image_device();
|
||||
|
||||
// image-level overrides
|
||||
|
@ -57,7 +57,7 @@ const device_type NCR53C7XX = &device_creator<ncr53c7xx_device>;
|
||||
//-------------------------------------------------
|
||||
|
||||
ncr53c7xx_device::ncr53c7xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: nscsi_device(mconfig, NCR53C7XX, "53C7xx SCSI", tag, owner, clock),
|
||||
: nscsi_device(mconfig, NCR53C7XX, "53C7xx SCSI", tag, owner, clock, "ncr537xx", __FILE__),
|
||||
device_execute_interface(mconfig, *this),
|
||||
m_icount(0)
|
||||
{
|
||||
@ -188,9 +188,7 @@ void ncr53c7xx_device::device_config_complete()
|
||||
else
|
||||
{
|
||||
memset(&m_out_irq_cb, 0, sizeof(m_out_irq_cb));
|
||||
}
|
||||
|
||||
m_shortname = "ncr537xx";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
const device_type CR589 = &device_creator<cr589_device>;
|
||||
|
||||
cr589_device::cr589_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: scsicd_device(mconfig, CR589, "CR589", tag, owner, clock)
|
||||
: scsicd_device(mconfig, CR589, "CR589", tag, owner, clock, "cr589", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -138,7 +138,7 @@ MACHINE_CONFIG_END
|
||||
//-------------------------------------------------
|
||||
|
||||
centronics_printer_device::centronics_printer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, CENTRONICS_PRINTER, "Centronics Printer", tag, owner, clock),
|
||||
: device_t(mconfig, CENTRONICS_PRINTER, "Centronics Printer", tag, owner, clock, "centronics_printer", __FILE__),
|
||||
device_centronics_peripheral_interface( mconfig, *this )
|
||||
{
|
||||
}
|
||||
|
@ -134,7 +134,6 @@ protected:
|
||||
// device-level overrides
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
virtual void device_config_complete() { m_shortname = "centronics_printer"; }
|
||||
private:
|
||||
printer_image_device *m_printer;
|
||||
centronics_device *m_owner;
|
||||
|
@ -1926,13 +1926,13 @@ const device_type IDE_HARDDISK = &device_creator<ide_hdd_device>;
|
||||
//-------------------------------------------------
|
||||
|
||||
ide_hdd_device::ide_hdd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, IDE_HARDDISK, "IDE Hard Disk", tag, owner, clock),
|
||||
: device_t(mconfig, IDE_HARDDISK, "IDE Hard Disk", tag, owner, clock, "hdd", __FILE__),
|
||||
ide_device_interface( mconfig, *this )
|
||||
{
|
||||
}
|
||||
|
||||
ide_hdd_device::ide_hdd_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),
|
||||
ide_hdd_device::ide_hdd_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),
|
||||
ide_device_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
@ -1994,7 +1994,7 @@ const device_type IDE_HARDDISK_IMAGE = &device_creator<ide_hdd_image_device>;
|
||||
//-------------------------------------------------
|
||||
|
||||
ide_hdd_image_device::ide_hdd_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: ide_hdd_device(mconfig, IDE_HARDDISK_IMAGE, "IDE Hard Disk Image", tag, owner, clock)
|
||||
: ide_hdd_device(mconfig, IDE_HARDDISK_IMAGE, "IDE Hard Disk Image", tag, owner, clock, "hdd_image", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -88,7 +88,7 @@ class ide_hdd_device : public device_t,
|
||||
public:
|
||||
// construction/destruction
|
||||
ide_hdd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
ide_hdd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
ide_hdd_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);
|
||||
|
||||
virtual int read_sector(UINT32 lba, void *buffer) { return hard_disk_read(m_disk, lba, buffer); }
|
||||
virtual int write_sector(UINT32 lba, const void *buffer) { return hard_disk_write(m_disk, lba, buffer); }
|
||||
@ -97,7 +97,6 @@ protected:
|
||||
// device-level overrides
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
virtual void device_config_complete() { m_shortname = "hdd"; }
|
||||
|
||||
void ide_build_features();
|
||||
virtual bool is_ready() { return (m_disk != NULL); }
|
||||
@ -119,7 +118,6 @@ protected:
|
||||
// device-level overrides
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
virtual void device_config_complete() { m_shortname = "hdd_image"; }
|
||||
// optional information overrides
|
||||
virtual machine_config_constructor device_mconfig_additions() const;
|
||||
};
|
||||
|
@ -86,8 +86,8 @@ const UINT32 VIRTUAL_LEAD_OUT_TRACKS = LEAD_OUT_MIN_SIZE_IN_UM * 1000 / NOMINAL_
|
||||
// laserdisc_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
laserdisc_device::laserdisc_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, type, name, shortname, tag, owner, clock),
|
||||
laserdisc_device::laserdisc_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_sound_interface(mconfig, *this),
|
||||
m_screen_name(NULL),
|
||||
m_overwidth(0),
|
||||
|
@ -162,7 +162,7 @@ class laserdisc_device : public device_t,
|
||||
{
|
||||
protected:
|
||||
// construction/destruction
|
||||
laserdisc_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock);
|
||||
laserdisc_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);
|
||||
virtual ~laserdisc_device();
|
||||
|
||||
public:
|
||||
|
@ -209,7 +209,7 @@ ROM_END
|
||||
//-------------------------------------------------
|
||||
|
||||
pioneer_pr8210_device::pioneer_pr8210_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: laserdisc_device(mconfig, PIONEER_PR8210, "Pioneer PR-8210", "pr8210", tag, owner, clock),
|
||||
: laserdisc_device(mconfig, PIONEER_PR8210, "Pioneer PR-8210", tag, owner, clock, "pr8210", __FILE__),
|
||||
m_control(0),
|
||||
m_lastcommand(0),
|
||||
m_accumulator(0),
|
||||
@ -224,8 +224,8 @@ pioneer_pr8210_device::pioneer_pr8210_device(const machine_config &mconfig, cons
|
||||
{
|
||||
}
|
||||
|
||||
pioneer_pr8210_device::pioneer_pr8210_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock)
|
||||
: laserdisc_device(mconfig, type, name, shortname, tag, owner, clock),
|
||||
pioneer_pr8210_device::pioneer_pr8210_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)
|
||||
: laserdisc_device(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
m_control(0),
|
||||
m_lastcommand(0),
|
||||
m_accumulator(0),
|
||||
@ -919,7 +919,7 @@ ROM_END
|
||||
//-------------------------------------------------
|
||||
|
||||
simutrek_special_device::simutrek_special_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: pioneer_pr8210_device(mconfig, SIMUTREK_SPECIAL, "Simutrek Modified PR-8210", "simutrek", tag, owner, clock),
|
||||
: pioneer_pr8210_device(mconfig, SIMUTREK_SPECIAL, "Simutrek Modified PR-8210", tag, owner, clock, "simutrek", __FILE__),
|
||||
m_i8748_cpu(*this, "simutrek"),
|
||||
m_audio_squelch(0),
|
||||
m_data(0),
|
||||
|
@ -94,7 +94,7 @@ class pioneer_pr8210_device : public laserdisc_device
|
||||
public:
|
||||
// construction/destruction
|
||||
pioneer_pr8210_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
pioneer_pr8210_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock);
|
||||
pioneer_pr8210_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);
|
||||
|
||||
// input and output
|
||||
void control_w(UINT8 data);
|
||||
|
@ -79,7 +79,7 @@ class sony_ldp1450_device : public laserdisc_device
|
||||
public:
|
||||
// construction/destruction
|
||||
sony_ldp1450_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: laserdisc_device(mconfig, SONY_LDP1450, "Sony LDP-1450", "ldp1450", tag, owner, clock) { }
|
||||
: laserdisc_device(mconfig, SONY_LDP1450, "Sony LDP-1450", tag, owner, clock, "ldp1450", __FILE__) { }
|
||||
|
||||
// input/output
|
||||
UINT8 data_available_r() { return CLEAR_LINE; }
|
||||
@ -101,7 +101,7 @@ class pioneer_pr7820_device : public laserdisc_device
|
||||
public:
|
||||
// construction/destruction
|
||||
pioneer_pr7820_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: laserdisc_device(mconfig, PIONEER_PR7820, "Pioneer PR-7820", "pr7820", tag, owner, clock) { }
|
||||
: laserdisc_device(mconfig, PIONEER_PR7820, "Pioneer PR-7820", tag, owner, clock, "pr7820", __FILE__) { }
|
||||
|
||||
// input/output
|
||||
UINT8 data_available_r() { return CLEAR_LINE; }
|
||||
@ -125,7 +125,7 @@ class phillips_22vp932_device : public laserdisc_device
|
||||
public:
|
||||
// construction/destruction
|
||||
phillips_22vp932_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: laserdisc_device(mconfig, PHILLIPS_22VP932, "Phillips 22VP932", "22vp932", tag, owner, clock) { }
|
||||
: laserdisc_device(mconfig, PHILLIPS_22VP932, "Phillips 22VP932", tag, owner, clock, "22vp932", __FILE__) { }
|
||||
|
||||
// input/output
|
||||
UINT8 data_r() { return 0; }
|
||||
|
@ -170,7 +170,7 @@ ROM_END
|
||||
//-------------------------------------------------
|
||||
|
||||
pioneer_ldv1000_device::pioneer_ldv1000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: laserdisc_device(mconfig, PIONEER_LDV1000, "Pioneer LD-V1000", "ldv1000", tag, owner, clock),
|
||||
: laserdisc_device(mconfig, PIONEER_LDV1000, "Pioneer LD-V1000", tag, owner, clock, "ldv1000", __FILE__),
|
||||
m_z80_cpu(*this, "ldv1000"),
|
||||
m_z80_ctc(*this, "ldvctc"),
|
||||
m_multitimer(NULL),
|
||||
|
@ -116,7 +116,7 @@ ROM_END
|
||||
//-------------------------------------------------
|
||||
|
||||
phillips_22vp931_device::phillips_22vp931_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: laserdisc_device(mconfig, PHILLIPS_22VP931, "Phillips 22VP931", "22vp931", tag, owner, clock),
|
||||
: laserdisc_device(mconfig, PHILLIPS_22VP931, "Phillips 22VP931", tag, owner, clock, "22vp931", __FILE__),
|
||||
m_i8049_cpu(*this, "vp931"),
|
||||
m_tracktimer(NULL),
|
||||
m_i8049_out0(0),
|
||||
|
@ -63,7 +63,7 @@ MACHINE_CONFIG_END
|
||||
//**************************************************************************
|
||||
|
||||
duartn68681_device::duartn68681_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, DUARTN68681, "DUART 68681 (new)", tag, owner, clock),
|
||||
: device_t(mconfig, DUARTN68681, "DUART 68681 (new)", tag, owner, clock, "dun68681", __FILE__),
|
||||
m_chanA(*this, CHANA_TAG),
|
||||
m_chanB(*this, CHANB_TAG)
|
||||
{
|
||||
@ -120,8 +120,6 @@ void duartn68681_device::device_reset()
|
||||
|
||||
void duartn68681_device::device_config_complete()
|
||||
{
|
||||
m_shortname = "dun68681";
|
||||
|
||||
// inherit a copy of the static data
|
||||
const duartn68681_config *intf = reinterpret_cast<const duartn68681_config *>(static_config());
|
||||
if (intf != NULL)
|
||||
|
@ -142,8 +142,8 @@ nscsi_device *nscsi_connector::get_device()
|
||||
return dynamic_cast<nscsi_device *>(get_card_device());
|
||||
}
|
||||
|
||||
nscsi_device::nscsi_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),
|
||||
nscsi_device::nscsi_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_slot_card_interface(mconfig, *this)
|
||||
{
|
||||
scsi_id = scsi_refid = -1;
|
||||
@ -161,8 +161,8 @@ void nscsi_device::scsi_ctrl_changed()
|
||||
{
|
||||
}
|
||||
|
||||
nscsi_full_device::nscsi_full_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
nscsi_device(mconfig, type, name, tag, owner, clock)
|
||||
nscsi_full_device::nscsi_full_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) :
|
||||
nscsi_device(mconfig, type, name, tag, owner, clock, shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -84,7 +84,7 @@ public:
|
||||
S_PHASE_MASK = S_MSG|S_CTL|S_INP,
|
||||
};
|
||||
|
||||
nscsi_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
nscsi_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);
|
||||
|
||||
void connect_to_bus(nscsi_bus_device *bus, int refid, int default_scsi_id);
|
||||
virtual void scsi_ctrl_changed();
|
||||
@ -97,7 +97,7 @@ protected:
|
||||
class nscsi_full_device : public nscsi_device
|
||||
{
|
||||
public:
|
||||
nscsi_full_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
nscsi_full_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);
|
||||
|
||||
virtual void scsi_ctrl_changed();
|
||||
protected:
|
||||
|
@ -4,7 +4,7 @@
|
||||
const device_type NSCSI_CDROM = &device_creator<nscsi_cdrom_device>;
|
||||
|
||||
nscsi_cdrom_device::nscsi_cdrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
nscsi_full_device(mconfig, NSCSI_CDROM, "SCSI CDROM", tag, owner, clock)
|
||||
nscsi_full_device(mconfig, NSCSI_CDROM, "SCSI CDROM", tag, owner, clock, "scsi_cdrom", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,6 @@ public:
|
||||
protected:
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
virtual void device_config_complete() { m_shortname = "scsi_cdrom"; }
|
||||
|
||||
virtual void scsi_command();
|
||||
virtual UINT8 scsi_get_data(int id, int pos);
|
||||
|
@ -4,7 +4,7 @@
|
||||
const device_type NSCSI_HARDDISK = &device_creator<nscsi_harddisk_device>;
|
||||
|
||||
nscsi_harddisk_device::nscsi_harddisk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
nscsi_full_device(mconfig, NSCSI_HARDDISK, "SCSI HARDDISK", tag, owner, clock)
|
||||
nscsi_full_device(mconfig, NSCSI_HARDDISK, "SCSI HARDDISK", tag, owner, clock, "scsi_harddisk", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,6 @@ public:
|
||||
protected:
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
virtual void device_config_complete() { m_shortname = "scsi_harddisk"; }
|
||||
|
||||
virtual void scsi_command();
|
||||
virtual UINT8 scsi_get_data(int id, int pos);
|
||||
|
@ -27,7 +27,7 @@ INLINE void ATTR_PRINTF( 3, 4 ) verboselog( int n_level, running_machine &machin
|
||||
}
|
||||
|
||||
scsicb_device::scsicb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: scsidev_device(mconfig, SCSICB, "SCSI callback", tag, owner, clock),
|
||||
: scsidev_device(mconfig, SCSICB, "SCSI callback", tag, owner, clock, "scsicb", __FILE__),
|
||||
m_bsy_handler(*this),
|
||||
m_sel_handler(*this),
|
||||
m_cd_handler(*this),
|
||||
|
@ -23,12 +23,12 @@ static void phys_frame_to_msf(int phys_frame, int *m, int *s, int *f)
|
||||
const device_type SCSICD = &device_creator<scsicd_device>;
|
||||
|
||||
scsicd_device::scsicd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: scsihle_device(mconfig, SCSICD, "SCSICD", tag, owner, clock)
|
||||
: scsihle_device(mconfig, SCSICD, "SCSICD", tag, owner, clock, "scsicd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
scsicd_device::scsicd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
scsihle_device(mconfig, type, name, tag, owner, clock)
|
||||
scsicd_device::scsicd_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) :
|
||||
scsihle_device(mconfig, type, name, tag, owner, clock, shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ class scsicd_device : public scsihle_device
|
||||
public:
|
||||
// construction/destruction
|
||||
scsicd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
scsicd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
scsicd_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);
|
||||
virtual machine_config_constructor device_mconfig_additions() const;
|
||||
|
||||
virtual void SetDevice( void *device );
|
||||
|
@ -11,8 +11,8 @@ Base class for SCSI devices.
|
||||
|
||||
#define LOG ( 0 )
|
||||
|
||||
scsidev_device::scsidev_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)
|
||||
scsidev_device::scsidev_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)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,7 @@ class scsidev_device : public device_t
|
||||
|
||||
public:
|
||||
// construction/destruction
|
||||
scsidev_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
scsidev_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);
|
||||
|
||||
protected:
|
||||
// device-level overrides
|
||||
|
@ -14,12 +14,12 @@
|
||||
const device_type SCSIHD = &device_creator<scsihd_device>;
|
||||
|
||||
scsihd_device::scsihd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: scsihle_device(mconfig, SCSIHD, "SCSIHD", tag, owner, clock)
|
||||
: scsihle_device(mconfig, SCSIHD, "SCSIHD", tag, owner, clock, "scsihd", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
scsihd_device::scsihd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
scsihle_device(mconfig, type, name, tag, owner, clock)
|
||||
scsihd_device::scsihd_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) :
|
||||
scsihle_device(mconfig, type, name, tag, owner, clock, shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ class scsihd_device : public scsihle_device
|
||||
public:
|
||||
// construction/destruction
|
||||
scsihd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
scsihd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
scsihd_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);
|
||||
virtual machine_config_constructor device_mconfig_additions() const;
|
||||
|
||||
virtual void SetDevice( void *device );
|
||||
|
@ -8,8 +8,8 @@ Base class for HLE'd SCSI devices.
|
||||
|
||||
#include "machine/scsihle.h"
|
||||
|
||||
scsihle_device::scsihle_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) :
|
||||
scsidev_device(mconfig, type, name, tag, owner, clock)
|
||||
scsihle_device::scsihle_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) :
|
||||
scsidev_device(mconfig, type, name, tag, owner, clock, shortname, source)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ class scsihle_device : public scsidev_device
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
scsihle_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
scsihle_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);
|
||||
|
||||
virtual void SetDevice( void *device ) = 0;
|
||||
virtual void GetDevice( void **device ) = 0;
|
||||
|
@ -89,7 +89,7 @@ ADDRESS_MAP_END
|
||||
|
||||
int upd765_family_device::rates[4] = { 500000, 300000, 250000, 1000000 };
|
||||
|
||||
upd765_family_device::upd765_family_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : pc_fdc_interface(mconfig, type, name, tag, owner, clock)
|
||||
upd765_family_device::upd765_family_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) : pc_fdc_interface(mconfig, type, name, tag, owner, clock, shortname, source)
|
||||
{
|
||||
ready_polled = true;
|
||||
ready_connected = true;
|
||||
@ -2199,71 +2199,61 @@ bool upd765_family_device::sector_matches() const
|
||||
}
|
||||
|
||||
|
||||
upd765a_device::upd765a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, UPD765A, "UPD765A", tag, owner, clock)
|
||||
upd765a_device::upd765a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, UPD765A, "UPD765A", tag, owner, clock, "upd765a", __FILE__)
|
||||
{
|
||||
m_shortname = "upd765a";
|
||||
dor_reset = 0x0c;
|
||||
}
|
||||
|
||||
upd765b_device::upd765b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, UPD765B, "UPD765B", tag, owner, clock)
|
||||
upd765b_device::upd765b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, UPD765B, "UPD765B", tag, owner, clock, "upd765b", __FILE__)
|
||||
{
|
||||
m_shortname = "upd765b";
|
||||
dor_reset = 0x0c;
|
||||
}
|
||||
|
||||
i8272a_device::i8272a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, I8272A, "I8272A", tag, owner, clock)
|
||||
i8272a_device::i8272a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, I8272A, "I8272A", tag, owner, clock, "i8272a", __FILE__)
|
||||
{
|
||||
m_shortname = "i8272a";
|
||||
dor_reset = 0x0c;
|
||||
}
|
||||
|
||||
upd72065_device::upd72065_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, UPD72065, "UPD72065", tag, owner, clock)
|
||||
upd72065_device::upd72065_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, UPD72065, "UPD72065", tag, owner, clock, "upd72065", __FILE__)
|
||||
{
|
||||
m_shortname = "upd72065";
|
||||
dor_reset = 0x0c;
|
||||
}
|
||||
|
||||
smc37c78_device::smc37c78_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, SMC37C78, "SMC37C78", tag, owner, clock)
|
||||
smc37c78_device::smc37c78_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, SMC37C78, "SMC37C78", tag, owner, clock, "smc37c78", __FILE__)
|
||||
{
|
||||
m_shortname = "smc37c78";
|
||||
ready_connected = false;
|
||||
select_connected = true;
|
||||
}
|
||||
|
||||
n82077aa_device::n82077aa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, N82077AA, "N82077AA", tag, owner, clock)
|
||||
n82077aa_device::n82077aa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, N82077AA, "N82077AA", tag, owner, clock, "n82077aa", __FILE__)
|
||||
{
|
||||
m_shortname = "n82077aa";
|
||||
ready_connected = false;
|
||||
select_connected = true;
|
||||
}
|
||||
|
||||
pc_fdc_superio_device::pc_fdc_superio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock)
|
||||
pc_fdc_superio_device::pc_fdc_superio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock, "pc_fdc_superio", __FILE__)
|
||||
{
|
||||
m_shortname = "pc_fdc_superio";
|
||||
ready_polled = false;
|
||||
ready_connected = false;
|
||||
select_connected = true;
|
||||
}
|
||||
|
||||
dp8473_device::dp8473_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock)
|
||||
dp8473_device::dp8473_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock, "dp8473", __FILE__)
|
||||
{
|
||||
m_shortname = "dp8473";
|
||||
ready_polled = false;
|
||||
ready_connected = false;
|
||||
select_connected = true;
|
||||
}
|
||||
|
||||
pc8477a_device::pc8477a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock)
|
||||
pc8477a_device::pc8477a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock, "pc8477a", __FILE__)
|
||||
{
|
||||
m_shortname = "pc8477a";
|
||||
ready_polled = true;
|
||||
ready_connected = false;
|
||||
select_connected = true;
|
||||
}
|
||||
|
||||
wd37c65c_device::wd37c65c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock)
|
||||
wd37c65c_device::wd37c65c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : upd765_family_device(mconfig, PC_FDC_SUPERIO, "PC FDC SUPERIO", tag, owner, clock, "wd37c65c", __FILE__)
|
||||
{
|
||||
m_shortname = "wd37c65c";
|
||||
ready_polled = true;
|
||||
ready_connected = false;
|
||||
select_connected = true;
|
||||
|
@ -56,7 +56,7 @@ public:
|
||||
typedef delegate<UINT8 ()> byte_read_cb;
|
||||
typedef delegate<void (UINT8)> byte_write_cb;
|
||||
|
||||
pc_fdc_interface(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) {}
|
||||
pc_fdc_interface(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) {}
|
||||
|
||||
virtual void setup_intrq_cb(line_cb cb) = 0;
|
||||
virtual void setup_drq_cb(line_cb cb) = 0;
|
||||
@ -79,7 +79,7 @@ class upd765_family_device : public pc_fdc_interface {
|
||||
public:
|
||||
enum { MODE_AT, MODE_PS2, MODE_M30 };
|
||||
|
||||
upd765_family_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
upd765_family_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);
|
||||
|
||||
void setup_intrq_cb(line_cb cb);
|
||||
void setup_drq_cb(line_cb cb);
|
||||
|
@ -106,7 +106,7 @@ ROM_END
|
||||
//-------------------------------------------------
|
||||
|
||||
bsmt2000_device::bsmt2000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, BSMT2000, "BSMT2000", "bsmt2000", tag, owner, clock),
|
||||
: device_t(mconfig, BSMT2000, "BSMT2000", tag, owner, clock, "bsmt2000", __FILE__),
|
||||
device_sound_interface(mconfig, *this),
|
||||
device_memory_interface(mconfig, *this),
|
||||
m_space_config("samples", ENDIANNESS_LITTLE, 8, 32, 0, NULL),
|
||||
@ -122,7 +122,6 @@ bsmt2000_device::bsmt2000_device(const machine_config &mconfig, const char *tag,
|
||||
m_right_data(0),
|
||||
m_write_pending(false)
|
||||
{
|
||||
m_shortname = "bsmt2000";
|
||||
m_address_map[0] = *ADDRESS_MAP_NAME(bsmt2000);
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@ const device_type DAC = &device_creator<dac_device>;
|
||||
//-------------------------------------------------
|
||||
|
||||
dac_device::dac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, DAC, "DAC", "dac", tag, owner, clock),
|
||||
: device_t(mconfig, DAC, "DAC", tag, owner, clock, "dac", __FILE__),
|
||||
device_sound_interface(mconfig, *this),
|
||||
m_stream(NULL),
|
||||
m_output(0)
|
||||
|
@ -27,7 +27,7 @@ const device_type K054539 = &device_creator<k054539_device>;
|
||||
#define LOG(x) do { if (VERBOSE) logerror x; } while (0)
|
||||
|
||||
k054539_device::k054539_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, K054539, "K054539", "k054539", tag, owner, clock),
|
||||
: device_t(mconfig, K054539, "K054539", tag, owner, clock, "k054539", __FILE__),
|
||||
device_sound_interface(mconfig, *this)
|
||||
{
|
||||
}
|
||||
|
@ -183,7 +183,7 @@ ADDRESS_MAP_END
|
||||
// qs1000_device - constructor
|
||||
//-------------------------------------------------
|
||||
qs1000_device::qs1000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, QS1000, "QS1000", "qs1000", tag, owner, clock),
|
||||
: device_t(mconfig, QS1000, "QS1000", tag, owner, clock, "qs1000", __FILE__),
|
||||
device_sound_interface(mconfig, *this),
|
||||
device_memory_interface(mconfig, *this),
|
||||
m_space_config("samples", ENDIANNESS_LITTLE, 8, 24, 0, NULL),
|
||||
@ -191,7 +191,6 @@ qs1000_device::qs1000_device(const machine_config &mconfig, const char *tag, dev
|
||||
m_direct(NULL),
|
||||
m_cpu(*this, "cpu")
|
||||
{
|
||||
m_shortname = "qs1000";
|
||||
m_address_map[0] = *ADDRESS_MAP_NAME(qs1000);
|
||||
}
|
||||
|
||||
|
@ -15,7 +15,7 @@ const device_type SEGAPCM = &device_creator<segapcm_device>;
|
||||
//-------------------------------------------------
|
||||
|
||||
segapcm_device::segapcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, SEGAPCM, "Sega PCM", "segapcm", tag, owner, clock),
|
||||
: device_t(mconfig, SEGAPCM, "Sega PCM", tag, owner, clock, "segapcm", __FILE__),
|
||||
device_sound_interface(mconfig, *this),
|
||||
m_ram(NULL),
|
||||
m_rom(NULL),
|
||||
|
@ -124,7 +124,7 @@ const double votrax_sc01_device::s_glottal_wave[16] =
|
||||
//-------------------------------------------------
|
||||
|
||||
votrax_sc01_device::votrax_sc01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, VOTRAX_SC01, "Votrax SC-01", "votrax", tag, owner, clock),
|
||||
: device_t(mconfig, VOTRAX_SC01, "Votrax SC-01", tag, owner, clock, "votrax", __FILE__),
|
||||
device_sound_interface(mconfig, *this),
|
||||
m_stream(NULL),
|
||||
m_phoneme_timer(NULL)
|
||||
|
@ -26,7 +26,7 @@ ADDRESS_MAP_END
|
||||
//-------------------------------------------------
|
||||
|
||||
h63484_device::h63484_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, H63484, "H63484", tag, owner, clock),
|
||||
: device_t(mconfig, H63484, "H63484", tag, owner, clock, "h63484", __FILE__),
|
||||
device_memory_interface(mconfig, *this),
|
||||
m_ar(0),
|
||||
m_sr(0),
|
||||
@ -43,7 +43,6 @@ h63484_device::h63484_device(const machine_config &mconfig, const char *tag, dev
|
||||
m_dcr(0),
|
||||
m_space_config("videoram", ENDIANNESS_LITTLE, 8, 20, 0, NULL, *ADDRESS_MAP_NAME(h63484_vram))
|
||||
{
|
||||
m_shortname = "h63484";
|
||||
}
|
||||
|
||||
enum
|
||||
|
@ -43,23 +43,21 @@ ROM_END
|
||||
//-------------------------------------------------
|
||||
|
||||
hd44780_device::hd44780_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, HD44780, "HD44780 A00", tag, owner, clock),
|
||||
device_t(mconfig, HD44780, "HD44780 A00", tag, owner, clock, "hd44780_a00", __FILE__),
|
||||
m_pixel_update_func(NULL)
|
||||
{
|
||||
m_shortname = "hd44780_a00";
|
||||
set_charset_type(CHARSET_HD44780_A00);
|
||||
}
|
||||
|
||||
hd44780_device::hd44780_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),
|
||||
hd44780_device::hd44780_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),
|
||||
m_pixel_update_func(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
ks0066_f05_device::ks0066_f05_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
hd44780_device(mconfig, KS0066_F05, "KS0066 F05", tag, owner, clock)
|
||||
hd44780_device(mconfig, KS0066_F05, "KS0066 F05", tag, owner, clock, "ks0066_f05", __FILE__)
|
||||
{
|
||||
m_shortname = "ks0066_f05";
|
||||
set_charset_type(CHARSET_KS0066_F05);
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,7 @@ class hd44780_device : public device_t
|
||||
public:
|
||||
// construction/destruction
|
||||
hd44780_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
hd44780_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
|
||||
hd44780_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);
|
||||
|
||||
// static configuration helpers
|
||||
static void static_set_lcd_size(device_t &device, int _lines, int _chars) { hd44780_device &dev=downcast<hd44780_device &>(device); dev.m_lines = _lines; dev.m_chars = _chars; }
|
||||
|
@ -106,7 +106,7 @@ inline void hd61830_device::writebyte(offs_t address, UINT8 data)
|
||||
//-------------------------------------------------
|
||||
|
||||
hd61830_device::hd61830_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, HD61830, "Hitachi HD61830", tag, owner, clock),
|
||||
: device_t(mconfig, HD61830, "Hitachi HD61830", tag, owner, clock, "hd61830", __FILE__),
|
||||
device_memory_interface(mconfig, *this),
|
||||
m_bf(false),
|
||||
m_cac(0),
|
||||
@ -115,7 +115,6 @@ hd61830_device::hd61830_device(const machine_config &mconfig, const char *tag, d
|
||||
m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(hd61830)),
|
||||
m_region_hd61830(*this, "hd61830")
|
||||
{
|
||||
m_shortname = "hd61830";
|
||||
}
|
||||
|
||||
|
||||
|
@ -171,11 +171,10 @@ inline void m50458_device::write_word(offs_t address, UINT16 data)
|
||||
//-------------------------------------------------
|
||||
|
||||
m50458_device::m50458_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, M50458, "m50458", tag, owner, clock),
|
||||
: device_t(mconfig, M50458, "m50458", tag, owner, clock, "m50458", __FILE__),
|
||||
device_memory_interface(mconfig, *this),
|
||||
m_space_config("videoram", ENDIANNESS_LITTLE, 16, 16, 0, NULL, *ADDRESS_MAP_NAME(m50458_vram))
|
||||
{
|
||||
m_shortname = "m50458";
|
||||
}
|
||||
|
||||
|
||||
|
@ -84,12 +84,10 @@ inline void mb90082_device::write_word(offs_t address, UINT16 data)
|
||||
//-------------------------------------------------
|
||||
|
||||
mb90082_device::mb90082_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, MB90082, "mb90082", tag, owner, clock),
|
||||
: device_t(mconfig, MB90082, "mb90082", tag, owner, clock, "mb90082", __FILE__),
|
||||
device_memory_interface(mconfig, *this),
|
||||
m_space_config("videoram", ENDIANNESS_LITTLE, 16, 16, 0, NULL, *ADDRESS_MAP_NAME(mb90082_vram))
|
||||
{
|
||||
m_shortname = "mb90082";
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -113,7 +113,7 @@ inline UINT8 msm6255_device::read_byte(UINT16 ma, UINT8 ra)
|
||||
//-------------------------------------------------
|
||||
|
||||
msm6255_device::msm6255_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, MSM6255, "MSM6255", tag, owner, clock),
|
||||
: device_t(mconfig, MSM6255, "MSM6255", tag, owner, clock, "msm6255", __FILE__),
|
||||
device_memory_interface(mconfig, *this),
|
||||
m_space_config("videoram", ENDIANNESS_LITTLE, 8, 20, 0, NULL, *ADDRESS_MAP_NAME(msm6255)),
|
||||
m_cursor(0)
|
||||
|
@ -50,7 +50,6 @@ public:
|
||||
|
||||
protected:
|
||||
// device-level overrides
|
||||
virtual void device_config_complete() { m_shortname = "msm6255"; }
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
|
||||
|
@ -128,22 +128,22 @@ static const rgb_t PALETTE[] =
|
||||
// saa5050_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
saa5050_device::saa5050_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant)
|
||||
: device_t(mconfig, type, name, tag, owner, clock),
|
||||
saa5050_device::saa5050_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source)
|
||||
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
|
||||
m_frame_count(0),
|
||||
m_variant(variant)
|
||||
{
|
||||
}
|
||||
|
||||
saa5050_device::saa5050_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, SAA5050, "SAA5050", tag, owner, clock),
|
||||
: device_t(mconfig, SAA5050, "SAA5050", tag, owner, clock, "saa5050", __FILE__),
|
||||
m_frame_count(0),
|
||||
m_variant(TYPE_5050)
|
||||
{
|
||||
}
|
||||
|
||||
saa5052_device::saa5052_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: saa5050_device(mconfig, SAA5052, "SAA5052", tag, owner, clock, TYPE_5052)
|
||||
: saa5050_device(mconfig, SAA5052, "SAA5052", tag, owner, clock, TYPE_5052, "saa5052", __FILE__)
|
||||
{
|
||||
}
|
||||
|
||||
@ -166,12 +166,6 @@ void saa5050_device::device_config_complete()
|
||||
{
|
||||
memset(&m_in_d_cb, 0, sizeof(m_in_d_cb));
|
||||
}
|
||||
|
||||
switch (m_variant)
|
||||
{
|
||||
default: m_shortname = "saa5050"; break;
|
||||
case TYPE_5052: m_shortname = "saa5052"; break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -74,7 +74,7 @@ class saa5050_device : public device_t,
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
saa5050_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant);
|
||||
saa5050_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, const char *shortname, const char *source);
|
||||
saa5050_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
|
||||
// optional information overrides
|
||||
|
@ -140,7 +140,7 @@ inline void sed1330_device::increment_csr()
|
||||
//-------------------------------------------------
|
||||
|
||||
sed1330_device::sed1330_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, SED1330, "SED1330", tag, owner, clock),
|
||||
: device_t(mconfig, SED1330, "SED1330", tag, owner, clock, "sed1330", __FILE__),
|
||||
device_memory_interface(mconfig, *this),
|
||||
m_bf(0),
|
||||
m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(sed1330))
|
||||
|
@ -56,7 +56,6 @@ public:
|
||||
|
||||
protected:
|
||||
// device-level overrides
|
||||
virtual void device_config_complete() { m_shortname = "sed1330"; }
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
|
||||
|
@ -679,7 +679,7 @@ inline void upd7220_device::get_graphics_partition(int index, UINT32 *sad, UINT1
|
||||
//-------------------------------------------------
|
||||
|
||||
upd7220_device::upd7220_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, UPD7220, "uPD7220", tag, owner, clock),
|
||||
: device_t(mconfig, UPD7220, "uPD7220", tag, owner, clock, "upd7220", __FILE__),
|
||||
device_memory_interface(mconfig, *this),
|
||||
m_mask(0),
|
||||
m_pitch(0),
|
||||
@ -715,7 +715,6 @@ upd7220_device::upd7220_device(const machine_config &mconfig, const char *tag, d
|
||||
m_bitmap_mod(0),
|
||||
m_space_config("videoram", ENDIANNESS_LITTLE, 8, 18, 0, NULL, *ADDRESS_MAP_NAME(upd7220_vram))
|
||||
{
|
||||
m_shortname = "upd7220";
|
||||
for (int i = 0; i < 16; i++)
|
||||
{
|
||||
m_fifo[i] = 0;
|
||||
|
@ -62,7 +62,7 @@ const device_type V9938 = &device_creator<v9938_device>;
|
||||
const device_type V9958 = &device_creator<v9958_device>;
|
||||
|
||||
v99x8_device::v99x8_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, type, name, shortname, tag, owner, clock),
|
||||
: device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
|
||||
device_memory_interface(mconfig, *this),
|
||||
m_space_config("vram", ENDIANNESS_BIG, 8, 18),
|
||||
m_model(0),
|
||||
|
@ -337,7 +337,7 @@ MACHINE_CONFIG_END
|
||||
//-------------------------------------------------
|
||||
|
||||
gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", "gotsndr1", tag, owner, clock),
|
||||
: device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", tag, owner, clock, "gotsndr1", __FILE__),
|
||||
device_mixer_interface(mconfig, *this),
|
||||
m_audiocpu(*this, "audiocpu"),
|
||||
m_riot(*this, "riot"),
|
||||
@ -355,7 +355,7 @@ gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig
|
||||
}
|
||||
|
||||
gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool populate_votrax)
|
||||
: device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", "gotsndr1", tag, owner, clock),
|
||||
: device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", tag, owner, clock, "gotsndr1", __FILE__),
|
||||
device_mixer_interface(mconfig, *this),
|
||||
m_audiocpu(*this, "audiocpu"),
|
||||
m_riot(*this, "riot"),
|
||||
@ -636,7 +636,7 @@ ioport_constructor gottlieb_sound_r1_with_votrax_device::device_input_ports() co
|
||||
//-------------------------------------------------
|
||||
|
||||
gottlieb_sound_r2_device::gottlieb_sound_r2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, GOTTLIEB_SOUND_REV2, "Gottlieb Sound rev. 2", "gotsndr2", tag, owner, clock),
|
||||
: device_t(mconfig, GOTTLIEB_SOUND_REV2, "Gottlieb Sound rev. 2", tag, owner, clock, "gotsndr2", __FILE__),
|
||||
device_mixer_interface(mconfig, *this),
|
||||
m_audiocpu(*this, "audiocpu"),
|
||||
m_speechcpu(*this, "speechcpu"),
|
||||
|
@ -77,7 +77,7 @@ extern const device_type MIDWAY_SQUAWK_N_TALK = &device_creator<midway_squawk_n_
|
||||
//-------------------------------------------------
|
||||
|
||||
midway_ssio_device::midway_ssio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, MIDWAY_SSIO, "Midway SSIO Sound Board", "midssio", tag, owner, clock),
|
||||
: device_t(mconfig, MIDWAY_SSIO, "Midway SSIO Sound Board", tag, owner, clock, "midssio", __FILE__),
|
||||
device_mixer_interface(mconfig, *this, 2),
|
||||
m_cpu(*this, "cpu"),
|
||||
m_ay0(*this, "ay0"),
|
||||
@ -541,7 +541,7 @@ void midway_ssio_device::device_timer(emu_timer &timer, device_timer_id id, int
|
||||
//-------------------------------------------------
|
||||
|
||||
midway_chip_squeak_deluxe_device::midway_chip_squeak_deluxe_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, MIDWAY_CHIP_SQUEAK_DELUXE, "Midway Chip Squeak Deluxe Sound Board", "midcsd", tag, owner, clock),
|
||||
: device_t(mconfig, MIDWAY_CHIP_SQUEAK_DELUXE, "Midway Chip Squeak Deluxe Sound Board", tag, owner, clock, "midcsd", __FILE__),
|
||||
device_mixer_interface(mconfig, *this),
|
||||
m_cpu(*this, "cpu"),
|
||||
m_pia(*this, "pia"),
|
||||
@ -756,7 +756,7 @@ void midway_chip_squeak_deluxe_device::device_timer(emu_timer &timer, device_tim
|
||||
//-------------------------------------------------
|
||||
|
||||
midway_sounds_good_device::midway_sounds_good_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, MIDWAY_SOUNDS_GOOD, "Midway Sounds Good Sound Board", "midsg", tag, owner, clock),
|
||||
: device_t(mconfig, MIDWAY_SOUNDS_GOOD, "Midway Sounds Good Sound Board", tag, owner, clock, "midsg", __FILE__),
|
||||
device_mixer_interface(mconfig, *this),
|
||||
m_cpu(*this, "cpu"),
|
||||
m_pia(*this, "pia"),
|
||||
@ -943,7 +943,7 @@ void midway_sounds_good_device::device_timer(emu_timer &timer, device_timer_id i
|
||||
//-------------------------------------------------
|
||||
|
||||
midway_turbo_chip_squeak_device::midway_turbo_chip_squeak_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, MIDWAY_TURBO_CHIP_SQUEAK, "Midway Turbo Chip Squeak Sound Board", "midtcs", tag, owner, clock),
|
||||
: device_t(mconfig, MIDWAY_TURBO_CHIP_SQUEAK, "Midway Turbo Chip Squeak Sound Board", tag, owner, clock, "midtcs", __FILE__),
|
||||
device_mixer_interface(mconfig, *this),
|
||||
m_cpu(*this, "cpu"),
|
||||
m_pia(*this, "pia"),
|
||||
@ -1123,7 +1123,7 @@ void midway_turbo_chip_squeak_device::device_timer(emu_timer &timer, device_time
|
||||
//-------------------------------------------------
|
||||
|
||||
midway_squawk_n_talk_device::midway_squawk_n_talk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, MIDWAY_SQUAWK_N_TALK, "Midway Squawk 'n' Talk Sound Board", "midsnt", tag, owner, clock),
|
||||
: device_t(mconfig, MIDWAY_SQUAWK_N_TALK, "Midway Squawk 'n' Talk Sound Board", tag, owner, clock, "midsnt", __FILE__),
|
||||
device_mixer_interface(mconfig, *this),
|
||||
m_cpu(*this, "cpu"),
|
||||
m_pia0(*this, "pia0"),
|
||||
|
@ -226,22 +226,11 @@ static DEVICE_START( namco_52xx )
|
||||
const device_type NAMCO_52XX = &device_creator<namco_52xx_device>;
|
||||
|
||||
namco_52xx_device::namco_52xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, NAMCO_52XX, "Namco 52xx", tag, owner, clock)
|
||||
: device_t(mconfig, NAMCO_52XX, "Namco 52xx", tag, owner, clock, "namco52", __FILE__)
|
||||
{
|
||||
m_token = global_alloc_clear(namco_52xx_state);
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_config_complete - perform any
|
||||
// operations now that the configuration is
|
||||
// complete
|
||||
//-------------------------------------------------
|
||||
|
||||
void namco_52xx_device::device_config_complete()
|
||||
{
|
||||
m_shortname = "namco52";
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_start - device-specific startup
|
||||
//-------------------------------------------------
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user