Previous 199869 Revisions Next

r31401 Wednesday 23rd July, 2014 at 13:55:48 UTC by hap
removed TMS70C46 cputype anyway, was identical alias to TMS70C40
[src/emu/cpu/tms7000]tms7000.c tms7000.h
[src/mess/drivers]ti74.c

trunk/src/emu/cpu/tms7000/tms7000.c
r31400r31401
4444const device_type TMS70C20 = &device_creator<tms70c20_device>;
4545const device_type TMS70C40 = &device_creator<tms70c40_device>;
4646
47// 70C46 is same as 70C40, except with support for memory mapped I/O?
48// note: may also be labeled TMC70009
49const device_type TMS70C46 = &device_creator<tms70c46_device>;
50
5147// 70x1 features more peripheral I/O, the main addition being a serial port.
5248// 70x2 is the same, just with twice more RAM (256 bytes)
5349const device_type TMS7001 = &device_creator<tms7001_device>;
r31400r31401
164160{
165161}
166162
167tms70c46_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
172163tms7001_device::tms7001_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
173164   : tms7000_device(mconfig, TMS7001, "TMS7001", tag, owner, clock, ADDRESS_MAP_NAME(tms7001_mem), TMS7000_CHIP_FAMILY_70X2, "tms7001", __FILE__)
174165{
trunk/src/emu/cpu/tms7000/tms7000.h
r31400r31401
304304};
305305
306306
307class tms70c46_device : public tms7000_device
308{
309public:
310   tms70c46_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
311};
312
313
314307class tms7001_device : public tms7000_device
315308{
316309public:
r31400r31401
346339extern const device_type TMS70C00;
347340extern const device_type TMS70C20;
348341extern const device_type TMS70C40;
349extern const device_type TMS70C46;
350342extern const device_type TMS7001;
351343extern const device_type TMS7041;
352344extern const device_type TMS7002;
trunk/src/mess/drivers/ti74.c
r31400r31401
7979      m_maincpu(*this, "maincpu")
8080   { }
8181
82   required_device<tms70c46_device> m_maincpu;
82   required_device<tms70c40_device> m_maincpu;
8383
8484   ioport_port *m_key_matrix[8];
8585   emu_timer *m_poweron_timer;
r31400r31401
416416static MACHINE_CONFIG_START( ti74, ti74_state )
417417
418418   /* basic machine hardware */
419   MCFG_CPU_ADD("maincpu", TMS70C46, XTAL_4MHz)
419   MCFG_CPU_ADD("maincpu", TMS70C40, XTAL_4MHz) // C70009 is a TMS70C40 underneath
420420   MCFG_CPU_PROGRAM_MAP(main_map)
421421   MCFG_CPU_IO_MAP(main_io_map)
422422

Previous 199869 Revisions Next


© 1997-2024 The MAME Team