Fixed missing devices from XML (excluding legacy cpu) (nw)

This commit is contained in:
Miodrag Milanovic 2013-08-23 10:48:21 +00:00
parent 88c2aa2bb5
commit 0ec2741440
23 changed files with 60 additions and 46 deletions

View File

@ -407,6 +407,7 @@ class m68000_device : public m68000_base_device
public: public:
// construction/destruction // construction/destruction
m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
m68000_device(const machine_config &mconfig, const char *name, const char *tag, device_t *owner, UINT32 clock, m68000_device(const machine_config &mconfig, const char *name, const char *tag, device_t *owner, UINT32 clock,
const device_type type, UINT32 prg_data_width, UINT32 prg_address_bits, address_map_constructor internal_map, const char *shortname, const char *source); const device_type type, UINT32 prg_data_width, UINT32 prg_address_bits, address_map_constructor internal_map, const char *shortname, const char *source);

View File

@ -2489,6 +2489,11 @@ m68000_device::m68000_device(const machine_config &mconfig, const char *tag, dev
{ {
} }
m68000_device::m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: m68000_base_device(mconfig, "M68000", tag, owner, clock, M68000, 16,24, shortname, source)
{
}
void m68000_device::device_start() void m68000_device::device_start()
{ {
init_cpu_m68000(); init_cpu_m68000();

View File

@ -829,7 +829,7 @@ const device_type MCF5206E_PERIPHERAL = &device_creator<mcf5206e_peripheral_devi
//------------------------------------------------- //-------------------------------------------------
mcf5206e_peripheral_device::mcf5206e_peripheral_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) mcf5206e_peripheral_device::mcf5206e_peripheral_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MCF5206E_PERIPHERAL, "MCF5206E Peripheral", tag, owner, clock, "mcf5206e", __FILE__), : device_t(mconfig, MCF5206E_PERIPHERAL, "MCF5206E Peripheral", tag, owner, clock, "mcf5206e_peripheral", __FILE__),
device_memory_interface(mconfig, *this), device_memory_interface(mconfig, *this),
m_space_config("coldfire_regs", ENDIANNESS_BIG, 32,10, 0, NULL, *ADDRESS_MAP_NAME(coldfire_regs_map)) m_space_config("coldfire_regs", ENDIANNESS_BIG, 32,10, 0, NULL, *ADDRESS_MAP_NAME(coldfire_regs_map))

View File

@ -111,7 +111,7 @@ DEVICE_ADDRESS_MAP_START(submap, 16, aw_rom_board)
ADDRESS_MAP_END ADDRESS_MAP_END
aw_rom_board::aw_rom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) aw_rom_board::aw_rom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: naomi_g1_device(mconfig, AW_ROM_BOARD, "AW-ROM-BOARD", tag, owner, clock) : naomi_g1_device(mconfig, AW_ROM_BOARD, "AW-ROM-BOARD", tag, owner, clock, "aw_rom_board", __FILE__)
{ {
region_is_decrypted = false; region_is_decrypted = false;
keyregion = 0; keyregion = 0;

View File

@ -214,20 +214,20 @@ const fd1089_base_device::decrypt_parameters fd1089_base_device::s_data_params_a
// fd1089_base_device - constructor // fd1089_base_device - constructor
//------------------------------------------------- //-------------------------------------------------
fd1089_base_device::fd1089_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) fd1089_base_device::fd1089_base_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)
: m68000_device(mconfig, tag, owner, clock) : m68000_device(mconfig, tag, owner, clock, shortname, source)
{ {
// override the name after the m68000 initializes // override the name after the m68000 initializes
m_name.cpy(name); m_name.cpy(name);
} }
fd1089a_device::fd1089a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) fd1089a_device::fd1089a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: fd1089_base_device(mconfig, FD1089A, "FD1089A", tag, owner, clock) : fd1089_base_device(mconfig, FD1089A, "FD1089A", tag, owner, clock, "fd1089a", __FILE__)
{ {
} }
fd1089b_device::fd1089b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) fd1089b_device::fd1089b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: fd1089_base_device(mconfig, FD1089B, "FD1089B", tag, owner, clock) : fd1089_base_device(mconfig, FD1089B, "FD1089B", tag, owner, clock, "fd1089b", __FILE__)
{ {
} }

