Previous 199869 Revisions Next

r33250 Friday 7th November, 2014 at 00:46:35 UTC by hap
added tms0970 device
[src/emu/cpu/tms0980]tms0980.c tms0980.h

trunk/src/emu/cpu/tms0980/tms0980.c
r241761r241762
1010
1111Mode     | ROM       | RAM      | R pins | O pins | K pins | ids
1212---------+-----------+----------+--------+--------+--------|----------
13tms0970* | 1024 *  8 |  64 *  4 |        |        |        | tms0972
13tms0970 | 1024 *  8 |  64 *  4 |        |        |        | tms0972
1414tms0920* |  511?*  9 |  40 *  5 |        |        |        | tmc0921
1515tms0980  | 2048 *  9 |  64 *  9 |        |        |        | tmc0981
1616tms1000  | 1024 *  8 |  64 *  4 |     11 |      8 |      4 | tms1001
r241761r241762
127127
128128const device_type TMS0980 = &device_creator<tms0980_cpu_device>;
129129const device_type TMS1000 = &device_creator<tms1000_cpu_device>;
130const device_type TMS0970 = &device_creator<tms0970_cpu_device>;
130131const device_type TMS1070 = &device_creator<tms1070_cpu_device>;
131132const device_type TMS1200 = &device_creator<tms1200_cpu_device>;
132133const device_type TMS1270 = &device_creator<tms1270_cpu_device>;
r241761r241762
636637      nand322 means if pc = 0x3f, output MUST be true
637638      hence, nand325 is if pc = 0x7f, false. if pc = 0x3f, true. if pc&0x60 is zero OR pc&0x60 is 0x60, true. otherwise, false.
638639
639      tms0980_nect_pc below implements an indentical function to this in a somewhat more elegant way.
640      tms0980_next_pc below implements an indentical function to this in a somewhat more elegant way.
640641*/
641642void tms1xxx_cpu_device::next_pc()
642643{
r241761r241762
10571058}
10581059
10591060
1061tms0970_cpu_device::tms0970_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
1062   : tms1000_cpu_device( mconfig, TMS0970, "TMS0970", tag, owner, clock, 0x00ff, 0x07ff, "tms0970", __FILE__)
1063{
1064}
1065
10601066tms1070_cpu_device::tms1070_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
10611067   : tms1000_cpu_device( mconfig, TMS1070, "TMS1070", tag, owner, clock, 0x00ff, 0x07ff, "tms1070", __FILE__)
10621068{
trunk/src/emu/cpu/tms0980/tms0980.h
r241761r241762
162162};
163163
164164
165class tms0970_cpu_device : public tms1000_cpu_device
166{
167public:
168   tms0970_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
169};
170
171
165172class tms1070_cpu_device : public tms1000_cpu_device
166173{
167174public:
r241761r241762
209216
210217/* 8-bit family */
211218extern const device_type TMS1000;
219extern const device_type TMS0970;
212220extern const device_type TMS1070;
213221extern const device_type TMS1200;
214222extern const device_type TMS1270;


Previous 199869 Revisions Next


© 1997-2024 The MAME Team