summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author fulivi <fulivi@users.noreply.github.com>2017-07-08 11:31:42 +0200
committer Vas Crabb <cuavas@users.noreply.github.com>2017-07-08 19:31:42 +1000
commit5201a7f6bf1baf7e697b46b1292faaed5d850992 (patch)
tree0748d90f27b6e77f2479416dd9f843241258d841 /scripts/src
parent8b542ca5bd4127784ccce7f6f85b69c72b39f959 (diff)
Begin of HP80 emulation (#2448)
What works: * HP85A machine with 16K of RAM * Capricorn CPU works * Keyboard works (with minor issues) * CRT text / graphics modes work (correct speed is not emulated yet so service ROM complaints) * BASIC is usable What is missing (and I'll have hopefully working soon): * HW timers * Beeper * Integral printer * DC100 cassette drive * Extension ROMs * I/O modules (especially the HPIB interface so that we can hook up floppy drives) * Other models in the family (e.g. HP86)
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/cpu.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index d74a7100140..0dbe227083c 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -720,6 +720,22 @@ if (CPUS["NANOPROCESSOR"]~=null or _OPTIONS["with-tools"]) then
end
--------------------------------------------------
+-- HP Capricorn
+--@src/devices/cpu/capricorn/capricorn.h,CPUS["CAPRICORN"] = true
+--------------------------------------------------
+
+if (CPUS["CAPRICORN"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/cpu/capricorn/capricorn.cpp",
+ MAME_DIR .. "src/devices/cpu/capricorn/capricorn.h",
+ }
+end
+
+if (CPUS["CAPRICORN"]~=null or _OPTIONS["with-tools"]) then
+ table.insert(disasm_files , MAME_DIR .. "src/devices/cpu/capricorn/capricorn_dasm.cpp")
+end
+
+--------------------------------------------------
-- Hudsonsoft 6280
--@src/devices/cpu/h6280/h6280.h,CPUS["H6280"] = true
--------------------------------------------------