From a081b6f24a4f9b1f877348532444d8fec73c4ecf Mon Sep 17 00:00:00 2001 From: David Haywood Date: Wed, 19 Jul 2017 18:28:29 +0100 Subject: gaelco / ds5002fp changes: - made ds5002fp store internal ram and sfr registers to nvram as they're battery backed - this includes the 'configuration' details which are actually programmable, so don't belong in the 'MACHINE_CONFIG' section but rather as part of the default NVRAM - as the exact format of the NVRAM storage is not known, and as not to break compatibility with the 'wrally' set Gaelco offer these bytes are now configured in the ROM LOADING like default NVRAM. Slightly awkward, but probably the best way. - made the SRAM (external to DS5002FP, but still powered by the same battery) also save content, some games actually use it to store scores etc. as well as the game code. - cleaned up the Touch and Go Dallas dump, and added some preconfigured internal RAM so that it actually loads the score data from the SRAM properly - prepared all other drivers for the adding of the SRAM dumps, removing old 'never going to work' simulation code in the process. To do this a wrapper / interface device for the Gaelco Dallas + SRAM box was created. out of whatsnew Alligator Hunt was dumped and works, but not yet added, want to verify on a 2nd PCB first as the process does corrupt some bytes and a couple had to be handfixed, so the only way to know for sure is multiple dumps. --- scripts/target/mame/arcade.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua index daf1ededa1f..712bdb4a618 100644 --- a/scripts/target/mame/arcade.lua +++ b/scripts/target/mame/arcade.lua @@ -1848,6 +1848,8 @@ files { MAME_DIR .. "src/mame/drivers/xorworld.cpp", MAME_DIR .. "src/mame/includes/xorworld.h", MAME_DIR .. "src/mame/video/xorworld.cpp", + MAME_DIR .. "src/mame/machine/gaelco_ds5002fp.cpp", + MAME_DIR .. "src/mame/machine/gaelco_ds5002fp.h", } createMAMEProjects(_target, _subtarget, "gameplan") -- cgit v1.2.3 From f509ff41564a5f095c5427f3605ec2b728bc81fb Mon Sep 17 00:00:00 2001 From: David Haywood Date: Wed, 19 Jul 2017 19:09:17 +0100 Subject: tiny build should be ok now (nw) --- scripts/target/mame/tiny.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/target/mame/tiny.lua b/scripts/target/mame/tiny.lua index db3cb2525f6..f4ac6d81074 100644 --- a/scripts/target/mame/tiny.lua +++ b/scripts/target/mame/tiny.lua @@ -148,6 +148,8 @@ files{ MAME_DIR .. "src/mame/includes/wrally.h", MAME_DIR .. "src/mame/machine/wrally.cpp", MAME_DIR .. "src/mame/video/wrally.cpp", + MAME_DIR .. "src/mame/machine/gaelco_ds5002fp.cpp", + MAME_DIR .. "src/mame/machine/gaelco_ds5002fp.h", MAME_DIR .. "src/mame/drivers/looping.cpp", MAME_DIR .. "src/mame/drivers/supertnk.cpp", } -- cgit v1.2.3