summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/cpu.lua
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-09-14 23:32:58 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-09-14 23:32:58 -0400
commit7e121d68bb443f579da3271e43255d69925d71a3 (patch)
tree941183a697631a786b87c36900904f030badc1ad /scripts/src/cpu.lua
parent949da6a0b08610f062b1c62255ffc907b2298e8b (diff)
kl5c80a12, kl5c80a16: Added emulation of KP63(A) Timer/Counter unit. This improves timings in animalc, haekaka, pyenaget and tdoboon.
* animalc: Pile kludge upon kludge for poorly understood video timing register * gocowboy, itazuram: Increase frequency of one timer interrupt (and hopper timing in gocowboy) * kc82, kp69: Modernize state_add syntax
Diffstat (limited to 'scripts/src/cpu.lua')
-rw-r--r--scripts/src/cpu.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua
index f8c16807c87..a55cf443fdb 100644
--- a/scripts/src/cpu.lua
+++ b/scripts/src/cpu.lua
@@ -49,6 +49,14 @@ if (CPU_INCLUDE_DRC) then
MAME_DIR .. "src/devices/cpu/drcbex86.h",
}
end
+
+ if _OPTIONS["targetos"]=="macosx" and _OPTIONS["gcc"]~=nil then
+ if string.find(_OPTIONS["gcc"], "clang") and (str_to_version(_OPTIONS["gcc_version"]) < 80000) then
+ defines {
+ "TARGET_OS_OSX=1",
+ }
+ end
+ end
end
--------------------------------------------------
@@ -2624,6 +2632,8 @@ if (CPUS["Z80"]~=null) then
MAME_DIR .. "src/devices/cpu/z80/kl5c80a12.h",
MAME_DIR .. "src/devices/cpu/z80/kl5c80a16.cpp",
MAME_DIR .. "src/devices/cpu/z80/kl5c80a16.h",
+ MAME_DIR .. "src/devices/cpu/z80/kp63.cpp",
+ MAME_DIR .. "src/devices/cpu/z80/kp63.h",
MAME_DIR .. "src/devices/cpu/z80/kp69.cpp",
MAME_DIR .. "src/devices/cpu/z80/kp69.h",
MAME_DIR .. "src/devices/cpu/z80/ky80.cpp",