View File

@ -37,7 +37,7 @@ class fd1089_base_device : public m68000_device
{ {
public: public:
// construction/destruction // construction/destruction
fd1089_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); fd1089_base_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);
// explicit decryption helpers // explicit decryption helpers
void decrypt(offs_t baseaddr, UINT32 size, offs_t regionoffs, UINT16 *opcodesptr, UINT16 *dataptr) { decrypt(baseaddr, size, &m_plaintext[regionoffs/2], opcodesptr, dataptr); } void decrypt(offs_t baseaddr, UINT32 size, offs_t regionoffs, UINT16 *opcodesptr, UINT16 *dataptr) { decrypt(baseaddr, size, &m_plaintext[regionoffs/2], opcodesptr, dataptr); }

View File

@ -607,7 +607,7 @@ UINT16 *fd1094_decryption_cache::decrypted_opcodes(UINT8 state)
fd1094_device::fd1094_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) fd1094_device::fd1094_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: m68000_device(mconfig, tag, owner, clock), : m68000_device(mconfig, tag, owner, clock, "fd1094", __FILE__),
m_state(0x00), m_state(0x00),
m_irqmode(false), m_irqmode(false),
m_cache(*this), m_cache(*this),

View File

@ -63,8 +63,8 @@ DEVICE_ADDRESS_MAP_START(submap, 16, naomi_board)
AM_RANGE(0x00, 0xff) AM_READ(default_r) AM_RANGE(0x00, 0xff) AM_READ(default_r)
ADDRESS_MAP_END ADDRESS_MAP_END
naomi_board::naomi_board(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) naomi_board::naomi_board(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: naomi_g1_device(mconfig, type, name, tag, owner, clock) : naomi_g1_device(mconfig, type, name, tag, owner, clock, shortname, source)
{ {
eeprom_tag = 0; eeprom_tag = 0;
} }

View File

@ -11,7 +11,7 @@
class naomi_board : public naomi_g1_device class naomi_board : public naomi_g1_device
{ {
public: public:
naomi_board(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); naomi_board(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_eeprom_tag(device_t &device, const char *_eeprom_tag); static void static_set_eeprom_tag(device_t &device, const char *_eeprom_tag);

View File

@ -23,8 +23,8 @@ DEVICE_ADDRESS_MAP_START(amap, 32, naomi_g1_device)
AM_RANGE(0xf8, 0xfb) AM_READ(sb_gdlend_r) AM_RANGE(0xf8, 0xfb) AM_READ(sb_gdlend_r)
ADDRESS_MAP_END ADDRESS_MAP_END
naomi_g1_device::naomi_g1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock) naomi_g1_device::naomi_g1_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, "naomi_g1", __FILE__), : device_t(mconfig, type, name, tag, owner, clock, shortname, source),
irq_cb(*this) irq_cb(*this)
{ {
} }

View File

@ -16,7 +16,7 @@ public:
typedef delegate<void (UINT32 main_adr, void *dma_ptr, UINT32 length, UINT32 size, bool to_mainram)> dma_cb; typedef delegate<void (UINT32 main_adr, void *dma_ptr, UINT32 length, UINT32 size, bool to_mainram)> dma_cb;
naomi_g1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock); naomi_g1_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);
template<class _cb> void set_irq_cb(_cb cb) { irq_cb.set_callback(cb); } template<class _cb> void set_irq_cb(_cb cb) { irq_cb.set_callback(cb); }
void set_dma_cb(dma_cb _cb) { _dma_cb = _cb; } void set_dma_cb(dma_cb _cb) { _dma_cb = _cb; }

View File

