changed rest of devices (except cpu cores) to have shortname and sourcefile (nw)

This commit is contained in:
Miodrag Milanovic 2013-06-21 14:44:06 +00:00
parent d49ea91e69
commit e533a04f2e
412 changed files with 733 additions and 724 deletions

View File

@ -145,7 +145,7 @@ class device_t : public delegate_late_bind
protected: protected:
// construction/destruction // construction/destruction
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__); 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);
virtual ~device_t(); virtual ~device_t();
public: public:

View File

@ -449,7 +449,7 @@ const device_type SERIAL_SOURCE = &device_creator<serial_source_device>;
//------------------------------------------------- //-------------------------------------------------
serial_source_device::serial_source_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) serial_source_device::serial_source_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SERIAL_SOURCE, "Serial source", tag, owner, clock), : device_t(mconfig, SERIAL_SOURCE, "Serial source", tag, owner, clock, "serial_source", __FILE__),
device_serial_interface(mconfig, *this) device_serial_interface(mconfig, *this)
{ {
} }

View File

@ -22,7 +22,7 @@ const device_type BITBANGER = &device_creator<bitbanger_device>;
-------------------------------------------------*/ -------------------------------------------------*/
bitbanger_device::bitbanger_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) bitbanger_device::bitbanger_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, BITBANGER, "Bitbanger", tag, owner, clock), : device_t(mconfig, BITBANGER, "Bitbanger", tag, owner, clock, "bitbanger", __FILE__),
device_image_interface(mconfig, *this) device_image_interface(mconfig, *this)
{ {
m_output_timer = NULL; m_output_timer = NULL;

View File

@ -19,7 +19,7 @@ const device_type CARTSLOT = &device_creator<cartslot_image_device>;
//------------------------------------------------- //-------------------------------------------------
cartslot_image_device::cartslot_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) cartslot_image_device::cartslot_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CARTSLOT, "Cartslot", tag, owner, clock), : device_t(mconfig, CARTSLOT, "Cartslot", tag, owner, clock, "cartslot_image", __FILE__),
device_image_interface(mconfig, *this), device_image_interface(mconfig, *this),
m_extensions("bin"), m_extensions("bin"),
m_interface(NULL), m_interface(NULL),

View File

@ -37,7 +37,7 @@ const device_type CASSETTE = &device_creator<cassette_image_device>;
//------------------------------------------------- //-------------------------------------------------
cassette_image_device::cassette_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) cassette_image_device::cassette_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CASSETTE, "Cassette", tag, owner, clock), : device_t(mconfig, CASSETTE, "Cassette", tag, owner, clock, "cassette_image", __FILE__),
device_image_interface(mconfig, *this) device_image_interface(mconfig, *this)
{ {
} }

View File

@ -25,13 +25,13 @@ const device_type CDROM = &device_creator<cdrom_image_device>;
//------------------------------------------------- //-------------------------------------------------
cdrom_image_device::cdrom_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) cdrom_image_device::cdrom_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CDROM, "Cdrom", tag, owner, clock), : device_t(mconfig, CDROM, "Cdrom", tag, owner, clock, "cdrom_image", __FILE__),
device_image_interface(mconfig, *this) device_image_interface(mconfig, *this)
{ {
} }
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) 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_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_image_interface(mconfig, *this) device_image_interface(mconfig, *this)
{ {
} }

View File

@ -848,7 +848,7 @@ const device_type LEGACY_FLOPPY = &device_creator<legacy_floppy_image_device>;
//------------------------------------------------- //-------------------------------------------------
legacy_floppy_image_device::legacy_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) legacy_floppy_image_device::legacy_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, LEGACY_FLOPPY, "Floppy Disk", tag, owner, clock), : device_t(mconfig, LEGACY_FLOPPY, "Floppy Disk", tag, owner, clock, "legacy_floppy_image", __FILE__),
device_image_interface(mconfig, *this), device_image_interface(mconfig, *this),
m_token(NULL) m_token(NULL)
{ {

View File

@ -45,7 +45,7 @@ const floppy_format_type floppy_image_device::default_floppy_formats[] = {
}; };
floppy_connector::floppy_connector(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : floppy_connector::floppy_connector(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, FLOPPY_CONNECTOR, "Floppy drive connector abstraction", tag, owner, clock), device_t(mconfig, FLOPPY_CONNECTOR, "Floppy drive connector abstraction", tag, owner, clock, "floppy_connector", __FILE__),
device_slot_interface(mconfig, *this) device_slot_interface(mconfig, *this)
{ {
} }

View File

@ -37,7 +37,7 @@ const device_type HARDDISK = &device_creator<harddisk_image_device>;
//------------------------------------------------- //-------------------------------------------------
harddisk_image_device::harddisk_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) harddisk_image_device::harddisk_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, HARDDISK, "Harddisk", tag, owner, clock), : device_t(mconfig, HARDDISK, "Harddisk", tag, owner, clock, "harddisk_image", __FILE__),
device_image_interface(mconfig, *this), device_image_interface(mconfig, *this),
m_chd(NULL), m_chd(NULL),
m_hard_disk_handle(NULL) m_hard_disk_handle(NULL)

View File

@ -20,7 +20,7 @@ const device_type MIDIIN = &device_creator<midiin_device>;
-------------------------------------------------*/ -------------------------------------------------*/
midiin_device::midiin_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) midiin_device::midiin_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MIDIIN, "MIDI In image device", tag, owner, clock), : device_t(mconfig, MIDIIN, "MIDI In image device", tag, owner, clock, "midiin", __FILE__),
device_image_interface(mconfig, *this), device_image_interface(mconfig, *this),
device_serial_interface(mconfig, *this) device_serial_interface(mconfig, *this)
{ {

View File

@ -20,7 +20,7 @@ const device_type MIDIOUT = &device_creator<midiout_device>;
-------------------------------------------------*/ -------------------------------------------------*/
midiout_device::midiout_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) midiout_device::midiout_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MIDIOUT, "MIDI Out image device", tag, owner, clock), : device_t(mconfig, MIDIOUT, "MIDI Out image device", tag, owner, clock, "midiout", __FILE__),
device_image_interface(mconfig, *this), device_image_interface(mconfig, *this),
device_serial_interface(mconfig, *this) device_serial_interface(mconfig, *this)
{ {

View File

@ -18,7 +18,7 @@ const device_type PRINTER = &device_creator<printer_image_device>;
//------------------------------------------------- //-------------------------------------------------
printer_image_device::printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) printer_image_device::printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PRINTER, "Printer", tag, owner, clock), : device_t(mconfig, PRINTER, "Printer", tag, owner, clock, "printer_image", __FILE__),
device_image_interface(mconfig, *this) device_image_interface(mconfig, *this)
{ {
} }

View File

@ -18,7 +18,7 @@ const device_type SERIAL = &device_creator<serial_image_device>;
//------------------------------------------------- //-------------------------------------------------
serial_image_device::serial_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) serial_image_device::serial_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SERIAL, "Serial", tag, owner, clock), : device_t(mconfig, SERIAL, "Serial", tag, owner, clock, "serial_image", __FILE__),
device_serial_interface(mconfig, *this), device_serial_interface(mconfig, *this),
device_image_interface(mconfig, *this) device_image_interface(mconfig, *this)
{ {

View File

@ -17,7 +17,7 @@ const device_type SNAPSHOT = &device_creator<snapshot_image_device>;
//------------------------------------------------- //-------------------------------------------------
snapshot_image_device::snapshot_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) snapshot_image_device::snapshot_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SNAPSHOT, "Snapshot", tag, owner, clock), : device_t(mconfig, SNAPSHOT, "Snapshot", tag, owner, clock, "snapshot_image", __FILE__),
device_image_interface(mconfig, *this), device_image_interface(mconfig, *this),
m_interface(NULL), m_interface(NULL),
m_delay_attoseconds(0) m_delay_attoseconds(0)

View File

@ -619,7 +619,7 @@ void lsi53c810_device::add_opcode(UINT8 op, UINT8 mask, opcode_handler_delegate
} }
lsi53c810_device::lsi53c810_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) lsi53c810_device::lsi53c810_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, LSI53C810, "53C810 SCSI", tag, owner, clock) : device_t(mconfig, LSI53C810, "53C810 SCSI", tag, owner, clock, "lsi53c810", __FILE__)
{ {
} }

View File

@ -147,7 +147,7 @@ const device_type VIA6522 = &device_creator<via6522_device>;
//------------------------------------------------- //-------------------------------------------------
via6522_device::via6522_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) via6522_device::via6522_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VIA6522, "6522 VIA", tag, owner, clock), : device_t(mconfig, VIA6522, "6522 VIA", tag, owner, clock, "via6522", __FILE__),
m_irq(CLEAR_LINE) m_irq(CLEAR_LINE)
{ {
} }

