summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2016-03-16 01:26:37 +0100
committer hap <happppp@users.noreply.github.com>2016-03-16 01:26:37 +0100
commitce5cb07631ec328fa970624dd517239201072829 (patch)
tree75421887702f286b9b380c30f9087931c1ecffe9
parent4865a87134addb57783f1b1e2456276f239c2349 (diff)
tms1k: split part 2, renamed files
-rw-r--r--scripts/src/cpu.lua15
-rw-r--r--scripts/target/mame/arcade.lua2
-rw-r--r--scripts/target/mame/mess.lua2
-rw-r--r--src/devices/cpu/tms0980/tms1000.h10
-rw-r--r--src/devices/cpu/tms0980/tms1k_base.cpp (renamed from src/devices/cpu/tms0980/tms0980.cpp)2
-rw-r--r--src/devices/cpu/tms0980/tms1k_base.h (renamed from src/devices/cpu/tms0980/tms0980.h)6
-rw-r--r--src/devices/cpu/tms0980/tms1k_dasm.cpp (renamed from src/devices/cpu/tms0980/tms0980d.cpp)2
-rw-r--r--src/mame/drivers/microvsn.cpp2
-rw-r--r--src/mame/includes/hh_tms1k.h2
9 files changed, 27 insertions, 16 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index ed6378f93f8..7986bf158e7 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -1842,19 +1842,20 @@ if (CPUS["AVR8"]~=null or _OPTIONS["with-tools"]) then
end
--------------------------------------------------
--- Texas Instruments TMS0980
---@src/devices/cpu/tms0980/tms0980.h,CPUS["TMS0980"] = true
+-- Texas Instruments TMS1000 series
+--@src/devices/cpu/tms0980/tms1000.h,CPUS["TMS1000"] = true
--------------------------------------------------
-if (CPUS["TMS0980"]~=null) then
+if (CPUS["TMS1000"]~=null) then
files {
- MAME_DIR .. "src/devices/cpu/tms0980/tms0980.cpp",
- MAME_DIR .. "src/devices/cpu/tms0980/tms0980.h",
+ MAME_DIR .. "src/devices/cpu/tms0980/tms1k_base.cpp",
+ MAME_DIR .. "src/devices/cpu/tms0980/tms1k_base.h",
+ MAME_DIR .. "src/devices/cpu/tms0980/tms1000.h",
}
end
-if (CPUS["TMS0980"]~=null or _OPTIONS["with-tools"]) then
- table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms0980/tms0980d.cpp")
+if (CPUS["TMS1000"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/tms0980/tms1k_dasm.cpp")
end
--------------------------------------------------
diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua
index 17f8df2f760..27deeddb3a4 100644
--- a/scripts/target/mame/arcade.lua
+++ b/scripts/target/mame/arcade.lua
@@ -100,7 +100,7 @@ CPUS["SM8500"] = true
CPUS["MINX"] = true
CPUS["SSEM"] = true
CPUS["AVR8"] = true
---CPUS["TMS0980"] = true
+--CPUS["TMS1000"] = true
CPUS["I4004"] = true
CPUS["SUPERFX"] = true
CPUS["Z8"] = true
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index eb0322cd2f7..cef8524680f 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -101,7 +101,7 @@ CPUS["SM8500"] = true
CPUS["MINX"] = true
CPUS["SSEM"] = true
CPUS["AVR8"] = true
-CPUS["TMS0980"] = true
+CPUS["TMS1000"] = true
CPUS["I4004"] = true
CPUS["SUPERFX"] = true
CPUS["Z8"] = true
diff --git a/src/devices/cpu/tms0980/tms1000.h b/src/devices/cpu/tms0980/tms1000.h
new file mode 100644
index 00000000000..8b042b78cf8
--- /dev/null
+++ b/src/devices/cpu/tms0980/tms1000.h
@@ -0,0 +1,10 @@
+// license:BSD-3-Clause
+// copyright-holders:Wilbert Pol, hap
+
+#ifndef _TMS1000_H_
+#define _TMS1000_H_
+
+#include "tms1k_base.h"
+
+
+#endif /* _TMS1000_H_ */
diff --git a/src/devices/cpu/tms0980/tms0980.cpp b/src/devices/cpu/tms0980/tms1k_base.cpp
index f0ff6bd124b..b09d8b11273 100644
--- a/src/devices/cpu/tms0980/tms0980.cpp
+++ b/src/devices/cpu/tms0980/tms1k_base.cpp
@@ -66,7 +66,7 @@ unknown cycle: CME, SSE, SSS
*/
-#include "tms0980.h"
+#include "tms1k_base.h"
#include "debugger.h"
// supported types:
diff --git a/src/devices/cpu/tms0980/tms0980.h b/src/devices/cpu/tms0980/tms1k_base.h
index af14ebd6500..c1585bd22f0 100644
--- a/src/devices/cpu/tms0980/tms0980.h
+++ b/src/devices/cpu/tms0980/tms1k_base.h
@@ -6,8 +6,8 @@
*/
-#ifndef _TMS0980_H_
-#define _TMS0980_H_
+#ifndef _TMS1KBASE_H_
+#define _TMS1KBASE_H_
#include "emu.h"
#include "machine/pla.h"
@@ -574,4 +574,4 @@ extern const device_type TMS0270;
extern const device_type TP0320;
-#endif /* _TMS0980_H_ */
+#endif /* _TMS1KBASE_H_ */
diff --git a/src/devices/cpu/tms0980/tms0980d.cpp b/src/devices/cpu/tms0980/tms1k_dasm.cpp
index 81eba3739b5..054d4f09699 100644
--- a/src/devices/cpu/tms0980/tms0980d.cpp
+++ b/src/devices/cpu/tms0980/tms1k_dasm.cpp
@@ -8,7 +8,7 @@
#include "emu.h"
#include "debugger.h"
-#include "tms0980.h"
+#include "tms1k_base.h"
enum e_mnemonics
diff --git a/src/mame/drivers/microvsn.cpp b/src/mame/drivers/microvsn.cpp
index 6056ad38edd..65a84d4ff92 100644
--- a/src/mame/drivers/microvsn.cpp
+++ b/src/mame/drivers/microvsn.cpp
@@ -17,7 +17,7 @@ of the games were clocked at around 500KHz, 550KHz, or 300KHz.
#include "emu.h"
#include "cpu/mcs48/mcs48.h"
-#include "cpu/tms0980/tms0980.h"
+#include "cpu/tms0980/tms1000.h"
#include "sound/dac.h"
#include "rendlay.h"
diff --git a/src/mame/includes/hh_tms1k.h b/src/mame/includes/hh_tms1k.h
index 46f6530ae7a..3b9db9aa1b6 100644
--- a/src/mame/includes/hh_tms1k.h
+++ b/src/mame/includes/hh_tms1k.h
@@ -11,7 +11,7 @@
#include "emu.h"
-#include "cpu/tms0980/tms0980.h"
+#include "cpu/tms0980/tms1000.h"
#include "sound/speaker.h"