@ -325,7 +325,7 @@ void naomi_gdrom_board::write_from_qword(UINT8 *region, UINT64 qword)
} }
naomi_gdrom_board::naomi_gdrom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) naomi_gdrom_board::naomi_gdrom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: naomi_board(mconfig, NAOMI_GDROM_BOARD, "NAOMI-GDROM-BOARD", tag, owner, clock) : naomi_board(mconfig, NAOMI_GDROM_BOARD, "NAOMI-GDROM-BOARD", tag, owner, clock, "naomi_gdrom_board", __FILE__)
{ {
image_tag = 0; image_tag = 0;
pic_tag = 0; pic_tag = 0;

View File

@ -11,7 +11,7 @@ DEVICE_ADDRESS_MAP_START(submap, 16, naomi_m1_board)
ADDRESS_MAP_END ADDRESS_MAP_END
naomi_m1_board::naomi_m1_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) naomi_m1_board::naomi_m1_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: naomi_board(mconfig, NAOMI_M1_BOARD, "NAOMI-M1-BOARD", tag, owner, clock) : naomi_board(mconfig, NAOMI_M1_BOARD, "NAOMI-M1-BOARD", tag, owner, clock, "naomi_m1_board", __FILE__)
{ {
key_tag = 0; key_tag = 0;
} }

View File

@ -5,7 +5,7 @@
const device_type NAOMI_M2_BOARD = &device_creator<naomi_m2_board>; const device_type NAOMI_M2_BOARD = &device_creator<naomi_m2_board>;
naomi_m2_board::naomi_m2_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) naomi_m2_board::naomi_m2_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: naomi_board(mconfig, NAOMI_M2_BOARD, "NAOMI-M2-BOARD", tag, owner, clock) : naomi_board(mconfig, NAOMI_M2_BOARD, "NAOMI-M2-BOARD", tag, owner, clock, "naomi_m2_board", __FILE__)
{ {
key_tag = 0; key_tag = 0;
} }

View File

@ -30,7 +30,7 @@ const UINT8 naomi_m4_board::k_sboxes[4][16] = {
}; };
naomi_m4_board::naomi_m4_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) naomi_m4_board::naomi_m4_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: naomi_board(mconfig, NAOMI_M4_BOARD, "NAOMI-M1-BOARD", tag, owner, clock) : naomi_board(mconfig, NAOMI_M4_BOARD, "NAOMI-M1-BOARD", tag, owner, clock, "naomi_m4_board", __FILE__)
{ {
key_tag = 0; key_tag = 0;
} }

View File

@ -5,7 +5,7 @@
const device_type NAOMI_ROM_BOARD = &device_creator<naomi_rom_board>; const device_type NAOMI_ROM_BOARD = &device_creator<naomi_rom_board>;
naomi_rom_board::naomi_rom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) naomi_rom_board::naomi_rom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: naomi_board(mconfig, NAOMI_ROM_BOARD, "NAOMI-ROM-BOARD", tag, owner, clock) : naomi_board(mconfig, NAOMI_ROM_BOARD, "NAOMI-ROM-BOARD", tag, owner, clock, "naomi_rom_board", __FILE__)
{ {
} }

View File