View File

@ -619,7 +619,7 @@ UINT8 tpi6525_get_ddr_c(device_t *device)
const device_type TPI6525 = &device_creator<tpi6525_device>; const device_type TPI6525 = &device_creator<tpi6525_device>;
tpi6525_device::tpi6525_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) tpi6525_device::tpi6525_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TPI6525, "6525 TPI", tag, owner, clock) : device_t(mconfig, TPI6525, "6525 TPI", tag, owner, clock, "tpi6525", __FILE__)
{ {
m_token = global_alloc_clear(tpi6525_state); m_token = global_alloc_clear(tpi6525_state);
} }

View File

@ -76,22 +76,22 @@ inline attotime legacy_mos6526_device::cycles_to_time(int c)
// legacy_mos6526_device - constructor // legacy_mos6526_device - constructor
//------------------------------------------------- //-------------------------------------------------
legacy_mos6526_device::legacy_mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) legacy_mos6526_device::legacy_mos6526_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_t(mconfig, type, name, tag, owner, clock, shortname, source)
{ {
} }
legacy_mos6526r1_device::legacy_mos6526r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) legacy_mos6526r1_device::legacy_mos6526r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: legacy_mos6526_device(mconfig, LEGACY_MOS6526R1, "MOS6526r1", tag, owner, clock) { } : legacy_mos6526_device(mconfig, LEGACY_MOS6526R1, "MOS6526r1", tag, owner, clock, "legacy_mos6526r1", __FILE__) { }
legacy_mos6526r2_device::legacy_mos6526r2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) legacy_mos6526r2_device::legacy_mos6526r2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: legacy_mos6526_device(mconfig, LEGACY_MOS6526R2, "MOS6526r2", tag, owner, clock) { } : legacy_mos6526_device(mconfig, LEGACY_MOS6526R2, "MOS6526r2", tag, owner, clock, "legacy_mos6526r2", __FILE__) { }
legacy_mos8520_device::legacy_mos8520_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) legacy_mos8520_device::legacy_mos8520_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: legacy_mos6526_device(mconfig, LEGACY_MOS8520, "LEGACY_MOS8520", tag, owner, clock) { } : legacy_mos6526_device(mconfig, LEGACY_MOS8520, "LEGACY_MOS8520", tag, owner, clock, "legacy_mos8520", __FILE__) { }
legacy_mos5710_device::legacy_mos5710_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) legacy_mos5710_device::legacy_mos5710_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: legacy_mos6526_device(mconfig, LEGACY_MOS5710, "LEGACY_MOS5710", tag, owner, clock) { } : legacy_mos6526_device(mconfig, LEGACY_MOS5710, "LEGACY_MOS5710", tag, owner, clock, "legacy_mos5710", __FILE__) { }
void legacy_mos6526_device::static_set_tod_clock(device_t &device, int tod_clock) void legacy_mos6526_device::static_set_tod_clock(device_t &device, int tod_clock)

View File

@ -102,7 +102,7 @@ class legacy_mos6526_device : public device_t,
{ {
protected: protected:
// construction/destruction // construction/destruction
legacy_mos6526_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); legacy_mos6526_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);
public: public:
// inline configuration // inline configuration

View File

@ -397,7 +397,7 @@ UINT8 riot6532_device::portb_out_get()
//------------------------------------------------- //-------------------------------------------------
riot6532_device::riot6532_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) riot6532_device::riot6532_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, RIOT6532, "6532 (RIOT)", tag, owner, clock), : device_t(mconfig, RIOT6532, "6532 (RIOT)", tag, owner, clock, "riot6532", __FILE__),
m_irq(CLEAR_LINE) m_irq(CLEAR_LINE)
{ {
} }

View File

@ -48,7 +48,7 @@ const device_type PIA6821 = &device_creator<pia6821_device>;
//------------------------------------------------- //-------------------------------------------------
pia6821_device::pia6821_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) pia6821_device::pia6821_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PIA6821, "6822 PIA", tag, owner, clock), : device_t(mconfig, PIA6821, "6822 PIA", tag, owner, clock, "pia6821", __FILE__),
m_irq_a_state(0), m_irq_a_state(0),
m_in_cb1(0), m_in_cb1(0),
m_ctl_b(0), m_ctl_b(0),

View File

@ -68,7 +68,7 @@ const device_type PTM6840 = &device_creator<ptm6840_device>;
//------------------------------------------------- //-------------------------------------------------
ptm6840_device::ptm6840_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ptm6840_device::ptm6840_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PTM6840, "6840 PTM", tag, owner, clock) : device_t(mconfig, PTM6840, "6840 PTM", tag, owner, clock, "ptm6840", __FILE__)
{ {
memset(static_cast<ptm6840_interface *>(this), 0, sizeof(ptm6840_interface)); memset(static_cast<ptm6840_interface *>(this), 0, sizeof(ptm6840_interface));
} }

View File

@ -59,7 +59,7 @@ const device_type ACIA6850 = &device_creator<acia6850_device>;
//------------------------------------------------- //-------------------------------------------------
acia6850_device::acia6850_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) acia6850_device::acia6850_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ACIA6850, "6850 ACIA", tag, owner, clock) : device_t(mconfig, ACIA6850, "6850 ACIA", tag, owner, clock, "acia6850", __FILE__)
{ {
memset(static_cast<acia6850_interface *>(this), 0, sizeof(acia6850_interface)); memset(static_cast<acia6850_interface *>(this), 0, sizeof(acia6850_interface));
} }

View File

@ -906,7 +906,7 @@ static DEVICE_RESET(duart68681)
const device_type DUART68681 = &device_creator<duart68681_device>; const device_type DUART68681 = &device_creator<duart68681_device>;
duart68681_device::duart68681_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) duart68681_device::duart68681_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DUART68681, "DUART 68681", tag, owner, clock) : device_t(mconfig, DUART68681, "DUART 68681", tag, owner, clock, "duart68681", __FILE__)
{ {
m_token = global_alloc_clear(duart68681_state); m_token = global_alloc_clear(duart68681_state);
} }

View File

@ -20,7 +20,7 @@ const device_type FIFO7200 = &device_creator<fifo7200_device>;
//------------------------------------------------- //-------------------------------------------------
fifo7200_device::fifo7200_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) fifo7200_device::fifo7200_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, FIFO7200, "IDT7200 FIFO", tag, owner, clock), : device_t(mconfig, FIFO7200, "IDT7200 FIFO", tag, owner, clock, "fifo7200", __FILE__),
m_ram_size(0), m_ram_size(0),
m_ef_handler(*this), m_ef_handler(*this),
m_ff_handler(*this), m_ff_handler(*this),

View File

@ -27,7 +27,7 @@ const device_type TTL74123 = &device_creator<ttl74123_device>;
//------------------------------------------------- //-------------------------------------------------
ttl74123_device::ttl74123_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ttl74123_device::ttl74123_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TTL74123, "TTL74123", tag, owner, clock) : device_t(mconfig, TTL74123, "TTL74123", tag, owner, clock, "ttl74123", __FILE__)
{ {
} }

View File

@ -75,7 +75,7 @@ const device_type TTL74145 = &device_creator<ttl74145_device>;
//------------------------------------------------- //-------------------------------------------------
ttl74145_device::ttl74145_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ttl74145_device::ttl74145_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TTL74145, "TTL74145", tag, owner, clock) : device_t(mconfig, TTL74145, "TTL74145", tag, owner, clock, "ttl74145", __FILE__)
, m_number(0) , m_number(0)
{ {
} }

View File

@ -216,7 +216,7 @@ static DEVICE_RESET( ttl74148 )
const device_type TTL74148 = &device_creator<ttl74148_device>; const device_type TTL74148 = &device_creator<ttl74148_device>;
ttl74148_device::ttl74148_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ttl74148_device::ttl74148_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TTL74148, "74148", tag, owner, clock) : device_t(mconfig, TTL74148, "74148", tag, owner, clock, "74148", __FILE__)
{ {
m_token = global_alloc_clear(ttl74148_state); m_token = global_alloc_clear(ttl74148_state);
} }

View File

@ -178,7 +178,7 @@ static DEVICE_RESET( ttl74153 )
const device_type TTL74153 = &device_creator<ttl74153_device>; const device_type TTL74153 = &device_creator<ttl74153_device>;
ttl74153_device::ttl74153_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ttl74153_device::ttl74153_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TTL74153, "74153", tag, owner, clock) : device_t(mconfig, TTL74153, "74153", tag, owner, clock, "74153", __FILE__)
{ {
m_token = global_alloc_clear(ttl74153_state); m_token = global_alloc_clear(ttl74153_state);
} }

View File

