summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/cpu.lua
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-03-03 16:56:13 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-03-03 16:56:13 -0500
commit156619b401e85bfe14f771a59bd8d0272fa257a4 (patch)
tree4070fbab76bc74599de60c3fc974f242673e71e6 /scripts/src/cpu.lua
parent542a331fd2415f4a54da816bfbe8d3823ae3e050 (diff)
Add skeleton CPU device and disassembler for HPC architecture
Diffstat (limited to 'scripts/src/cpu.lua')
-rw-r--r--scripts/src/cpu.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index 4095f62a4c3..631af0dbcff 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -2800,3 +2800,20 @@ if (CPUS["ALPHA"]~=null or _OPTIONS["with-tools"]) then
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alpha/alphad.cpp")
table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/alpha/alphad.h")
end
+
+--------------------------------------------------
+-- National Semiconductor HPC
+--@src/devices/cpu/hpc/hpc.h,CPUS["HPC"] = true
+--------------------------------------------------
+
+if (CPUS["HPC"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/hpc/hpc.cpp",
+ MAME_DIR .. "src/devices/cpu/hpc/hpc.h",
+ }
+end
+
+if (CPUS["HPC"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hpc/hpcdasm.cpp")
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/hpc/hpcdasm.h")
+end