@ -65,8 +65,8 @@ const device_type SEGA_YBOARD_SPRITES = &device_creator<sega_yboard_sprite_devic
// sega_16bit_sprite_device -- core constructor // sega_16bit_sprite_device -- core constructor
//------------------------------------------------- //-------------------------------------------------
sega_16bit_sprite_device::sega_16bit_sprite_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner) sega_16bit_sprite_device::sega_16bit_sprite_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, const char *shortname, const char *source)
: sprite16_device_ind16(mconfig, type, name, tag, owner, "sega16sp", __FILE__), : sprite16_device_ind16(mconfig, type, name, tag, owner, shortname, source),
m_flip(false) m_flip(false)
{ {
// default to 1:1 bank mapping // default to 1:1 bank mapping
@ -124,7 +124,7 @@ WRITE16_MEMBER( sega_16bit_sprite_device::draw_write )
//------------------------------------------------- //-------------------------------------------------
sega_hangon_sprite_device::sega_hangon_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sega_hangon_sprite_device::sega_hangon_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, SEGA_HANGON_SPRITES, "Sega Hang On Sprites", tag, owner) : sega_16bit_sprite_device(mconfig, SEGA_HANGON_SPRITES, "Sega Hang On Sprites", tag, owner, "sega_hangon_sprite", __FILE__)
{ {
set_origin(189, -1); set_origin(189, -1);
} }
@ -300,7 +300,7 @@ void sega_hangon_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &clip
//------------------------------------------------- //-------------------------------------------------
sega_sharrier_sprite_device::sega_sharrier_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sega_sharrier_sprite_device::sega_sharrier_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, SEGA_SHARRIER_SPRITES, "Sega Space Harrier Sprites", tag, owner) : sega_16bit_sprite_device(mconfig, SEGA_SHARRIER_SPRITES, "Sega Space Harrier Sprites", tag, owner, "sega_sharrier_sprite", __FILE__)
{ {
set_origin(189, -1); set_origin(189, -1);
} }
@ -487,7 +487,7 @@ void sega_sharrier_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &cl
//------------------------------------------------- //-------------------------------------------------
sega_sys16a_sprite_device::sega_sys16a_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sega_sys16a_sprite_device::sega_sys16a_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, SEGA_SYS16A_SPRITES, "Sega System 16A Sprites", tag, owner) : sega_16bit_sprite_device(mconfig, SEGA_SYS16A_SPRITES, "Sega System 16A Sprites", tag, owner, "sega_sys16a_sprite", __FILE__)
{ {
set_origin(189, -1); set_origin(189, -1);
} }
@ -661,7 +661,7 @@ void sega_sys16a_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &clip
//------------------------------------------------- //-------------------------------------------------
bootleg_sys16a_sprite_device::bootleg_sys16a_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) bootleg_sys16a_sprite_device::bootleg_sys16a_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, BOOTLEG_SYS16A_SPRITES, "Bootleg System 16A Sprites", tag, owner) : sega_16bit_sprite_device(mconfig, BOOTLEG_SYS16A_SPRITES, "Bootleg System 16A Sprites", tag, owner, "bootleg_sys16a_sprite", __FILE__)
{ {
m_addrmap[0] = 0; m_addrmap[0] = 0;
m_addrmap[1] = 1; m_addrmap[1] = 1;
@ -844,7 +844,7 @@ void bootleg_sys16a_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &c
//------------------------------------------------- //-------------------------------------------------
sega_sys16b_sprite_device::sega_sys16b_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sega_sys16b_sprite_device::sega_sys16b_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, SEGA_SYS16B_SPRITES, "Sega System 16B Sprites", tag, owner) : sega_16bit_sprite_device(mconfig, SEGA_SYS16B_SPRITES, "Sega System 16B Sprites", tag, owner, "sega_16bit_sprite", __FILE__)
{ {
set_origin(184, 0x00); set_origin(184, 0x00);
} }
@ -1034,14 +1034,14 @@ void sega_sys16b_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &clip
//------------------------------------------------- //-------------------------------------------------
sega_outrun_sprite_device::sega_outrun_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sega_outrun_sprite_device::sega_outrun_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, SEGA_OUTRUN_SPRITES, "Sega Out Run Sprites", tag, owner), : sega_16bit_sprite_device(mconfig, SEGA_OUTRUN_SPRITES, "Sega Out Run Sprites", tag, owner, "sega_16bit_sprite", __FILE__),
m_is_xboard(false) m_is_xboard(false)
{ {
set_origin(189, 0x00); set_origin(189, 0x00);
} }
sega_outrun_sprite_device::sega_outrun_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool xboard_variant) sega_outrun_sprite_device::sega_outrun_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool xboard_variant, const char *shortname, const char *source)
: sega_16bit_sprite_device(mconfig, SEGA_XBOARD_SPRITES, "Sega X-Board Sprites", tag, owner), : sega_16bit_sprite_device(mconfig, SEGA_XBOARD_SPRITES, "Sega X-Board Sprites", tag, owner, shortname, source),
m_is_xboard(true) m_is_xboard(true)
{ {
set_origin(190, 0x00); set_origin(190, 0x00);
@ -1053,7 +1053,7 @@ sega_outrun_sprite_device::sega_outrun_sprite_device(const machine_config &mconf
//------------------------------------------------- //-------------------------------------------------
sega_xboard_sprite_device::sega_xboard_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sega_xboard_sprite_device::sega_xboard_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sega_outrun_sprite_device(mconfig, tag, owner, clock, true) : sega_outrun_sprite_device(mconfig, tag, owner, clock, true, "sega_xboard_sprite", __FILE__)
{ {
} }
@ -1245,7 +1245,7 @@ void sega_outrun_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &clip
//------------------------------------------------- //-------------------------------------------------
sega_yboard_sprite_device::sega_yboard_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) sega_yboard_sprite_device::sega_yboard_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, SEGA_YBOARD_SPRITES, "Sega Y-Board Sprites", tag, owner) : sega_16bit_sprite_device(mconfig, SEGA_YBOARD_SPRITES, "Sega Y-Board Sprites", tag, owner, "sega_yboard_sprite", __FILE__)
{ {
set_origin(0x600, 0x600); set_origin(0x600, 0x600);
} }

View File

@ -93,7 +93,7 @@ class sega_16bit_sprite_device : public sprite16_device_ind16
{ {
protected: protected:
// construction/destruction // construction/destruction
sega_16bit_sprite_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner); sega_16bit_sprite_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, const char *shortname, const char *source);
public: public:
// live configuration // live configuration
@ -149,7 +149,7 @@ public:
// construction/destruction // construction/destruction
sega_outrun_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); sega_outrun_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
protected: protected:
sega_outrun_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool xboard_variant); sega_outrun_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool xboard_variant, const char *shortname, const char *source);
// subclass overrides // subclass overrides
virtual void draw(bitmap_ind16 &bitmap, const rectangle &cliprect); virtual void draw(bitmap_ind16 &bitmap, const rectangle &cliprect);

