trunk/src/emu/cpu/tms7000/tms7000.c
| r31400 | r31401 | |
| 44 | 44 | const device_type TMS70C20 = &device_creator<tms70c20_device>; |
| 45 | 45 | const device_type TMS70C40 = &device_creator<tms70c40_device>; |
| 46 | 46 | |
| 47 | | // 70C46 is same as 70C40, except with support for memory mapped I/O? |
| 48 | | // note: may also be labeled TMC70009 |
| 49 | | const device_type TMS70C46 = &device_creator<tms70c46_device>; |
| 50 | | |
| 51 | 47 | // 70x1 features more peripheral I/O, the main addition being a serial port. |
| 52 | 48 | // 70x2 is the same, just with twice more RAM (256 bytes) |
| 53 | 49 | const device_type TMS7001 = &device_creator<tms7001_device>; |
| r31400 | r31401 | |
| 164 | 160 | { |
| 165 | 161 | } |
| 166 | 162 | |
| 167 | | tms70c46_device::tms70c46_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 168 | | : tms7000_device(mconfig, TMS70C46, "TMS70C46", tag, owner, clock, ADDRESS_MAP_NAME(tms7040_mem), TMS7000_CHIP_IS_CMOS, "tms70c46", __FILE__) |
| 169 | | { |
| 170 | | } |
| 171 | | |
| 172 | 163 | tms7001_device::tms7001_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
| 173 | 164 | : tms7000_device(mconfig, TMS7001, "TMS7001", tag, owner, clock, ADDRESS_MAP_NAME(tms7001_mem), TMS7000_CHIP_FAMILY_70X2, "tms7001", __FILE__) |
| 174 | 165 | { |
trunk/src/emu/cpu/tms7000/tms7000.h
| r31400 | r31401 | |
| 304 | 304 | }; |
| 305 | 305 | |
| 306 | 306 | |
| 307 | | class tms70c46_device : public tms7000_device |
| 308 | | { |
| 309 | | public: |
| 310 | | tms70c46_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 311 | | }; |
| 312 | | |
| 313 | | |
| 314 | 307 | class tms7001_device : public tms7000_device |
| 315 | 308 | { |
| 316 | 309 | public: |
| r31400 | r31401 | |
| 346 | 339 | extern const device_type TMS70C00; |
| 347 | 340 | extern const device_type TMS70C20; |
| 348 | 341 | extern const device_type TMS70C40; |
| 349 | | extern const device_type TMS70C46; |
| 350 | 342 | extern const device_type TMS7001; |
| 351 | 343 | extern const device_type TMS7041; |
| 352 | 344 | extern const device_type TMS7002; |
trunk/src/mess/drivers/ti74.c
| r31400 | r31401 | |
| 79 | 79 | m_maincpu(*this, "maincpu") |
| 80 | 80 | { } |
| 81 | 81 | |
| 82 | | required_device<tms70c46_device> m_maincpu; |
| 82 | required_device<tms70c40_device> m_maincpu; |
| 83 | 83 | |
| 84 | 84 | ioport_port *m_key_matrix[8]; |
| 85 | 85 | emu_timer *m_poweron_timer; |
| r31400 | r31401 | |
| 416 | 416 | static MACHINE_CONFIG_START( ti74, ti74_state ) |
| 417 | 417 | |
| 418 | 418 | /* basic machine hardware */ |
| 419 | | MCFG_CPU_ADD("maincpu", TMS70C46, XTAL_4MHz) |
| 419 | MCFG_CPU_ADD("maincpu", TMS70C40, XTAL_4MHz) // C70009 is a TMS70C40 underneath |
| 420 | 420 | MCFG_CPU_PROGRAM_MAP(main_map) |
| 421 | 421 | MCFG_CPU_IO_MAP(main_io_map) |
| 422 | 422 | |