Previous 15994 Revisions Next

r15589 Friday 13th July, 2012 at 21:48:46 UTC by Sandro Ronco
geniusiq: added emulation of AMD 29F010 Flash. (nw)
[src/emu/machine]intelfsh.c intelfsh.h
[src/mess/drivers]geniusiq.c

src/emu/machine/intelfsh.c
r15588r15589
7979const device_type INTEL_28F016S5 = &device_creator<intel_28f016s5_device>;
8080const device_type SHARP_LH28F016S = &device_creator<sharp_lh28f016s_device>;
8181const device_type ATMEL_29C010 = &device_creator<atmel_29c010_device>;
82const device_type AMD_29F010 = &device_creator<amd_29f010_device>;
8283const device_type AMD_29F040 = &device_creator<amd_29f040_device>;
8384const device_type AMD_29F080 = &device_creator<amd_29f080_device>;
8485const device_type FUJITSU_29F016A = &device_creator<fujitsu_29f016a_device>;
r15588r15589
178179      m_device_id = 0xd5;
179180      map = ADDRESS_MAP_NAME( memory_map8_1Mb );
180181      break;
182   case FLASH_AMD_29F010:
183      m_bits = 8;
184      m_size = 0x20000;
185      m_maker_id = MFG_AMD;
186      m_device_id = 0x20;
187      map = ADDRESS_MAP_NAME( memory_map8_1Mb );
188      break;
181189   case FLASH_AMD_29F040:
182190      m_bits = 8;
183191      m_size = 0x80000;
r15588r15589
298306atmel_29c010_device::atmel_29c010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
299307   : intelfsh8_device(mconfig, ATMEL_29C010, "Atmel 29C010 Flash", tag, owner, clock, FLASH_ATMEL_29C010) { }
300308
309amd_29f010_device::amd_29f010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
310   : intelfsh8_device(mconfig, AMD_29F010, "AMD 29F010 Flash", tag, owner, clock, FLASH_AMD_29F010) { }
311
301312amd_29f040_device::amd_29f040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
302313   : intelfsh8_device(mconfig, AMD_29F040, "AMD 29F040 Flash", tag, owner, clock, FLASH_AMD_29F040) { }
303314
src/emu/machine/intelfsh.h
r15588r15589
1919#define MCFG_ATMEL_29C010_ADD(_tag) \
2020   MCFG_DEVICE_ADD(_tag, ATMEL_29C010, 0)
2121
22#define MCFG_AMD_29F010_ADD(_tag) \
23   MCFG_DEVICE_ADD(_tag, AMD_29F010, 0)
24
2225#define MCFG_AMD_29F040_ADD(_tag) \
2326   MCFG_DEVICE_ADD(_tag, AMD_29F040, 0)
2427
r15588r15589
7982      FLASH_FUJITSU_29F016A,
8083      FLASH_FUJITSU_29DL16X,
8184      FLASH_ATMEL_29C010,
85      FLASH_AMD_29F010,
8286      FLASH_AMD_29F040,
8387      FLASH_AMD_29F080,
8488      FLASH_SHARP_LH28F016S,
r15588r15589
200204   atmel_29c010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
201205};
202206
207class amd_29f010_device : public intelfsh8_device
208{
209public:
210   amd_29f010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
211};
212
203213class amd_29f040_device : public intelfsh8_device
204214{
205215public:
r15588r15589
279289extern const device_type INTEL_28F016S5;
280290extern const device_type SHARP_LH28F016S;
281291extern const device_type ATMEL_29C010;
292extern const device_type AMD_29F010;
282293extern const device_type AMD_29F040;
283294extern const device_type AMD_29F080;
284295extern const device_type FUJITSU_29F016A;
src/mess/drivers/geniusiq.c
r15588r15589
130130   MCFG_PALETTE_LENGTH(256)
131131 
132132   /* internal flash */
133   MCFG_AMD_29F040_ADD("flash")   // should be AM29f010
133   MCFG_AMD_29F010_ADD("flash")
134134MACHINE_CONFIG_END
135135 
136136/* ROM definition */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team