From 492b868f03b65ad8622c9ff3493425619caa4f5a Mon Sep 17 00:00:00 2001 From: arbee Date: Sun, 19 May 2024 12:34:31 -0400 Subject: 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] --- scripts/src/machine.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'scripts') 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 @@ -1560,6 +1560,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 -- cgit v1.2.3