mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
Sync with MESS (nw)
This commit is contained in:
parent
2d07e5aa47
commit
7d0cdbf5b9
@ -47,6 +47,7 @@ enum
|
||||
// device type definition
|
||||
const device_type INTEL_28F016S5 = &device_creator<intel_28f016s5_device>;
|
||||
const device_type SHARP_LH28F016S = &device_creator<sharp_lh28f016s_device>;
|
||||
const device_type ATMEL_29C010 = &device_creator<atmel_29c010_device>;
|
||||
const device_type AMD_29F040 = &device_creator<amd_29f040_device>;
|
||||
const device_type AMD_29F080 = &device_creator<amd_29f080_device>;
|
||||
const device_type FUJITSU_29F016A = &device_creator<fujitsu_29f016a_device>;
|
||||
@ -133,6 +134,13 @@ intelfsh_device::intelfsh_device(const machine_config &mconfig, device_type type
|
||||
m_device_id = 0xaa;
|
||||
map = ADDRESS_MAP_NAME( memory_map8_16Mb );
|
||||
break;
|
||||
case FLASH_ATMEL_29C010:
|
||||
m_bits = 8;
|
||||
m_size = 0x20000;
|
||||
m_maker_id = 0x1f;
|
||||
m_device_id = 0xd5;
|
||||
map = ADDRESS_MAP_NAME( memory_map8_1Mb );
|
||||
break;
|
||||
case FLASH_AMD_29F040:
|
||||
m_bits = 8;
|
||||
m_size = 0x80000;
|
||||
@ -242,6 +250,9 @@ fujitsu_29dl16x_device::fujitsu_29dl16x_device(const machine_config &mconfig, co
|
||||
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) { }
|
||||
|
||||
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) { }
|
||||
|
||||
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) { }
|
||||
|
||||
|
@ -16,6 +16,9 @@
|
||||
#define MCFG_SHARP_LH28F016S_ADD(_tag) \
|
||||
MCFG_DEVICE_ADD(_tag, SHARP_LH28F016S, 0)
|
||||
|
||||
#define MCFG_ATMEL_29C010_ADD(_tag) \
|
||||
MCFG_DEVICE_ADD(_tag, ATMEL_29C010, 0)
|
||||
|
||||
#define MCFG_AMD_29F040_ADD(_tag) \
|
||||
MCFG_DEVICE_ADD(_tag, AMD_29F040, 0)
|
||||
|
||||
@ -74,6 +77,7 @@ public:
|
||||
FLASH_INTEL_28F016S5 = 0x0800,
|
||||
FLASH_FUJITSU_29F016A,
|
||||
FLASH_FUJITSU_29DL16X,
|
||||
FLASH_ATMEL_29C010,
|
||||
FLASH_AMD_29F040,
|
||||
FLASH_AMD_29F080,
|
||||
FLASH_SHARP_LH28F016S,
|
||||
@ -186,6 +190,12 @@ public:
|
||||
fujitsu_29dl16x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
};
|
||||
|
||||
class atmel_29c010_device : public intelfsh8_device
|
||||
{
|
||||
public:
|
||||
atmel_29c010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
};
|
||||
|
||||
class amd_29f040_device : public intelfsh8_device
|
||||
{
|
||||
public:
|
||||
@ -259,6 +269,7 @@ public:
|
||||
// device type definition
|
||||
extern const device_type INTEL_28F016S5;
|
||||
extern const device_type SHARP_LH28F016S;
|
||||
extern const device_type ATMEL_29C010;
|
||||
extern const device_type AMD_29F040;
|
||||
extern const device_type AMD_29F080;
|
||||
extern const device_type FUJITSU_29F016A;
|
||||
|
Loading…
Reference in New Issue
Block a user