summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2019-08-24 11:33:39 +0200
committer GitHub <noreply@github.com>2019-08-24 11:33:39 +0200
commitf5b2fd9ee6ef6ced1eec7859494e82c375d9c8d2 (patch)
tree376877d72db797a972308e698c3f81beddf160b4 /scripts
parent684e514e75a92addbb60656b9f82bb8754ef9ac6 (diff)
Major refactoring of VRender0 SoC device [Angelo Salese] (#5527)
* Improved encapsulation between video and machine SoC periperals; * Split up HWs in individual files where they don't belong to Crystal System HW, makes future development easier; * Untangled reads/writes to draw/display bankswitches from screen_update, now they can be unthrottled safely; * Added CRTC screen raw parameters; * Add DMA hold feature and clear irq on mask writes, specific for P's Attack; * Improved Cross Puzzle flash loading, currently failing at POST for a SPU error; nexus3d.cpp: add some preliminary work, currently does some VRender3d pipeline fill with a debug trick [Angelo Salese] (out of whatsnew) Some stuff definitely needs fine graining, like removing the few lines that are still necessary to configure the VRender0 from driver files, which I'm gonna do in my next feature branch.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/machine.lua12
-rw-r--r--scripts/target/mame/arcade.lua4
2 files changed, 16 insertions, 0 deletions
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua
index 97dfa1465e2..488b9a56ce4 100644
--- a/scripts/src/machine.lua
+++ b/scripts/src/machine.lua
@@ -4124,3 +4124,15 @@ if (MACHINES["WTL3132"]~=null) then
MAME_DIR .. "src/devices/machine/wtl3132.h",
}
end
+
+---------------------------------------------------
+--
+--@src/devices/machine/vrender0.h,MACHINES["VRENDER0"] = true
+---------------------------------------------------
+
+if (MACHINES["VRENDER0"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/vrender0.cpp",
+ MAME_DIR .. "src/devices/machine/vrender0.h",
+ }
+end
diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua
index 04e871892ee..ee7352c9ba9 100644
--- a/scripts/target/mame/arcade.lua
+++ b/scripts/target/mame/arcade.lua
@@ -4650,6 +4650,10 @@ files {
MAME_DIR .. "src/mame/drivers/corona.cpp",
MAME_DIR .. "src/mame/drivers/cwheel.cpp",
MAME_DIR .. "src/mame/drivers/crystal.cpp",
+ MAME_DIR .. "src/mame/drivers/menghong.cpp",
+ MAME_DIR .. "src/mame/drivers/trivrus.cpp",
+ MAME_DIR .. "src/mame/drivers/crospuzl.cpp",
+ MAME_DIR .. "src/mame/drivers/psattack.cpp",
MAME_DIR .. "src/mame/video/vrender0.cpp",
MAME_DIR .. "src/mame/video/vrender0.h",
MAME_DIR .. "src/mame/drivers/cubeqst.cpp",