summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2025-07-12 22:11:46 -0400
committer arbee <rb6502@users.noreply.github.com>2025-07-12 22:11:46 -0400
commitcc5af07c4cc6ceeb2d87f9a538c63f1f96d38964 (patch)
treea4ce28d1fc083e7d9bd6815586bfbb7b559f01e7 /scripts/src
parent7d063545d63b492577eb156dff8b1ff62c249221 (diff)
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.
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/machine.lua12
1 files changed, 12 insertions, 0 deletions
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
@@ -2166,6 +2166,18 @@ 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
---------------------------------------------------