@ -54,7 +54,7 @@ const device_type MACHINE_TTL7474 = &device_creator<ttl7474_device>;
//------------------------------------------------- //-------------------------------------------------
ttl7474_device::ttl7474_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ttl7474_device::ttl7474_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MACHINE_TTL7474, "7474", tag, owner, clock), : device_t(mconfig, MACHINE_TTL7474, "7474", tag, owner, clock, "7474", __FILE__),
m_output_func(*this), m_output_func(*this),
m_comp_output_func(*this) m_comp_output_func(*this)
{ {

View File

@ -57,7 +57,7 @@ const device_type I8257 = &device_creator<i8257_device>;
//------------------------------------------------- //-------------------------------------------------
i8257_device::i8257_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) i8257_device::i8257_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, I8257, "DMA8257", tag, owner, clock), : device_t(mconfig, I8257, "DMA8257", tag, owner, clock, "i8257", __FILE__),
m_mode(0), m_mode(0),
m_rr(0), m_rr(0),
m_msb(0), m_msb(0),

View File

@ -38,7 +38,7 @@ const device_type AAKART = &device_creator<aakart_device>;
//------------------------------------------------- //-------------------------------------------------
aakart_device::aakart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) aakart_device::aakart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, AAKART, "aakart", tag, owner, clock) : device_t(mconfig, AAKART, "aakart", tag, owner, clock, "aakart", __FILE__)
{ {
} }

View File

@ -25,7 +25,7 @@ const device_type ADC0808 = &device_creator<adc0808_device>;
//------------------------------------------------- //-------------------------------------------------
adc0808_device::adc0808_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) adc0808_device::adc0808_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ADC0808, "ADC0808", tag, owner, clock), : device_t(mconfig, ADC0808, "ADC0808", tag, owner, clock, "adc0808", __FILE__),
m_address(0), m_address(0),
m_start(0), m_start(0),
m_eoc(0), m_eoc(0),

View File

@ -49,8 +49,8 @@ const device_type ADC0832 = &device_creator<adc0832_device>;
const device_type ADC0834 = &device_creator<adc0834_device>; const device_type ADC0834 = &device_creator<adc0834_device>;
const device_type ADC0838 = &device_creator<adc0838_device>; const device_type ADC0838 = &device_creator<adc0838_device>;
adc083x_device::adc083x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) adc083x_device::adc083x_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_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_cs(0), m_cs(0),
m_clk(0), m_clk(0),
m_di(0), m_di(0),
@ -67,25 +67,25 @@ adc083x_device::adc083x_device(const machine_config &mconfig, device_type type,
} }
adc0831_device::adc0831_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) adc0831_device::adc0831_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: adc083x_device(mconfig, ADC0831, "A/D Converters 0831", tag, owner, clock) : adc083x_device(mconfig, ADC0831, "A/D Converters 0831", tag, owner, clock, "adc0831", __FILE__)
{ {
m_mux_bits = 0; m_mux_bits = 0;
} }
adc0832_device::adc0832_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) adc0832_device::adc0832_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: adc083x_device(mconfig, ADC0832, "A/D Converters 0832", tag, owner, clock) : adc083x_device(mconfig, ADC0832, "A/D Converters 0832", tag, owner, clock, "adc0832", __FILE__)
{ {
m_mux_bits = 2; m_mux_bits = 2;
} }
adc0834_device::adc0834_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) adc0834_device::adc0834_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: adc083x_device(mconfig, ADC0834, "A/D Converters 0834", tag, owner, clock) : adc083x_device(mconfig, ADC0834, "A/D Converters 0834", tag, owner, clock, "adc0834", __FILE__)
{ {
m_mux_bits = 3; m_mux_bits = 3;
} }
adc0838_device::adc0838_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) adc0838_device::adc0838_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: adc083x_device(mconfig, ADC0838, "A/D Converters 0838", tag, owner, clock) : adc083x_device(mconfig, ADC0838, "A/D Converters 0838", tag, owner, clock, "adc0838", __FILE__)
{ {
m_mux_bits = 4; m_mux_bits = 4;
} }

View File

@ -43,7 +43,7 @@ typedef double (*adc083x_input_callback)(device_t *device, UINT8 input);
class adc083x_device : public device_t class adc083x_device : public device_t
{ {
public: public:
adc083x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); adc083x_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 configuration helpers
static void set_input_callback(device_t &device, adc083x_input_callback input_callback) { downcast<adc083x_device &>(device).m_input_callback = input_callback; } static void set_input_callback(device_t &device, adc083x_input_callback input_callback) { downcast<adc083x_device &>(device).m_input_callback = input_callback; }

View File

@ -14,7 +14,7 @@
const device_type ADC1038 = &device_creator<adc1038_device>; const device_type ADC1038 = &device_creator<adc1038_device>;
adc1038_device::adc1038_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) adc1038_device::adc1038_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ADC1038, "A/D Converters 1038", tag, owner, clock) : device_t(mconfig, ADC1038, "A/D Converters 1038", tag, owner, clock, "adc1038", __FILE__)
{ {
} }

View File

@ -35,7 +35,7 @@
const device_type ADC12130 = &device_creator<adc12130_device>; const device_type ADC12130 = &device_creator<adc12130_device>;
adc12130_device::adc12130_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) adc12130_device::adc12130_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: adc12138_device(mconfig, ADC12130, "A/D Converter 12130", tag, owner, clock) : adc12138_device(mconfig, ADC12130, "A/D Converter 12130", tag, owner, clock, "adc12130", __FILE__)
{ {
} }
@ -43,7 +43,7 @@ adc12130_device::adc12130_device(const machine_config &mconfig, const char *tag,
const device_type ADC12132 = &device_creator<adc12132_device>; const device_type ADC12132 = &device_creator<adc12132_device>;
adc12132_device::adc12132_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) adc12132_device::adc12132_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: adc12138_device(mconfig, ADC12132, "A/D Converter 12132", tag, owner, clock) : adc12138_device(mconfig, ADC12132, "A/D Converter 12132", tag, owner, clock, "adc12132", __FILE__)
{ {
} }
@ -51,11 +51,11 @@ adc12132_device::adc12132_device(const machine_config &mconfig, const char *tag,
const device_type ADC12138 = &device_creator<adc12138_device>; const device_type ADC12138 = &device_creator<adc12138_device>;
adc12138_device::adc12138_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) adc12138_device::adc12138_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ADC12138, "A/D Converter 12138", tag, owner, clock) : device_t(mconfig, ADC12138, "A/D Converter 12138", tag, owner, clock, "adc12138", __FILE__)
{ {
} }
adc12138_device::adc12138_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) adc12138_device::adc12138_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_t(mconfig, type, name, tag, owner, clock, shortname, source)
{ {
} }

View File

@ -31,7 +31,7 @@ class adc12138_device : public device_t,
{ {
public: public:
adc12138_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); adc12138_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
adc12138_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); adc12138_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);
~adc12138_device() {} ~adc12138_device() {}
DECLARE_WRITE8_MEMBER( di_w ); DECLARE_WRITE8_MEMBER( di_w );

View File

@ -158,7 +158,7 @@ WRITE8_MEMBER( am53cf96_device::write )
} }
am53cf96_device::am53cf96_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : am53cf96_device::am53cf96_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, AM53CF96, "53CF96 SCSI", tag, owner, clock), device_t(mconfig, AM53CF96, "53CF96 SCSI", tag, owner, clock, "am53cf96", __FILE__),
m_irq_handler(*this) m_irq_handler(*this)
{ {
} }

View File

@ -372,7 +372,7 @@ inline void am9517a_device::end_of_process()
//------------------------------------------------- //-------------------------------------------------
am9517a_device::am9517a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) am9517a_device::am9517a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, AM9517A, "AM9517A", tag, owner, clock), : device_t(mconfig, AM9517A, "AM9517A", tag, owner, clock, "am9517a", __FILE__),
device_execute_interface(mconfig, *this), device_execute_interface(mconfig, *this),
m_icount(0), m_icount(0),
m_hack(0), m_hack(0),

View File

@ -51,7 +51,7 @@ FLOPPY_FORMATS_MEMBER( amiga_fdc::floppy_formats )
FLOPPY_FORMATS_END FLOPPY_FORMATS_END
amiga_fdc::amiga_fdc(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : amiga_fdc::amiga_fdc(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, AMIGA_FDC, "Amiga FDC", tag, owner, clock) device_t(mconfig, AMIGA_FDC, "Amiga FDC", tag, owner, clock, "amiga_fdc", __FILE__)
{ {
} }

View File

@ -38,7 +38,7 @@ const device_type AT28C16 = &device_creator<at28c16_device>;
//------------------------------------------------- //-------------------------------------------------
at28c16_device::at28c16_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) at28c16_device::at28c16_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
: device_t(mconfig, AT28C16, "AT28C16", tag, owner, clock), : device_t(mconfig, AT28C16, "AT28C16", tag, owner, clock, "at28c16", __FILE__),
device_memory_interface(mconfig, *this), device_memory_interface(mconfig, *this),
device_nvram_interface(mconfig, *this), device_nvram_interface(mconfig, *this),
m_a9_12v( 0 ), m_a9_12v( 0 ),

