From 19f46acebe189040fe7011d11acedd85e8a089ed Mon Sep 17 00:00:00 2001 From: mamehaze <140764005+mamehaze@users.noreply.github.com> Date: Sat, 13 Dec 2025 03:09:10 +0000 Subject: Current Plug & Play PR - ELAN SoC refactoring pass 2 (#14648) - greatly refactored the ELAN EU3A05/EU3A13/EU3A14/EP3A19A code into more of a 'SoC' device - removed 'bankdev' stuff in favour of an additional address space - moved SoC implementation into machine folder, untying it mostly from the game drivers using the SoC - cleaned up some of the game hookups, eg. only map extra RAM for rad_sinv and buzztime, not all EU3A05 games new NOT WORKING clones ---- Family Tetris (PAL) [Team Europe] --- scripts/src/machine.lua | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'scripts/src/machine.lua') diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua index adc663e9236..8ecb0c96a56 100644 --- a/scripts/src/machine.lua +++ b/scripts/src/machine.lua @@ -104,6 +104,42 @@ if (MACHINES["ACORN_IOC"]~=null) then } end +--------------------------------------------------- +-- +--@src/devices/machine/elan_eu3a14_soc.h,MACHINES["ELAN_6502_SOC"] = true +--@src/devices/machine/elan_eu3a05_soc.h,MACHINES["ELAN_6502_SOC"] = true +--@src/devices/machine/elan_ep3a19a_soc.h,MACHINES["ELAN_6502_SOC"] = true +--------------------------------------------------- + +if (MACHINES["ELAN_6502_SOC"]~=null) then + files { + MAME_DIR .. "src/devices/machine/elan_ep3a19asys.cpp", + MAME_DIR .. "src/devices/machine/elan_ep3a19asys.h", + MAME_DIR .. "src/devices/machine/elan_ep3a19a_soc.cpp", + MAME_DIR .. "src/devices/machine/elan_ep3a19a_soc.h", + MAME_DIR .. "src/devices/machine/elan_eu3a05commonsys.cpp", + MAME_DIR .. "src/devices/machine/elan_eu3a05commonsys.h", + MAME_DIR .. "src/devices/machine/elan_eu3a05commonvid.cpp", + MAME_DIR .. "src/devices/machine/elan_eu3a05commonvid.h", + MAME_DIR .. "src/devices/machine/elan_eu3a05gpio.cpp", + MAME_DIR .. "src/devices/machine/elan_eu3a05gpio.h", + MAME_DIR .. "src/devices/machine/elan_eu3a05sys.cpp", + MAME_DIR .. "src/devices/machine/elan_eu3a05sys.h", + MAME_DIR .. "src/devices/machine/elan_eu3a05vid.cpp", + MAME_DIR .. "src/devices/machine/elan_eu3a05vid.h", + MAME_DIR .. "src/devices/machine/elan_eu3a05_a.cpp", + MAME_DIR .. "src/devices/machine/elan_eu3a05_a.h", + MAME_DIR .. "src/devices/machine/elan_eu3a05_soc.cpp", + MAME_DIR .. "src/devices/machine/elan_eu3a05_soc.h", + MAME_DIR .. "src/devices/machine/elan_eu3a14sys.cpp", + MAME_DIR .. "src/devices/machine/elan_eu3a14sys.h", + MAME_DIR .. "src/devices/machine/elan_eu3a14vid.cpp", + MAME_DIR .. "src/devices/machine/elan_eu3a14vid.h", + MAME_DIR .. "src/devices/machine/elan_eu3a14_soc.cpp", + MAME_DIR .. "src/devices/machine/elan_eu3a14_soc.h", + } +end + --------------------------------------------------- -- --@src/devices/machine/acorn_lc.h,MACHINES["ACORN_LC"] = true -- cgit v1.2.3