From a816cffe184e259ca3e7eeda0d792fc2204e8a09 Mon Sep 17 00:00:00 2001 From: DavidHaywood <28625134+DavidHaywood@users.noreply.github.com> Date: Sun, 14 Apr 2019 00:06:28 +0100 Subject: pull SunPlus GCM394 titles out of vii.cpp - it's a newer SoC (with a lot more capabilities, eg rotate, zoom, twice the sound channels) - it uses an updated unSP core (with some extra opcodes) also made the modifications needed to allow for extension of the unSP + disassembler once we've worked out what the extra opcodes are. --- scripts/src/machine.lua | 4 ++++ scripts/target/mame/mess.lua | 1 + 2 files changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua index 2ec028ceb85..91e24545359 100644 --- a/scripts/src/machine.lua +++ b/scripts/src/machine.lua @@ -2616,6 +2616,8 @@ end --------------------------------------------------- -- --@src/devices/machine/spg2xx.h,MACHINES["SPG2XX"] = true +--@src/devices/machine/spg110.h,MACHINES["SPG2XX"] = true +--@src/devices/machine/sunplus_gcm394.h,MACHINES["SPG2XX"] = true --------------------------------------------------- if (MACHINES["SPG2XX"]~=null) then @@ -2634,6 +2636,8 @@ if (MACHINES["SPG2XX"]~=null) then MAME_DIR .. "src/devices/machine/spg110.h", MAME_DIR .. "src/devices/machine/spg110_video.cpp", MAME_DIR .. "src/devices/machine/spg110_video.h", + MAME_DIR .. "src/devices/machine/sunplus_gcm394.cpp", + MAME_DIR .. "src/devices/machine/sunplus_gcm394.h", } end diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua index 77125f311d2..a86d8cdaf76 100644 --- a/scripts/target/mame/mess.lua +++ b/scripts/target/mame/mess.lua @@ -3538,6 +3538,7 @@ files { MAME_DIR .. "src/mame/drivers/tvgame.cpp", MAME_DIR .. "src/mame/drivers/spg110.cpp", MAME_DIR .. "src/mame/drivers/vii.cpp", + MAME_DIR .. "src/mame/drivers/sunplus_gcm394.cpp", MAME_DIR .. "src/mame/drivers/xavix.cpp", MAME_DIR .. "src/mame/video/xavix.cpp", MAME_DIR .. "src/mame/machine/xavix.cpp", -- cgit v1.2.3