From cc5af07c4cc6ceeb2d87f9a538c63f1f96d38964 Mon Sep 17 00:00:00 2001 From: arbee Date: Sat, 12 Jul 2025 22:11:46 -0400 Subject: machine/macseconds.cpp: mix-in to consolidate all of the copy-pastes of the Mac-style time generation. [R. Belmont] * Also restored the clocks syncing to the local time zone rather than GMT. m6502/m5074x.cpp: Make external IRQs edge-triggered as documented for the M5074x and M5075x. [R. Belmont] apple/macprtb.cpp: Properly ack the VBL interrupt to the microcontroller. Fixes the one-second IRQ. [R. Belmont] * This fixes the Alarm Clock desk accessory so it updates every second on the Portable and PowerBook 100. --- scripts/src/machine.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'scripts/src/machine.lua') diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua index a086d09da25..d75ab7abdd6 100644 --- a/scripts/src/machine.lua +++ b/scripts/src/machine.lua @@ -2164,6 +2164,18 @@ if (MACHINES["M950X0"]~=null) then } end +--------------------------------------------------- +-- +--@src/devices/machine/macseconds.h,MACHINES["MACSECONDS"] = true +--------------------------------------------------- + +if (MACHINES["MACSECONDS"]~=null) then + files { + MAME_DIR .. "src/devices/machine/macseconds.cpp", + MAME_DIR .. "src/devices/machine/macseconds.h", + } +end + --------------------------------------------------- -- --@src/devices/machine/mb14241.h,MACHINES["MB14241"] = true -- cgit v1.2.3