View File

@ -80,8 +80,8 @@ machine_config_constructor c64_reu_cartridge_device::device_mconfig_additions()
// c64_reu_cartridge_device - constructor // c64_reu_cartridge_device - constructor
//------------------------------------------------- //-------------------------------------------------
c64_reu_cartridge_device::c64_reu_cartridge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, int jp1, size_t ram_size) : c64_reu_cartridge_device::c64_reu_cartridge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, int jp1, size_t ram_size, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, "c64_reu", __FILE__), device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_c64_expansion_card_interface(mconfig, *this), device_c64_expansion_card_interface(mconfig, *this),
m_dmac(*this, MOS8726R1_TAG), m_dmac(*this, MOS8726R1_TAG),
m_variant(variant), m_variant(variant),
@ -91,13 +91,13 @@ c64_reu_cartridge_device::c64_reu_cartridge_device(const machine_config &mconfig
} }
c64_reu1700_cartridge_device::c64_reu1700_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) c64_reu1700_cartridge_device::c64_reu1700_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: c64_reu_cartridge_device(mconfig, C64_REU1700, "1700 REU", tag, owner, clock, TYPE_1700, 0, 128 * 1024) { } : c64_reu_cartridge_device(mconfig, C64_REU1700, "1700 REU", tag, owner, clock, TYPE_1700, 0, 128 * 1024, "c64_1700reu", __FILE__) { }
c64_reu1750_cartridge_device::c64_reu1750_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) c64_reu1750_cartridge_device::c64_reu1750_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: c64_reu_cartridge_device(mconfig, C64_REU1750, "1750 REU", tag, owner, clock, TYPE_1750, 1, 256 * 1024) { } : c64_reu_cartridge_device(mconfig, C64_REU1750, "1750 REU", tag, owner, clock, TYPE_1750, 1, 256 * 1024, "c64_1750reu", __FILE__) { }
c64_reu1764_cartridge_device::c64_reu1764_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) c64_reu1764_cartridge_device::c64_reu1764_cartridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: c64_reu_cartridge_device(mconfig, C64_REU1764, "1764 REU", tag, owner, clock, TYPE_1764, 1, 512 * 1024) { } : c64_reu_cartridge_device(mconfig, C64_REU1764, "1764 REU", tag, owner, clock, TYPE_1764, 1, 512 * 1024, "c64_1764reu", __FILE__) { }
//------------------------------------------------- //-------------------------------------------------

