summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author David Haywood <28625134+DavidHaywood@users.noreply.github.com>2020-09-17 03:39:44 +0100
committer GitHub <noreply@github.com>2020-09-16 22:39:44 -0400
commit2516ecf44d46fc6630ef355fb33b888a7bcaee38 (patch)
tree40fd61158d200bfa230b3ec83154af82c9cbfbfe
parent17b5d46e5ec8f8ac6658d6403edae04f82d43c59 (diff)
new NOT WORKING (plug play) (#7237)
* new NOT WORKING ---- Camp Rock Guitar Video Game (JAKKS Pacific TV Game) [Sean Riddle, Team Europe, David Haywood]
-rw-r--r--src/devices/machine/generalplus_gpl16250soc.cpp9
-rw-r--r--src/mame/drivers/generalplus_gpl16250_nand.cpp9
-rw-r--r--src/mame/mame.lst1
3 files changed, 18 insertions, 1 deletions
diff --git a/src/devices/machine/generalplus_gpl16250soc.cpp b/src/devices/machine/generalplus_gpl16250soc.cpp
index ac0c99f480e..2548929027c 100644
--- a/src/devices/machine/generalplus_gpl16250soc.cpp
+++ b/src/devices/machine/generalplus_gpl16250soc.cpp
@@ -203,7 +203,7 @@ void sunplus_gcm394_base_device::trigger_systemm_dma(int channel)
// note, these patch the code copied to SRAM so the 'PROGRAM ROM' check fails (it passes otherwise)
- //address_space& mem = this->space(AS_PROGRAM);
+ address_space& mem = this->space(AS_PROGRAM);
//if (mem.read_word(0x4368c) == 0x4846)
// mem.write_word(0x4368c, 0x4840); // cars 2 force service mode
@@ -218,6 +218,13 @@ void sunplus_gcm394_base_device::trigger_systemm_dma(int channel)
//if (mem.read_word(0x4d8d4) == 0x4840)
// mem.write_word(0x4d8d4, 0x4841); // golden tee IRQ? wait hack
+ //if (mem.read_word(0x3510f) == 0x4845)
+ // mem.write_word(0x3510f, 0x4840); // camp rock force service mode
+
+ if (mem.read_word(0x4abe7) == 0x4840)
+ mem.write_word(0x4abe7, 0x4841); // camp rock IRQ? wait hack
+
+
// clear params after operation
m_dma_params[0][channel] = m_dma_params[0][channel] & 0x00f7;
diff --git a/src/mame/drivers/generalplus_gpl16250_nand.cpp b/src/mame/drivers/generalplus_gpl16250_nand.cpp
index f539ba42b62..4ea55f3a56a 100644
--- a/src/mame/drivers/generalplus_gpl16250_nand.cpp
+++ b/src/mame/drivers/generalplus_gpl16250_nand.cpp
@@ -554,6 +554,14 @@ ROM_START( jak_hmhsm )
ROM_LOAD( "hmhsm.bin", 0x0000, 0x10800000, CRC(e63ad24c) SHA1(a7844b14af701914150aa7c06743a410f478ff7b) )
ROM_END
+ROM_START( jak_camp )
+ ROM_REGION16_BE( 0x40000, "maincpu:internal", ROMREGION_ERASE00 )
+ ROM_LOAD16_WORD_SWAP( "internal.rom", 0x00000, 0x40000, NO_DUMP ) // used as bootstrap only
+
+ ROM_REGION( 0x10800000, "nandrom", ROMREGION_ERASE00 )
+ ROM_LOAD( "camprockguitar1_sandisk11352-256b_45da.bin", 0x0000, 0x10800000, CRC(f52a4289) SHA1(d027ae274cd4ac97924d2344df1a96456e8e7c55) )
+ROM_END
+
ROM_START( jak_hsmg2 )
ROM_REGION16_BE( 0x40000, "maincpu:internal", ROMREGION_ERASE00 )
@@ -908,6 +916,7 @@ CONS(2008, jak_hsmg2, 0, 0, generalplus_gpac800, jak_hsm, generalplus_gp
CONS(2008, jak_hmhsm, 0, 0, generalplus_gpac800, jak_hsm, generalplus_gpac800_game_state, nand_init210_32mb, "JAKKS Pacific Inc / HotGen Ltd", "Hannah Montana G2 Deluxe / High School Musical G2 Deluxe - Two in One (JAKKS Pacific TV Game)", MACHINE_NO_SOUND | MACHINE_NOT_WORKING) // Sep 12 2008 18:48:14 (Menu/HM) / Sep 12 2008 18:50:45 (HSM)
CONS(2008, jak_umdf, 0, 0, generalplus_gpac800, jak_hsm, generalplus_gpac800_game_state, nand_init210_32mb, "JAKKS Pacific Inc / Handheld Games", "Ultimotion - Disney Fairies Sleeping Beauty & TinkerBell (JAKKS Pacific TV Game)", MACHINE_NO_SOUND | MACHINE_NOT_WORKING)
// Ultimotion Swing Zone is SPG29xx instead
+CONS(2008, jak_camp, 0, 0, generalplus_gpac800, jak_hsm, generalplus_gpac800_game_state, nand_init210_32mb, "JAKKS Pacific Inc / HotGen Ltd", "Camp Rock Guitar Video Game (JAKKS Pacific TV Game)", MACHINE_NO_SOUND | MACHINE_NOT_WORKING)
// There were 1 player and 2 player versions for several of the JAKKS guns. The 2nd gun appears to be simply a controller (no AV connectors) but as they were separate products with the 2 player versions being released up to a year after the original, the code could differ.
// If they differ, it is currently uncertain which versions these ROMs are from
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 4c866a7642b..5f2a1e1c531 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -14809,6 +14809,7 @@ mobigo2
@source:generalplus_gpl16250_nand.cpp
wlsair60 // Wireless Air 60
kiugames
+jak_camp
jak_car2
jak_gtg
jak_sspop