View File

@ -33,7 +33,7 @@
Constructor. Constructor.
*/ */
at29040a_device::at29040a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) at29040a_device::at29040a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, AT29040A, "ATMEL 29040A 512K*8 FEEPROM", tag, owner, clock), : device_t(mconfig, AT29040A, "ATMEL 29040A 512K*8 FEEPROM", tag, owner, clock, "at29040a", __FILE__),
device_nvram_interface(mconfig, *this) device_nvram_interface(mconfig, *this)
{ {
} }

View File

@ -44,27 +44,27 @@ const device_type AT45DB161 = &device_creator<at45db161_device>;
//------------------------------------------------- //-------------------------------------------------
at45db041_device::at45db041_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) at45db041_device::at45db041_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, AT45DB041, "AT45DB041", tag, owner, clock), : device_t(mconfig, AT45DB041, "AT45DB041", tag, owner, clock, "at45db041", __FILE__),
device_nvram_interface(mconfig, *this) device_nvram_interface(mconfig, *this)
{ {
} }
at45db041_device::at45db041_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) at45db041_device::at45db041_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_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_nvram_interface(mconfig, *this) device_nvram_interface(mconfig, *this)
{ {
} }
at45db081_device::at45db081_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) at45db081_device::at45db081_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: at45db041_device(mconfig, AT45DB081, "AT45DB081", tag, owner, clock) : at45db041_device(mconfig, AT45DB081, "AT45DB081", tag, owner, clock, "at45db081", __FILE__)
{ {
} }
at45db161_device::at45db161_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) at45db161_device::at45db161_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: at45db041_device(mconfig, AT45DB161, "AT45DB161", tag, owner, clock) : at45db041_device(mconfig, AT45DB161, "AT45DB161", tag, owner, clock, "at45db161", __FILE__)
{ {
} }

View File

@ -37,7 +37,7 @@ class at45db041_device : public device_t,
{ {
public: public:
at45db041_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); at45db041_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
at45db041_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); at45db041_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);
DECLARE_WRITE_LINE_MEMBER(cs_w); DECLARE_WRITE_LINE_MEMBER(cs_w);
DECLARE_WRITE_LINE_MEMBER(sck_w); DECLARE_WRITE_LINE_MEMBER(sck_w);

View File

@ -155,8 +155,8 @@ SLOT_INTERFACE_START(ata_devices)
SLOT_INTERFACE("hdd", IDE_HARDDISK) SLOT_INTERFACE("hdd", IDE_HARDDISK)
SLOT_INTERFACE_END SLOT_INTERFACE_END
ata_interface_device::ata_interface_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : ata_interface_device::ata_interface_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_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_irq_handler(*this), m_irq_handler(*this),
m_dmarq_handler(*this) m_dmarq_handler(*this)
{ {
@ -166,7 +166,7 @@ ata_interface_device::ata_interface_device(const machine_config &mconfig, device
const device_type ATA_INTERFACE = &device_creator<ata_interface_device>; const device_type ATA_INTERFACE = &device_creator<ata_interface_device>;
ata_interface_device::ata_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ata_interface_device::ata_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, ATA_INTERFACE, "ATA Interface", tag, owner, clock), device_t(mconfig, ATA_INTERFACE, "ATA Interface", tag, owner, clock, "ata_interface", __FILE__),
m_irq_handler(*this), m_irq_handler(*this),
m_dmarq_handler(*this) m_dmarq_handler(*this)
{ {
@ -233,7 +233,7 @@ const device_type ATA_SLOT = &device_creator<ata_slot_device>;
//------------------------------------------------- //-------------------------------------------------
ata_slot_device::ata_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ata_slot_device::ata_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ATA_SLOT, "ATA Connector", tag, owner, clock), : device_t(mconfig, ATA_SLOT, "ATA Connector", tag, owner, clock, "ata_slot", __FILE__),
device_slot_interface(mconfig, *this), device_slot_interface(mconfig, *this),
m_dev(NULL) m_dev(NULL)
{ {

View File

@ -77,7 +77,7 @@ class ata_interface_device : public device_t
{ {
public: public:
ata_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ata_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
ata_interface_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); ata_interface_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 configuration helpers
template<class _Object> static devcb2_base &set_irq_handler(device_t &device, _Object object) { return downcast<ata_interface_device &>(device).m_irq_handler.set_callback(object); } template<class _Object> static devcb2_base &set_irq_handler(device_t &device, _Object object) { return downcast<ata_interface_device &>(device).m_irq_handler.set_callback(object); }

View File

@ -95,18 +95,18 @@ Start bit (low), Bit 0, Bit 1... highest bit, Parity bit (if enabled), 1-2 stop
const device_type AY31015 = &device_creator<ay31015_device>; const device_type AY31015 = &device_creator<ay31015_device>;
const device_type AY51013 = &device_creator<ay51013_device>; const device_type AY51013 = &device_creator<ay51013_device>;
ay31015_device::ay31015_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) ay31015_device::ay31015_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_t(mconfig, type, name, tag, owner, clock, shortname, source)
{ {
} }
ay31015_device::ay31015_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ay31015_device::ay31015_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, AY31015, "AY-3-1015", tag, owner, clock) : device_t(mconfig, AY31015, "AY-3-1015", tag, owner, clock, "ay31015", __FILE__)
{ {
} }
ay51013_device::ay51013_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ay51013_device::ay51013_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ay31015_device(mconfig, AY31015, "AY-5-1013", tag, owner, clock) : ay31015_device(mconfig, AY31015, "AY-5-1013", tag, owner, clock, "ay51013", __FILE__)
{ {
} }

View File

@ -71,7 +71,7 @@ class ay31015_device : public device_t,
{ {
public: public:
ay31015_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ay31015_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
ay31015_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); ay31015_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);
~ay31015_device() {} ~ay31015_device() {}

View File

@ -4,7 +4,7 @@
const device_type ADDRESS_MAP_BANK = &device_creator<address_map_bank_device>; const device_type ADDRESS_MAP_BANK = &device_creator<address_map_bank_device>;
address_map_bank_device::address_map_bank_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) address_map_bank_device::address_map_bank_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
: device_t(mconfig, ADDRESS_MAP_BANK, "Address Map Bank", tag, owner, clock), : device_t(mconfig, ADDRESS_MAP_BANK, "Address Map Bank", tag, owner, clock, "address_map_bank", __FILE__),
device_memory_interface(mconfig, *this), device_memory_interface(mconfig, *this),
m_endianness(ENDIANNESS_NATIVE), m_endianness(ENDIANNESS_NATIVE),
m_databus_width(0), m_databus_width(0),

View File

@ -65,7 +65,7 @@ void cdp1852_device::set_sr_line(int state)
//------------------------------------------------- //-------------------------------------------------
cdp1852_device::cdp1852_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) cdp1852_device::cdp1852_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CDP1852, "CDP1852", tag, owner, clock) : device_t(mconfig, CDP1852, "CDP1852", tag, owner, clock, "cdp1852", __FILE__)
{ {
} }

View File

@ -93,7 +93,7 @@ static const UINT8 CDP1871_KEY_CODES[4][11][8] =
//------------------------------------------------- //-------------------------------------------------
cdp1871_device::cdp1871_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) cdp1871_device::cdp1871_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CDP1871, "RCA CDP1871", tag, owner, clock), : device_t(mconfig, CDP1871, "RCA CDP1871", tag, owner, clock, "cdp1871", __FILE__),
m_inhibit(false), m_inhibit(false),
m_sense(0), m_sense(0),
m_drive(0), m_drive(0),

View File

@ -47,7 +47,7 @@ const int com8116_device::divisors_32X_5_0688MHz[] =
//------------------------------------------------- //-------------------------------------------------
com8116_device::com8116_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) com8116_device::com8116_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, COM8116, "COM8116", tag, owner, clock), : device_t(mconfig, COM8116, "COM8116", tag, owner, clock, "com8116", __FILE__),
m_write_fx4(*this), m_write_fx4(*this),
m_write_fr(*this), m_write_fr(*this),
m_write_ft(*this) m_write_ft(*this)

View File

