summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2024-05-19 12:34:31 -0400
committer arbee <rb6502@users.noreply.github.com>2024-05-19 12:34:31 -0400
commit492b868f03b65ad8622c9ff3493425619caa4f5a (patch)
treef727cd826686bcd5a4ea7e95bcca70054a88c595 /scripts/src
parent340fbec1e4bbac40b63f76bb847af2c58f13d61f (diff)
machine/i2chle.cpp: New mix-in class derived from dimm_spd that allows any device to speak I2C. [R. Belmont]
machine/dimm_spd.cpp: Refactored using the i2chle mix-in. [R. Belmont] apple/valkyrie.cpp: Collected more information, fixed the display enable, and mixed in i2chle to set the pixel clock over I2C. [R. Belmont] apple/macquadra630.cpp: Hook I2C up between Cuda and Valkyrie. [R. Belmont]
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/machine.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua
index 3953786b204..ace32673389 100644
--- a/scripts/src/machine.lua
+++ b/scripts/src/machine.lua
@@ -1561,6 +1561,17 @@ if (MACHINES["1MB5"]~=null) then
end
---------------------------------------------------
+--@src/devices/machine/i2cmem.h,MACHINES["I2CHLE"] = true
+---------------------------------------------------
+
+if (MACHINES["I2CHLE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/i2chle.cpp",
+ MAME_DIR .. "src/devices/machine/i2chle.h",
+ }
+end
+
+---------------------------------------------------
--
--@src/devices/machine/i2cmem.h,MACHINES["I2CMEM"] = true
---------------------------------------------------