src/emu/machine/intelfsh.c
| r15588 | r15589 | |
| 79 | 79 | const device_type INTEL_28F016S5 = &device_creator<intel_28f016s5_device>; |
| 80 | 80 | const device_type SHARP_LH28F016S = &device_creator<sharp_lh28f016s_device>; |
| 81 | 81 | const device_type ATMEL_29C010 = &device_creator<atmel_29c010_device>; |
| 82 | const device_type AMD_29F010 = &device_creator<amd_29f010_device>; |
| 82 | 83 | const device_type AMD_29F040 = &device_creator<amd_29f040_device>; |
| 83 | 84 | const device_type AMD_29F080 = &device_creator<amd_29f080_device>; |
| 84 | 85 | const device_type FUJITSU_29F016A = &device_creator<fujitsu_29f016a_device>; |
| r15588 | r15589 | |
| 178 | 179 | m_device_id = 0xd5; |
| 179 | 180 | map = ADDRESS_MAP_NAME( memory_map8_1Mb ); |
| 180 | 181 | 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; |
| 181 | 189 | case FLASH_AMD_29F040: |
| 182 | 190 | m_bits = 8; |
| 183 | 191 | m_size = 0x80000; |
| r15588 | r15589 | |
| 298 | 306 | atmel_29c010_device::atmel_29c010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 299 | 307 | : intelfsh8_device(mconfig, ATMEL_29C010, "Atmel 29C010 Flash", tag, owner, clock, FLASH_ATMEL_29C010) { } |
| 300 | 308 | |
| 309 | amd_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 | |
| 301 | 312 | amd_29f040_device::amd_29f040_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 302 | 313 | : intelfsh8_device(mconfig, AMD_29F040, "AMD 29F040 Flash", tag, owner, clock, FLASH_AMD_29F040) { } |
| 303 | 314 | |
src/emu/machine/intelfsh.h
| r15588 | r15589 | |
| 19 | 19 | #define MCFG_ATMEL_29C010_ADD(_tag) \ |
| 20 | 20 | MCFG_DEVICE_ADD(_tag, ATMEL_29C010, 0) |
| 21 | 21 | |
| 22 | #define MCFG_AMD_29F010_ADD(_tag) \ |
| 23 | MCFG_DEVICE_ADD(_tag, AMD_29F010, 0) |
| 24 | |
| 22 | 25 | #define MCFG_AMD_29F040_ADD(_tag) \ |
| 23 | 26 | MCFG_DEVICE_ADD(_tag, AMD_29F040, 0) |
| 24 | 27 | |
| r15588 | r15589 | |
| 79 | 82 | FLASH_FUJITSU_29F016A, |
| 80 | 83 | FLASH_FUJITSU_29DL16X, |
| 81 | 84 | FLASH_ATMEL_29C010, |
| 85 | FLASH_AMD_29F010, |
| 82 | 86 | FLASH_AMD_29F040, |
| 83 | 87 | FLASH_AMD_29F080, |
| 84 | 88 | FLASH_SHARP_LH28F016S, |
| r15588 | r15589 | |
| 200 | 204 | atmel_29c010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 201 | 205 | }; |
| 202 | 206 | |
| 207 | class amd_29f010_device : public intelfsh8_device |
| 208 | { |
| 209 | public: |
| 210 | amd_29f010_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 211 | }; |
| 212 | |
| 203 | 213 | class amd_29f040_device : public intelfsh8_device |
| 204 | 214 | { |
| 205 | 215 | public: |
| r15588 | r15589 | |
| 279 | 289 | extern const device_type INTEL_28F016S5; |
| 280 | 290 | extern const device_type SHARP_LH28F016S; |
| 281 | 291 | extern const device_type ATMEL_29C010; |
| 292 | extern const device_type AMD_29F010; |
| 282 | 293 | extern const device_type AMD_29F040; |
| 283 | 294 | extern const device_type AMD_29F080; |
| 284 | 295 | extern const device_type FUJITSU_29F016A; |