@ -19,7 +19,7 @@ const device_type CENTRONICS = &device_creator<centronics_device>;
//------------------------------------------------- //-------------------------------------------------
centronics_device::centronics_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) centronics_device::centronics_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CENTRONICS, "Centronics", tag, owner, clock), : device_t(mconfig, CENTRONICS, "Centronics", tag, owner, clock, "centronics", __FILE__),
device_slot_interface(mconfig, *this), device_slot_interface(mconfig, *this),
m_dev(NULL) m_dev(NULL)
{ {

View File

@ -74,7 +74,7 @@ const device_type DS1302 = &device_creator<ds1302_device>;
//------------------------------------------------- //-------------------------------------------------
ds1302_device::ds1302_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ds1302_device::ds1302_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DS1302, "Dallas DS1302", tag, owner, clock), : device_t(mconfig, DS1302, "Dallas DS1302", tag, owner, clock, "ds1302", __FILE__),
device_rtc_interface(mconfig, *this), device_rtc_interface(mconfig, *this),
device_nvram_interface(mconfig, *this) device_nvram_interface(mconfig, *this)
{ {

View File

@ -28,7 +28,7 @@ inline void ATTR_PRINTF(3,4) ds2401_device::verboselog(int n_level, const char *
const device_type DS2401 = &device_creator<ds2401_device>; const device_type DS2401 = &device_creator<ds2401_device>;
ds2401_device::ds2401_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ds2401_device::ds2401_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DS2401, "DS2401", tag, owner, clock) : device_t(mconfig, DS2401, "DS2401", tag, owner, clock, "ds2401", __FILE__)
{ {
} }

View File

@ -23,7 +23,7 @@ const device_type DS2404 = &device_creator<ds2404_device>;
//------------------------------------------------- //-------------------------------------------------
ds2404_device::ds2404_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ds2404_device::ds2404_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DS2404, "DS2404", tag, owner, clock), : device_t(mconfig, DS2404, "DS2404", tag, owner, clock, "ds2404", __FILE__),
device_nvram_interface(mconfig, *this) device_nvram_interface(mconfig, *this)
{ {
} }

View File

@ -28,7 +28,7 @@ const device_type DS75160A = &device_creator<ds75160a_device>;
//------------------------------------------------- //-------------------------------------------------
ds75160a_device::ds75160a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ds75160a_device::ds75160a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DS75160A, "DS75160A", tag, owner, clock), : device_t(mconfig, DS75160A, "DS75160A", tag, owner, clock, "ds75160a", __FILE__),
m_read(*this), m_read(*this),
m_write(*this), m_write(*this),
m_data(0xff), m_data(0xff),

View File

@ -28,7 +28,7 @@ const device_type DS75161A = &device_creator<ds75161a_device>;
//------------------------------------------------- //-------------------------------------------------
ds75161a_device::ds75161a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ds75161a_device::ds75161a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DS75161A, "DS75161A", tag, owner, clock), : device_t(mconfig, DS75161A, "DS75161A", tag, owner, clock, "ds75161a", __FILE__),
m_ren(1), m_ren(1),
m_ifc(1), m_ifc(1),
m_ndac(1), m_ndac(1),

View File

@ -40,7 +40,7 @@ const device_type E0516 = &device_creator<e0516_device>;
//------------------------------------------------- //-------------------------------------------------
e0516_device::e0516_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) e0516_device::e0516_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, E0516, "E05-16", tag, owner, clock), : device_t(mconfig, E0516, "E05-16", tag, owner, clock, "e0516", __FILE__),
device_rtc_interface(mconfig, *this) device_rtc_interface(mconfig, *this)
{ {
} }

View File

@ -93,7 +93,7 @@ ADDRESS_MAP_END
//------------------------------------------------- //-------------------------------------------------
eeprom_device::eeprom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) eeprom_device::eeprom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, EEPROM, "EEPROM", tag, owner, clock), : device_t(mconfig, EEPROM, "EEPROM", tag, owner, clock, "eeprom", __FILE__),
device_memory_interface(mconfig, *this), device_memory_interface(mconfig, *this),
device_nvram_interface(mconfig, *this), device_nvram_interface(mconfig, *this),
m_default_data_size(0), m_default_data_size(0),

View File

@ -63,7 +63,7 @@ ADDRESS_MAP_END
//------------------------------------------------- //-------------------------------------------------
er2055_device::er2055_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) er2055_device::er2055_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ER2055, "ER2055", tag, owner, clock), : device_t(mconfig, ER2055, "ER2055", tag, owner, clock, "er2055", __FILE__),
device_memory_interface(mconfig, *this), device_memory_interface(mconfig, *this),
device_nvram_interface(mconfig, *this), device_nvram_interface(mconfig, *this),
m_space_config("EAROM", ENDIANNESS_BIG, 8, 6, 0, *ADDRESS_MAP_NAME(er2055_map)), m_space_config("EAROM", ENDIANNESS_BIG, 8, 6, 0, *ADDRESS_MAP_NAME(er2055_map)),

View File

@ -225,7 +225,7 @@ static void decode_command(er59256_t *er59256)
const device_type ER59256 = &device_creator<er59256_device>; const device_type ER59256 = &device_creator<er59256_device>;
er59256_device::er59256_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) er59256_device::er59256_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ER59256, "Microchip ER59256 serial eeprom.", tag, owner, clock) : device_t(mconfig, ER59256, "Microchip ER59256 serial eeprom.", tag, owner, clock, "er59256", __FILE__)
{ {
m_token = global_alloc_clear(er59256_t); m_token = global_alloc_clear(er59256_t);
} }

View File

@ -48,7 +48,7 @@ const device_type F3853 = &device_creator<f3853_device>;
//------------------------------------------------- //-------------------------------------------------
f3853_device::f3853_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) f3853_device::f3853_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, F3853, "F3853", tag, owner, clock) : device_t(mconfig, F3853, "F3853", tag, owner, clock, "f3853", __FILE__)
{ {
} }

View File

@ -73,7 +73,7 @@ ADDRESS_MAP_END
//------------------------------------------------- //-------------------------------------------------
i2cmem_device::i2cmem_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) i2cmem_device::i2cmem_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
: device_t(mconfig, I2CMEM, "I2CMEM", tag, owner, clock), : device_t(mconfig, I2CMEM, "I2CMEM", tag, owner, clock, "i2cmem", __FILE__),
device_memory_interface(mconfig, *this), device_memory_interface(mconfig, *this),
device_nvram_interface(mconfig, *this), device_nvram_interface(mconfig, *this),
m_scl( 0 ), m_scl( 0 ),

View File

@ -199,7 +199,7 @@ inline void i8155_device::write_port(int port, UINT8 data)
//------------------------------------------------- //-------------------------------------------------
i8155_device::i8155_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) i8155_device::i8155_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, I8155, "Intel 8155", tag, owner, clock), : device_t(mconfig, I8155, "Intel 8155", tag, owner, clock, "i8155", __FILE__),
device_memory_interface(mconfig, *this), device_memory_interface(mconfig, *this),
m_command(0), m_command(0),
m_status(0), m_status(0),

View File

@ -32,7 +32,7 @@ const device_type I8212 = &device_creator<i8212_device>;
//------------------------------------------------- //-------------------------------------------------
i8212_device::i8212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) i8212_device::i8212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, I8212, "Intel 8212", tag, owner, clock), : device_t(mconfig, I8212, "Intel 8212", tag, owner, clock, "i8212", __FILE__),
m_md(I8212_MODE_INPUT), m_md(I8212_MODE_INPUT),
m_stb(0) m_stb(0)
{ {

View File

@ -90,7 +90,7 @@ inline void i8214_device::check_interrupt()
//------------------------------------------------- //-------------------------------------------------
i8214_device::i8214_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) i8214_device::i8214_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, I8214, "I8214", tag, owner, clock) : device_t(mconfig, I8214, "I8214", tag, owner, clock, "i8214", __FILE__)
{ {
} }

View File

@ -23,7 +23,7 @@ const device_type I8243 = &device_creator<i8243_device>;
//------------------------------------------------- //-------------------------------------------------
i8243_device::i8243_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) i8243_device::i8243_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, I8243, "I8243", tag, owner, clock), : device_t(mconfig, I8243, "I8243", tag, owner, clock, "i8243", __FILE__),
m_readhandler(*this), m_readhandler(*this),
m_writehandler(*this) m_writehandler(*this)
{ {

View File

@ -59,7 +59,7 @@ const device_type I8251 = &device_creator<i8251_device>;
//------------------------------------------------- //-------------------------------------------------
i8251_device::i8251_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) i8251_device::i8251_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, I8251, "I8251", tag, owner, clock), : device_t(mconfig, I8251, "I8251", tag, owner, clock, "i8251", __FILE__),
device_serial_interface(mconfig, *this) device_serial_interface(mconfig, *this)
{ {
} }

View File