View File

@ -31,7 +31,7 @@ class c64_reu_cartridge_device : public device_t,
{ {
public: public:
// construction/destruction // construction/destruction
c64_reu_cartridge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, int jp1, size_t ram_size); c64_reu_cartridge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, UINT32 variant, int jp1, size_t ram_size, const char *shortname, const char *source);
// optional information overrides // optional information overrides
virtual const rom_entry *device_rom_region() const; virtual const rom_entry *device_rom_region() const;

View File

@ -149,7 +149,7 @@ base_gb_cart_slot_device::base_gb_cart_slot_device(const machine_config &mconfig
} }
gb_cart_slot_device::gb_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : gb_cart_slot_device::gb_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
base_gb_cart_slot_device(mconfig, GB_CART_SLOT, "Game Boy Cartridge Slot", tag, owner, clock, "gba_cart_slot", __FILE__) base_gb_cart_slot_device(mconfig, GB_CART_SLOT, "Game Boy Cartridge Slot", tag, owner, clock, "gb_cart_slot", __FILE__)
{ {
} }

View File

@ -40,6 +40,16 @@ ti_exp_video_device::ti_exp_video_device(const machine_config &mconfig, const ch
{ {
} }
ti_sound_sn94624_device::ti_sound_sn94624_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ti_sound_system_device(mconfig, TISOUND_94624, tag, "Onboard sound (SN94624)", owner, clock, "ti_sound_sn94624", __FILE__)
{
}
ti_sound_sn76496_device::ti_sound_sn76496_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: ti_sound_system_device(mconfig, TISOUND_76496, tag, "Onboard sound (SN76496)", owner, clock, "ti_sound_sn76496", __FILE__)
{
}
/*****************************************************************************/ /*****************************************************************************/
/* /*
Memory access (TI-99/4A and TI-99/8) Memory access (TI-99/4A and TI-99/8)

View File

@ -87,8 +87,8 @@ struct ti_sound_config
class ti_sound_system_device : public bus8z_device class ti_sound_system_device : public bus8z_device
{ {
public: public:
ti_sound_system_device(const machine_config &mconfig, device_type type, const char *tag, const char *name, device_t *owner, UINT32 clock) ti_sound_system_device(const machine_config &mconfig, device_type type, const char *tag, const char *name, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: bus8z_device(mconfig, type, name, tag, owner, clock, "ti99_ss", __FILE__) { }; : bus8z_device(mconfig, type, name, tag, owner, clock, shortname, source) { };
// Cannot read from sound; just ignore silently // Cannot read from sound; just ignore silently
DECLARE_READ8Z_MEMBER(readz) { }; DECLARE_READ8Z_MEMBER(readz) { };
@ -110,8 +110,7 @@ private:
class ti_sound_sn94624_device : public ti_sound_system_device class ti_sound_sn94624_device : public ti_sound_system_device
{ {
public: public:
ti_sound_sn94624_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ti_sound_sn94624_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
: ti_sound_system_device(mconfig, TISOUND_94624, tag, "Onboard sound (SN94624)", owner, clock) { }
protected: protected:
virtual machine_config_constructor device_mconfig_additions() const; virtual machine_config_constructor device_mconfig_additions() const;
@ -123,8 +122,7 @@ protected:
class ti_sound_sn76496_device : public ti_sound_system_device class ti_sound_sn76496_device : public ti_sound_system_device
{ {
public: public:
ti_sound_sn76496_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) ti_sound_sn76496_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
: ti_sound_system_device(mconfig, TISOUND_76496, tag, "Onboard sound (SN76496)", owner, clock) { }
protected: protected:
virtual machine_config_constructor device_mconfig_additions() const; virtual machine_config_constructor device_mconfig_additions() const;