mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
backporting new code (nw)
This commit is contained in:
parent
4e8e3066f8
commit
e569891ef5
@ -103,6 +103,7 @@ const device_type SST_39VF020 = &device_creator<sst_39vf020_device>;
|
||||
const device_type SHARP_LH28F400 = &device_creator<sharp_lh28f400_device>;
|
||||
const device_type INTEL_E28F008SA = &device_creator<intel_e28f008sa_device>;
|
||||
const device_type INTEL_TE28F160 = &device_creator<intel_te28f160_device>;
|
||||
const device_type INTEL_TE28F320 = &device_creator<intel_te28f320_device>;
|
||||
const device_type SHARP_UNK128MBIT = &device_creator<sharp_unk128mbit_device>;
|
||||
const device_type INTEL_28F320J3D = &device_creator<intel_28f320j3d_device>;
|
||||
const device_type INTEL_28F320J5 = &device_creator<intel_28f320j5_device>;
|
||||
@ -327,6 +328,13 @@ intelfsh_device::intelfsh_device(const machine_config &mconfig, device_type type
|
||||
m_device_id = 0xd0;
|
||||
map = ADDRESS_MAP_NAME( memory_map16_16Mb );
|
||||
break;
|
||||
case FLASH_INTEL_TE28F320:
|
||||
m_bits = 16;
|
||||
m_size = 0x400000;
|
||||
m_maker_id = MFG_INTEL;
|
||||
m_device_id = 0x8896;
|
||||
map = ADDRESS_MAP_NAME( memory_map16_32Mb );
|
||||
break;
|
||||
case FLASH_SHARP_UNK128MBIT:
|
||||
m_bits = 16;
|
||||
m_size = 0x800000;
|
||||
@ -460,6 +468,9 @@ sharp_lh28f400_device::sharp_lh28f400_device(const machine_config &mconfig, cons
|
||||
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, "intel_te28f160", __FILE__) { }
|
||||
|
||||
intel_te28f320_device::intel_te28f320_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: intelfsh16_device(mconfig, INTEL_TE28F320, "Intel TE28F320 Flash", tag, owner, clock, FLASH_INTEL_TE28F320, "intel_te28f320", __FILE__) { }
|
||||
|
||||
intel_e28f400b_device::intel_e28f400b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: intelfsh16_device(mconfig, INTEL_E28F400B, "Intel E28F400B Flash", tag, owner, clock, FLASH_INTEL_E28F400B, "intel_e28f400b", __FILE__) { }
|
||||
|
||||
|
@ -369,7 +369,7 @@ public:
|
||||
class intel_te28f320_device : public intelfsh16_device
|
||||
{
|
||||
public:
|
||||
intel_te28f320_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
|
||||
intel_te28f320_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
};
|
||||
|
||||
class intel_e28f400b_device : public intelfsh16_device
|
||||
|
@ -109,7 +109,7 @@ and off as it normally does during speech). Once START has gone low-high-low, th
|
||||
// device definition
|
||||
const device_type S14001A_NEW = &device_creator<s14001a_new_device>;
|
||||
|
||||
s14001a_new_device::s14001a_new_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
|
||||
s14001a_new_device::s14001a_new_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, S14001A_NEW, "S14001A_NEW", tag, owner, clock, "s14001a_new", __FILE__),
|
||||
device_sound_interface(mconfig, *this),
|
||||
m_SpeechRom(*this, DEVICE_SELF),
|
||||
|
@ -19,7 +19,7 @@ class s14001a_new_device : public device_t,
|
||||
public device_sound_interface
|
||||
{
|
||||
public:
|
||||
s14001a_new_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
|
||||
s14001a_new_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
~s14001a_new_device() {}
|
||||
|
||||
// static configuration helpers
|
||||
|
@ -26,7 +26,7 @@ const device_type PCD8544 = &device_creator<pcd8544_device>;
|
||||
// pcd8544_device - constructor
|
||||
//-------------------------------------------------
|
||||
|
||||
pcd8544_device::pcd8544_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
|
||||
pcd8544_device::pcd8544_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
|
||||
device_t(mconfig, PCD8544, "PCD8544", tag, owner, clock, "pcd8544", __FILE__)
|
||||
{
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ class pcd8544_device : public device_t
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
pcd8544_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
|
||||
pcd8544_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
static void static_set_screen_update_cb(device_t &device, pcd8544_screen_update_delegate _cb) { downcast<pcd8544_device &>(device).m_screen_update_cb = _cb; }
|
||||
|
||||
// device interface
|
||||
|
@ -28,7 +28,7 @@
|
||||
class fidel6502_state : public fidelz80base_state
|
||||
{
|
||||
public:
|
||||
fidel6502_state(const machine_config &mconfig, device_type type, std::string tag)
|
||||
fidel6502_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: fidelz80base_state(mconfig, type, tag),
|
||||
m_z80pio(*this, "z80pio"),
|
||||
m_ppi8255(*this, "ppi8255")
|
||||
|
@ -602,7 +602,7 @@ expect that the software reads these once on startup only.
|
||||
class fidelz80_state : public fidelz80base_state
|
||||
{
|
||||
public:
|
||||
fidelz80_state(const machine_config &mconfig, device_type type, std::string tag)
|
||||
fidelz80_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: fidelz80base_state(mconfig, type, tag),
|
||||
m_mcu(*this, "mcu"),
|
||||
m_z80pio(*this, "z80pio"),
|
||||
|
@ -13,7 +13,7 @@
|
||||
class fidelz80base_state : public driver_device
|
||||
{
|
||||
public:
|
||||
fidelz80base_state(const machine_config &mconfig, device_type type, std::string tag)
|
||||
fidelz80base_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_inp_matrix(*this, "IN"),
|
||||
|
Loading…
Reference in New Issue
Block a user