@ -260,7 +260,7 @@ inline int i8255_device::port_c_upper_mode()
//------------------------------------------------- //-------------------------------------------------
i8255_device::i8255_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) i8255_device::i8255_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, I8255, "I8255", tag, owner, clock) : device_t(mconfig, I8255, "I8255", tag, owner, clock, "i8279", __FILE__)
{ {
m_intr[PORT_A] = m_intr[PORT_B] = 0; m_intr[PORT_A] = m_intr[PORT_B] = 0;
m_control = 0; m_control = 0;

View File

@ -88,7 +88,7 @@ const device_type I8279 = &device_creator<i8279_device>;
//------------------------------------------------- //-------------------------------------------------
i8279_device::i8279_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) i8279_device::i8279_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, I8279, "Intel 8279", tag, owner, clock) : device_t(mconfig, I8279, "Intel 8279", tag, owner, clock, "i8279", __FILE__)
{ {
} }

View File

@ -92,7 +92,7 @@ inline void i8355_device::write_port(int port, UINT8 data)
//------------------------------------------------- //-------------------------------------------------
i8355_device::i8355_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) i8355_device::i8355_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, I8355, "Intel 8355", tag, owner, clock), : device_t(mconfig, I8355, "Intel 8355", tag, owner, clock, "i8355", __FILE__),
device_memory_interface(mconfig, *this), device_memory_interface(mconfig, *this),
m_space_config("ram", ENDIANNESS_LITTLE, 8, 11, 0, NULL, *ADDRESS_MAP_NAME(i8355)) m_space_config("ram", ENDIANNESS_LITTLE, 8, 11, 0, NULL, *ADDRESS_MAP_NAME(i8355))
{ {

View File

@ -28,12 +28,12 @@
const device_type IDE_CONTROLLER = &device_creator<ide_controller_device>; const device_type IDE_CONTROLLER = &device_creator<ide_controller_device>;
ide_controller_device::ide_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ide_controller_device::ide_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
ata_interface_device(mconfig, IDE_CONTROLLER, "IDE Controller", tag, owner, clock) ata_interface_device(mconfig, IDE_CONTROLLER, "IDE Controller", tag, owner, clock, "ide_controller", __FILE__)
{ {
} }
ide_controller_device::ide_controller_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) : ide_controller_device::ide_controller_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) :
ata_interface_device(mconfig, type, name, tag, owner, clock) ata_interface_device(mconfig, type, name, tag, owner, clock, shortname, source)
{ {
} }
@ -92,7 +92,7 @@ WRITE16_MEMBER( ide_controller_device::write_cs1 )
const device_type BUS_MASTER_IDE_CONTROLLER = &device_creator<bus_master_ide_controller_device>; const device_type BUS_MASTER_IDE_CONTROLLER = &device_creator<bus_master_ide_controller_device>;
bus_master_ide_controller_device::bus_master_ide_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : bus_master_ide_controller_device::bus_master_ide_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
ide_controller_device(mconfig, BUS_MASTER_IDE_CONTROLLER, "Bus Master IDE Controller", tag, owner, clock), ide_controller_device(mconfig, BUS_MASTER_IDE_CONTROLLER, "Bus Master IDE Controller", tag, owner, clock, "bus_master_ide_controller", __FILE__),
dma_address(0), dma_address(0),
dma_bytes_left(0), dma_bytes_left(0),
dma_descriptor(0), dma_descriptor(0),

View File

@ -30,7 +30,7 @@ class ide_controller_device : public ata_interface_device
{ {
public: public:
ide_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ide_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
ide_controller_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); ide_controller_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 DECLARE_READ16_MEMBER(read_cs0); virtual DECLARE_READ16_MEMBER(read_cs0);
virtual DECLARE_READ16_MEMBER(read_cs1); virtual DECLARE_READ16_MEMBER(read_cs1);

View File

@ -77,7 +77,7 @@ inline void im6402_device::set_tre(int state)
//------------------------------------------------- //-------------------------------------------------
im6402_device::im6402_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) im6402_device::im6402_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, IM6402, "Intersil IM6402", tag, owner, clock), : device_t(mconfig, IM6402, "Intersil IM6402", tag, owner, clock, "im6402", __FILE__),
device_serial_interface(mconfig, *this), device_serial_interface(mconfig, *this),
m_rrc_count(0), m_rrc_count(0),
m_trc_count(0) m_trc_count(0)

View File

@ -42,7 +42,7 @@ const device_type INS8154 = &device_creator<ins8154_device>;
//------------------------------------------------- //-------------------------------------------------
ins8154_device::ins8154_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ins8154_device::ins8154_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, INS8154, "INS8154", tag, owner, clock) : device_t(mconfig, INS8154, "INS8154", tag, owner, clock, "ins8154", __FILE__)
{ {
} }

View File

