From 7e121d68bb443f579da3271e43255d69925d71a3 Mon Sep 17 00:00:00 2001 From: AJR Date: Mon, 14 Sep 2020 23:32:58 -0400 Subject: 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 --- scripts/src/cpu.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'scripts') 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", -- cgit v1.2.3-70-g09d2