trunk/src/emu/cpu/tms0980/tms0980.c
r241761 | r241762 | |
10 | 10 | |
11 | 11 | Mode | ROM | RAM | R pins | O pins | K pins | ids |
12 | 12 | ---------+-----------+----------+--------+--------+--------|---------- |
13 | | tms0970* | 1024 * 8 | 64 * 4 | | | | tms0972 |
| 13 | tms0970 | 1024 * 8 | 64 * 4 | | | | tms0972 |
14 | 14 | tms0920* | 511?* 9 | 40 * 5 | | | | tmc0921 |
15 | 15 | tms0980 | 2048 * 9 | 64 * 9 | | | | tmc0981 |
16 | 16 | tms1000 | 1024 * 8 | 64 * 4 | 11 | 8 | 4 | tms1001 |
r241761 | r241762 | |
127 | 127 | |
128 | 128 | const device_type TMS0980 = &device_creator<tms0980_cpu_device>; |
129 | 129 | const device_type TMS1000 = &device_creator<tms1000_cpu_device>; |
| 130 | const device_type TMS0970 = &device_creator<tms0970_cpu_device>; |
130 | 131 | const device_type TMS1070 = &device_creator<tms1070_cpu_device>; |
131 | 132 | const device_type TMS1200 = &device_creator<tms1200_cpu_device>; |
132 | 133 | const device_type TMS1270 = &device_creator<tms1270_cpu_device>; |
r241761 | r241762 | |
636 | 637 | nand322 means if pc = 0x3f, output MUST be true |
637 | 638 | hence, nand325 is if pc = 0x7f, false. if pc = 0x3f, true. if pc&0x60 is zero OR pc&0x60 is 0x60, true. otherwise, false. |
638 | 639 | |
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. |
640 | 641 | */ |
641 | 642 | void tms1xxx_cpu_device::next_pc() |
642 | 643 | { |
r241761 | r241762 | |
1057 | 1058 | } |
1058 | 1059 | |
1059 | 1060 | |
| 1061 | tms0970_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 | |
1060 | 1066 | tms1070_cpu_device::tms1070_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) |
1061 | 1067 | : tms1000_cpu_device( mconfig, TMS1070, "TMS1070", tag, owner, clock, 0x00ff, 0x07ff, "tms1070", __FILE__) |
1062 | 1068 | { |
trunk/src/emu/cpu/tms0980/tms0980.h
r241761 | r241762 | |
162 | 162 | }; |
163 | 163 | |
164 | 164 | |
| 165 | class tms0970_cpu_device : public tms1000_cpu_device |
| 166 | { |
| 167 | public: |
| 168 | tms0970_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); |
| 169 | }; |
| 170 | |
| 171 | |
165 | 172 | class tms1070_cpu_device : public tms1000_cpu_device |
166 | 173 | { |
167 | 174 | public: |
r241761 | r241762 | |
209 | 216 | |
210 | 217 | /* 8-bit family */ |
211 | 218 | extern const device_type TMS1000; |
| 219 | extern const device_type TMS0970; |
212 | 220 | extern const device_type TMS1070; |
213 | 221 | extern const device_type TMS1200; |
214 | 222 | extern const device_type TMS1270; |