@ -149,8 +149,8 @@ ADDRESS_MAP_END
// intelfsh_device - constructor // intelfsh_device - constructor
//------------------------------------------------- //-------------------------------------------------
intelfsh_device::intelfsh_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant) intelfsh_device::intelfsh_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), : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_memory_interface(mconfig, *this), device_memory_interface(mconfig, *this),
device_nvram_interface(mconfig, *this), device_nvram_interface(mconfig, *this),
m_type(variant), m_type(variant),
@ -314,72 +314,72 @@ intelfsh_device::intelfsh_device(const machine_config &mconfig, device_type type
m_space_config = address_space_config("flash", ENDIANNESS_BIG, m_bits, addrbits, (m_bits == 8) ? 0 : -1, map); m_space_config = address_space_config("flash", ENDIANNESS_BIG, m_bits, addrbits, (m_bits == 8) ? 0 : -1, map);
} }
intelfsh8_device::intelfsh8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant) intelfsh8_device::intelfsh8_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)
: intelfsh_device(mconfig, type, name, tag, owner, clock, variant) { } : intelfsh_device(mconfig, type, name, tag, owner, clock, variant, shortname, source) { }
intelfsh16_device::intelfsh16_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant) intelfsh16_device::intelfsh16_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)
: intelfsh_device(mconfig, type, name, tag, owner, clock, variant) { } : intelfsh_device(mconfig, type, name, tag, owner, clock, variant, shortname, source) { }
intel_28f016s5_device::intel_28f016s5_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) intel_28f016s5_device::intel_28f016s5_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, INTEL_28F016S5, "Intel 28F016S5 Flash", tag, owner, clock, FLASH_INTEL_28F016S5) { } : intelfsh8_device(mconfig, INTEL_28F016S5, "Intel 28F016S5 Flash", tag, owner, clock, FLASH_INTEL_28F016S5, "intel_28f016s5", __FILE__) { }
fujitsu_29f016a_device::fujitsu_29f016a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) fujitsu_29f016a_device::fujitsu_29f016a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, FUJITSU_29F016A, "Fujitsu 29F016A Flash", tag, owner, clock, FLASH_FUJITSU_29F016A) { } : intelfsh8_device(mconfig, FUJITSU_29F016A, "Fujitsu 29F016A Flash", tag, owner, clock, FLASH_FUJITSU_29F016A, "fujitsu_29f016a", __FILE__) { }
fujitsu_29dl16x_device::fujitsu_29dl16x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) fujitsu_29dl16x_device::fujitsu_29dl16x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, FUJITSU_29DL16X, "Fujitsu 29DL16X Flash", tag, owner, clock, FLASH_FUJITSU_29DL16X) { } : intelfsh8_device(mconfig, FUJITSU_29DL16X, "Fujitsu 29DL16X Flash", tag, owner, clock, FLASH_FUJITSU_29DL16X, "fujitsu_29dl16x", __FILE__) { }
sharp_lh28f016s_device::sharp_lh28f016s_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sharp_lh28f016s_device::sharp_lh28f016s_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, SHARP_LH28F016S, "Sharp LH28F016S Flash", tag, owner, clock, FLASH_SHARP_LH28F016S) { } : intelfsh8_device(mconfig, SHARP_LH28F016S, "Sharp LH28F016S Flash", tag, owner, clock, FLASH_SHARP_LH28F016S, "sharp_lh28f016s", __FILE__) { }
atmel_29c010_device::atmel_29c010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) atmel_29c010_device::atmel_29c010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, ATMEL_29C010, "Atmel 29C010 Flash", tag, owner, clock, FLASH_ATMEL_29C010) { } : intelfsh8_device(mconfig, ATMEL_29C010, "Atmel 29C010 Flash", tag, owner, clock, FLASH_ATMEL_29C010, "atmel_29c010", __FILE__) { }
amd_29f010_device::amd_29f010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) amd_29f010_device::amd_29f010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, AMD_29F010, "AMD 29F010 Flash", tag, owner, clock, FLASH_AMD_29F010) { } : intelfsh8_device(mconfig, AMD_29F010, "AMD 29F010 Flash", tag, owner, clock, FLASH_AMD_29F010, "amd_29f010", __FILE__) { }
amd_29f040_device::amd_29f040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) amd_29f040_device::amd_29f040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, AMD_29F040, "AMD 29F040 Flash", tag, owner, clock, FLASH_AMD_29F040) { } : intelfsh8_device(mconfig, AMD_29F040, "AMD 29F040 Flash", tag, owner, clock, FLASH_AMD_29F040, "amd_29f040", __FILE__) { }
amd_29f080_device::amd_29f080_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) amd_29f080_device::amd_29f080_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, AMD_29F080, "AMD 29F080 Flash", tag, owner, clock, FLASH_AMD_29F080) { } : intelfsh8_device(mconfig, AMD_29F080, "AMD 29F080 Flash", tag, owner, clock, FLASH_AMD_29F080, "amd_29f080", __FILE__) { }
intel_e28f008sa_device::intel_e28f008sa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) intel_e28f008sa_device::intel_e28f008sa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, INTEL_E28F008SA, "Intel E28F008SA Flash", tag, owner, clock, FLASH_INTEL_E28F008SA) { } : intelfsh8_device(mconfig, INTEL_E28F008SA, "Intel E28F008SA Flash", tag, owner, clock, FLASH_INTEL_E28F008SA, "intel_e28f008sa", __FILE__) { }
macronix_29l001mc_device::macronix_29l001mc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) macronix_29l001mc_device::macronix_29l001mc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, MACRONIX_29L001MC, "Macronix 29L001MC Flash", tag, owner, clock, FLASH_MACRONIX_29L001MC) { } : intelfsh8_device(mconfig, MACRONIX_29L001MC, "Macronix 29L001MC Flash", tag, owner, clock, FLASH_MACRONIX_29L001MC, "macronix_29l001mc", __FILE__) { }
panasonic_mn63f805mnp_device::panasonic_mn63f805mnp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) panasonic_mn63f805mnp_device::panasonic_mn63f805mnp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, PANASONIC_MN63F805MNP, "Panasonic MN63F805MNP Flash", tag, owner, clock, FLASH_PANASONIC_MN63F805MNP) { } : intelfsh8_device(mconfig, PANASONIC_MN63F805MNP, "Panasonic MN63F805MNP Flash", tag, owner, clock, FLASH_PANASONIC_MN63F805MNP, "panasonic_mn63f805mnp", __FILE__) { }
sanyo_le26fv10n1ts_device::sanyo_le26fv10n1ts_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sanyo_le26fv10n1ts_device::sanyo_le26fv10n1ts_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, SANYO_LE26FV10N1TS, "Sanyo LE26FV10N1TS Flash", tag, owner, clock, FLASH_SANYO_LE26FV10N1TS) { } : intelfsh8_device(mconfig, SANYO_LE26FV10N1TS, "Sanyo LE26FV10N1TS Flash", tag, owner, clock, FLASH_SANYO_LE26FV10N1TS, "sanyo_le26fv10n1ts", __FILE__) { }
sst_28sf040_device::sst_28sf040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sst_28sf040_device::sst_28sf040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, SST_28SF040, "SST 28SF040 Flash", tag, owner, clock, FLASH_SST_28SF040) { } : intelfsh8_device(mconfig, SST_28SF040, "SST 28SF040 Flash", tag, owner, clock, FLASH_SST_28SF040, "sst_28sf040", __FILE__) { }
sst_39vf020_device::sst_39vf020_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sst_39vf020_device::sst_39vf020_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh8_device(mconfig, SST_39VF020, "SST 39VF020 Flash", tag, owner, clock, FLASH_SST_39VF020) { } : intelfsh8_device(mconfig, SST_39VF020, "SST 39VF020 Flash", tag, owner, clock, FLASH_SST_39VF020, "sst_39vf020", __FILE__) { }
sharp_lh28f400_device::sharp_lh28f400_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sharp_lh28f400_device::sharp_lh28f400_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh16_device(mconfig, SHARP_LH28F400, "Sharp LH28F400 Flash", tag, owner, clock, FLASH_SHARP_LH28F400) { } : intelfsh16_device(mconfig, SHARP_LH28F400, "Sharp LH28F400 Flash", tag, owner, clock, FLASH_SHARP_LH28F400, "sharp_lh28f400", __FILE__) { }
intel_te28f160_device::intel_te28f160_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) intel_te28f160_device::intel_te28f160_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh16_device(mconfig, INTEL_TE28F160, "Intel TE28F160 Flash", tag, owner, clock, FLASH_INTEL_TE28F160) { } : intelfsh16_device(mconfig, INTEL_TE28F160, "Intel TE28F160 Flash", tag, owner, clock, FLASH_INTEL_TE28F160, "intel_te28f160", __FILE__) { }
intel_e28f400_device::intel_e28f400_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) intel_e28f400_device::intel_e28f400_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh16_device(mconfig, INTEL_E28F400, "Intel E28F400 Flash", tag, owner, clock, FLASH_INTEL_E28F400) { } : intelfsh16_device(mconfig, INTEL_E28F400, "Intel E28F400 Flash", tag, owner, clock, FLASH_INTEL_E28F400, "intel_e28f400", __FILE__) { }
sharp_unk128mbit_device::sharp_unk128mbit_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sharp_unk128mbit_device::sharp_unk128mbit_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh16_device(mconfig, SHARP_UNK128MBIT, "Sharp Unknown 128Mbit Flash", tag, owner, clock, FLASH_SHARP_UNK128MBIT) { } : intelfsh16_device(mconfig, SHARP_UNK128MBIT, "Sharp Unknown 128Mbit Flash", tag, owner, clock, FLASH_SHARP_UNK128MBIT, "sharp_unk128mbit", __FILE__) { }
intel_28f320j3d_device::intel_28f320j3d_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) intel_28f320j3d_device::intel_28f320j3d_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh16_device(mconfig, INTEL_28F320J3D, "Intel 28F320J3D Flash", tag, owner, clock, FLASH_INTEL_28F320J3D) { } : intelfsh16_device(mconfig, INTEL_28F320J3D, "Intel 28F320J3D Flash", tag, owner, clock, FLASH_INTEL_28F320J3D, "intel_28f320j3d", __FILE__) { }
sst_39vf400a_device::sst_39vf400a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sst_39vf400a_device::sst_39vf400a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: intelfsh16_device(mconfig, SST_39VF400A, "SST 39VF400A Flash", tag, owner, clock, FLASH_SST_39VF400A) { } : intelfsh16_device(mconfig, SST_39VF400A, "SST 39VF400A Flash", tag, owner, clock, FLASH_SST_39VF400A, "sst_39vf400a", __FILE__) { }
//------------------------------------------------- //-------------------------------------------------
// device_start - device-specific startup // device_start - device-specific startup

View File

@ -113,7 +113,7 @@ public:
protected: protected:
// construction/destruction // construction/destruction
intelfsh_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant); intelfsh_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);
protected: protected:
// device-level overrides // device-level overrides
@ -159,7 +159,7 @@ class intelfsh8_device : public intelfsh_device
{ {
protected: protected:
// construction/destruction // construction/destruction
intelfsh8_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant); intelfsh8_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);
public: public:
// public interface // public interface
@ -179,7 +179,7 @@ class intelfsh16_device : public intelfsh_device
{ {
protected: protected:
// construction/destruction // construction/destruction
intelfsh16_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant); intelfsh16_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);
public: public:
// public interface // public interface

View File

@ -7,7 +7,8 @@ void jvs_device::static_set_jvs_host_tag(device_t &device, const char *jvs_host_
jvsdev.jvs_host_tag = jvs_host_tag; jvsdev.jvs_host_tag = jvs_host_tag;
} }
jvs_device::jvs_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) jvs_device::jvs_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)
{ {
jvs_host_tag = 0; jvs_host_tag = 0;
next_device = 0; next_device = 0;

View File

@ -11,7 +11,7 @@ class jvs_host;
class jvs_device : public device_t class jvs_device : public device_t
{ {
public: public:
jvs_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); jvs_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 void static_set_jvs_host_tag(device_t &device, const char *jvs_host_tag); static void static_set_jvs_host_tag(device_t &device, const char *jvs_host_tag);
void chain(jvs_device *dev); void chain(jvs_device *dev);

View File

@ -26,7 +26,8 @@ void jvs_host::device_reset()
memset(recv_buffer, 0, sizeof(recv_buffer)); memset(recv_buffer, 0, sizeof(recv_buffer));
} }
jvs_host::jvs_host(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) jvs_host::jvs_host(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)
{ {
first_device = 0; first_device = 0;
} }

View File

@ -7,7 +7,7 @@ class jvs_device;
class jvs_host : public device_t { class jvs_host : public device_t {
public: public:
jvs_host(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); jvs_host(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 add_device(jvs_device *dev); void add_device(jvs_device *dev);

View File

@ -21,7 +21,7 @@ const device_type K033906 = &device_creator<k033906_device>;
//------------------------------------------------- //-------------------------------------------------
k033906_device::k033906_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) k033906_device::k033906_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K033906, "Konami 033906", tag, owner, clock) : device_t(mconfig, K033906, "Konami 033906", tag, owner, clock, "k033906", __FILE__)
{ {
} }

View File

@ -59,7 +59,7 @@ TODO:
const device_type K053252 = &device_creator<k053252_device>; const device_type K053252 = &device_creator<k053252_device>;
k053252_device::k053252_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) k053252_device::k053252_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K053252, "Konami 053252", tag, owner, clock) : device_t(mconfig, K053252, "Konami 053252", tag, owner, clock, "k053252", __FILE__)
{ {
} }

View File

@ -20,7 +20,7 @@ const device_type K056230 = &device_creator<k056230_device>;
//------------------------------------------------- //-------------------------------------------------
k056230_device::k056230_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) k056230_device::k056230_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K056230, "Konami 056230", tag, owner, clock) : device_t(mconfig, K056230, "Konami 056230", tag, owner, clock, "k056230", __FILE__)
{ {
} }

View File

@ -234,7 +234,7 @@ static DEVICE_RESET( latch8 )
const device_type LATCH8 = &device_creator<latch8_device>; const device_type LATCH8 = &device_creator<latch8_device>;
latch8_device::latch8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) latch8_device::latch8_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, LATCH8, "8 bit latch", tag, owner, clock) : device_t(mconfig, LATCH8, "8 bit latch", tag, owner, clock, "latch8", __FILE__)
{ {
m_token = global_alloc_clear(latch8_t); m_token = global_alloc_clear(latch8_t);
memset((void*)&m_inline_config,0,sizeof(m_inline_config)); memset((void*)&m_inline_config,0,sizeof(m_inline_config));

View File

@ -10,7 +10,7 @@
const device_type LC89510 = &device_creator<lc89510_device>; const device_type LC89510 = &device_creator<lc89510_device>;
lc89510_device::lc89510_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) lc89510_device::lc89510_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, LC89510, "lc89510_device", tag, owner, clock) : device_t(mconfig, LC89510, "lc89510_device", tag, owner, clock, "lc89510", __FILE__)
{ {
} }

View File

@ -26,7 +26,7 @@ const device_type M6M80011AP = &device_creator<m6m80011ap_device>;
//------------------------------------------------- //-------------------------------------------------
m6m80011ap_device::m6m80011ap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) m6m80011ap_device::m6m80011ap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, M6M80011AP, "m6m80011ap", tag, owner, clock), : device_t(mconfig, M6M80011AP, "m6m80011ap", tag, owner, clock, "m6m80011ap", __FILE__),
device_nvram_interface(mconfig, *this) device_nvram_interface(mconfig, *this)
{ {
} }

View File

@ -16,7 +16,7 @@
const device_type MB14241 = &device_creator<mb14241_device>; const device_type MB14241 = &device_creator<mb14241_device>;
mb14241_device::mb14241_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) mb14241_device::mb14241_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MB14241, "MB14241", tag, owner, clock) : device_t(mconfig, MB14241, "MB14241", tag, owner, clock, "mb14241", __FILE__)
{ {
} }

View File

@ -26,7 +26,7 @@ const device_type MB3773 = &device_creator<mb3773_device>;
//------------------------------------------------- //-------------------------------------------------
mb3773_device::mb3773_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) mb3773_device::mb3773_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
: device_t(mconfig, MB3773, "MB3773", tag, owner, clock) : device_t(mconfig, MB3773, "MB3773", tag, owner, clock, "mb3773", __FILE__)
{ {
} }

View File

@ -268,7 +268,7 @@ static DEVICE_RESET( mb87078 )
const device_type MB87078 = &device_creator<mb87078_device>; const device_type MB87078 = &device_creator<mb87078_device>;
mb87078_device::mb87078_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) mb87078_device::mb87078_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MB87078, "Fujitsu MB87078", tag, owner, clock) : device_t(mconfig, MB87078, "Fujitsu MB87078", tag, owner, clock, "mb87078", __FILE__)
{ {
m_token = global_alloc_clear(mb87078_state); m_token = global_alloc_clear(mb87078_state);
} }

View File

@ -11,7 +11,7 @@
const device_type MB89371 = &device_creator<mb89371_device>; const device_type MB89371 = &device_creator<mb89371_device>;
mb89371_device::mb89371_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) mb89371_device::mb89371_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
: device_t(mconfig, MB89371, "MB89371", tag, owner, clock) : device_t(mconfig, MB89371, "MB89371", tag, owner, clock, "mb89371", __FILE__)
{ {
} }

View File

@ -112,7 +112,7 @@ const device_type MC146818 = &device_creator<mc146818_device>;
//------------------------------------------------- //-------------------------------------------------
mc146818_device::mc146818_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) mc146818_device::mc146818_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MC146818, "NVRAM", tag, owner, clock), : device_t(mconfig, MC146818, "NVRAM", tag, owner, clock, "mc146818", __FILE__),
device_rtc_interface(mconfig, *this), device_rtc_interface(mconfig, *this),
device_nvram_interface(mconfig, *this), device_nvram_interface(mconfig, *this),
m_write_irq(*this), m_write_irq(*this),

View File

@ -100,7 +100,7 @@ enum
//------------------------------------------------- //-------------------------------------------------
mc2661_device::mc2661_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) mc2661_device::mc2661_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MC2661, "MC2661", tag, owner, clock), : device_t(mconfig, MC2661, "MC2661", tag, owner, clock, "mc2661", __FILE__),
device_serial_interface(mconfig, *this) device_serial_interface(mconfig, *this)
{ {
} }

View File

@ -829,7 +829,7 @@ static DEVICE_START( mc6843 )
const device_type MC6843 = &device_creator<mc6843_device>; const device_type MC6843 = &device_creator<mc6843_device>;
mc6843_device::mc6843_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) mc6843_device::mc6843_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MC6843, "Motorola MC6843 floppy controller", tag, owner, clock) : device_t(mconfig, MC6843, "Motorola MC6843 floppy controller", tag, owner, clock, "mc6843", __FILE__)
{ {
m_token = global_alloc_clear(mc6843_t); m_token = global_alloc_clear(mc6843_t);
} }

View File

@ -637,7 +637,7 @@ static DEVICE_START( mc6846 )
const device_type MC6846 = &device_creator<mc6846_device>; const device_type MC6846 = &device_creator<mc6846_device>;
mc6846_device::mc6846_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) mc6846_device::mc6846_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MC6846, "Motorola MC6846 programmable timer", tag, owner, clock) : device_t(mconfig, MC6846, "Motorola MC6846 programmable timer", tag, owner, clock, "mc6846", __FILE__)
{ {
m_token = global_alloc_clear(mc6846_t); m_token = global_alloc_clear(mc6846_t);
} }

View File

@ -105,7 +105,7 @@ inline void mc6852_device::transmit()
//------------------------------------------------- //-------------------------------------------------
mc6852_device::mc6852_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) mc6852_device::mc6852_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MC6852, "MC6852", tag, owner, clock) : device_t(mconfig, MC6852, "MC6852", tag, owner, clock, "mc6852", __FILE__)
{ {
} }

View File

@ -1038,7 +1038,7 @@ static DEVICE_START( mc6854 )
const device_type MC6854 = &device_creator<mc6854_device>; const device_type MC6854 = &device_creator<mc6854_device>;
mc6854_device::mc6854_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) mc6854_device::mc6854_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MC6854, "Motorola MC6854 ADLC", tag, owner, clock) : device_t(mconfig, MC6854, "Motorola MC6854 ADLC", tag, owner, clock, "mc6854", __FILE__)
{ {
m_token = global_alloc_clear(mc6854_t); m_token = global_alloc_clear(mc6854_t);
} }

View File

@ -651,7 +651,7 @@ inline void mc68901_device::gpio_input(int bit, int state)
//------------------------------------------------- //-------------------------------------------------
mc68901_device::mc68901_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) mc68901_device::mc68901_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MC68901, "Motorola MC68901", tag, owner, clock), : device_t(mconfig, MC68901, "Motorola MC68901", tag, owner, clock, "mc68901", __FILE__),
device_serial_interface(mconfig, *this), device_serial_interface(mconfig, *this),
m_gpip(0), m_gpip(0),
m_tsr(TSR_BUFFER_EMPTY) m_tsr(TSR_BUFFER_EMPTY)

Some files were not shown because too many files have changed in this diff Show More