Skip to content

Commit 0c5b6ad

Browse files
authored
atari/sprint2.cpp: Add a Sprint 2 bootleg set (#13360)
New working clones ------------------ Sprint 2 (bootleg) [Victor Fernandez (City Game)]
1 parent f36f67c commit 0c5b6ad

File tree

2 files changed

+51
-6
lines changed

2 files changed

+51
-6
lines changed

src/mame/atari/sprint2.cpp

Lines changed: 50 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ class sprint2_state : public driver_device
6969

7070
void init_sprint1();
7171
void init_sprint2();
72+
void init_sprint2bl();
7273
void init_dominos();
7374
void init_dominos4();
7475

@@ -301,10 +302,25 @@ void sprint2_state::init_sprint1()
301302
{
302303
m_game = 1;
303304
}
305+
304306
void sprint2_state::init_sprint2()
305307
{
306308
m_game = 2;
307309
}
310+
311+
void sprint2_state::init_sprint2bl()
312+
{
313+
uint8_t *rom = memregion("maincpu")->base();
314+
int size = memregion("maincpu")->bytes();
315+
std::vector<uint8_t> buffer(size);
316+
memcpy(&buffer[0], rom, size);
317+
318+
for (int i = 0; i < size; i++)
319+
rom[i] = buffer[bitswap<24>(i, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 6, 7, 8, 9, 5, 4, 3, 2, 1, 0)];
320+
321+
m_game = 2;
322+
}
323+
308324
void sprint2_state::init_dominos()
309325
{
310326
m_game = 3;
@@ -897,6 +913,31 @@ ROM_START( sprint2h )
897913
ROM_END
898914

899915

916+
ROM_START( sprint2bl )
917+
ROM_REGION( 0x10000, "maincpu", 0 )
918+
ROM_LOAD( "s2_1.bin", 0x2000, 0x0400, CRC(149ae63d) SHA1(0502b1ef151e380319c1d40207f51a187d28516f) )
919+
ROM_LOAD( "s2_2.bin", 0x2400, 0x0400, CRC(4ecb1cb1) SHA1(c59b1e1487d3b646cff20033c8bf9ce912bd3ee3) )
920+
ROM_LOAD( "s2_3.bin", 0x2800, 0x0400, CRC(40c0e3d1) SHA1(841d438b81f0d8459b274fc8f974493db62d0138) )
921+
ROM_LOAD( "s2_4.bin", 0x2c00, 0x0400, CRC(181bb070) SHA1(bf16647aac47039501aacfe71161862815b333fc) )
922+
ROM_LOAD( "s2_5.bin", 0x3000, 0x0400, CRC(15343ea9) SHA1(f93519833a75bc0a578272689fc79f040d48d17e) )
923+
ROM_LOAD( "s2_6.bin", 0x3400, 0x0400, CRC(4b3b1eeb) SHA1(2f30a748ce87bb600a2570fcd82071ddd1228a9e) )
924+
ROM_LOAD( "s2_8.bin", 0x3800, 0x0400, CRC(efebe532) SHA1(a67067defbdd7932b3806ff65c9b0da87254de1c) )
925+
ROM_LOAD( "s2_7.bin", 0x3c00, 0x0400, CRC(6c63dc81) SHA1(2eea1e88c5fd86cff515689dd20760851d36216d) )
926+
927+
ROM_REGION( 0x0200, "tiles", 0 )
928+
ROM_LOAD_NIB_HIGH( "6396-01.p4", 0x0000, 0x0200, CRC(801b42dd) SHA1(1db58390d803f404253cbf36d562016441ca568d) )
929+
ROM_LOAD_NIB_LOW ( "6397-01.r4", 0x0000, 0x0200, CRC(135ba1aa) SHA1(0465259440f73e1a2c8d8101f29e99b4885420e4) )
930+
931+
ROM_REGION( 0x0200, "sprites", 0 ) // cars
932+
ROM_LOAD_NIB_HIGH( "6399-01.j6", 0x0000, 0x0200, CRC(63d685b2) SHA1(608746163e25dbc14cde43c17aecbb9a14fac875) )
933+
ROM_LOAD_NIB_LOW ( "6398-01.k6", 0x0000, 0x0200, CRC(c9e1017e) SHA1(e7279a13e4a812d2e0218be0bc5162f2e56c6b66) )
934+
935+
ROM_REGION( 0x0120, "proms", 0 )
936+
ROM_LOAD( "6400-01.m2", 0x0000, 0x0100, CRC(b8094b4c) SHA1(82dc6799a19984f3b204ee3aeeb007e55afc8be3) ) // SYNC
937+
ROM_LOAD( "6401-01.e2", 0x0100, 0x0020, CRC(857df8db) SHA1(06313d5bde03220b2bc313d18e50e4bb1d0cfbbb) ) // address
938+
ROM_END
939+
940+
900941
ROM_START( dominos )
901942
ROM_REGION( 0x10000, "maincpu", 0 )
902943
ROM_LOAD( "7352-02.d1", 0x3000, 0x0800, CRC(738b4413) SHA1(3a90ab25bb5f65504692f97da43f03e21392dcd8) )
@@ -913,6 +954,7 @@ ROM_START( dominos )
913954
ROM_LOAD( "6401-01.e2", 0x0100, 0x0020, CRC(857df8db) SHA1(06313d5bde03220b2bc313d18e50e4bb1d0cfbbb) ) // address
914955
ROM_END
915956

957+
916958
ROM_START( dominos4 ) // built from original Atari source code
917959
ROM_REGION( 0x10000, "maincpu", 0 )
918960
ROM_LOAD_NIB_HIGH( "007754-01.l1", 0x3000, 0x0400, CRC(03fae4a9) SHA1(a132bd8bc866e33cdf6b4881064c8d265c2b25f4) )
@@ -938,9 +980,11 @@ ROM_END
938980
} // anonymous namespace
939981

940982

941-
GAME( 1978, sprint1, 0, sprint1, sprint1, sprint2_state, init_sprint1, ROT0, "Atari (Kee Games)", "Sprint 1", MACHINE_SUPPORTS_SAVE )
942-
GAME( 1976, sprint2, sprint1, sprint2, sprint2, sprint2_state, init_sprint2, ROT0, "Atari (Kee Games)", "Sprint 2 (set 1)", MACHINE_SUPPORTS_SAVE )
943-
GAME( 1976, sprint2a, sprint1, sprint2, sprint2, sprint2_state, init_sprint2, ROT0, "Atari (Kee Games)", "Sprint 2 (set 2)", MACHINE_SUPPORTS_SAVE )
944-
GAME( 1976, sprint2h, sprint1, sprint2, sprint2, sprint2_state, init_sprint2, ROT0, "hack", "Sprint 2 (color kit, Italy)", MACHINE_WRONG_COLORS | MACHINE_SUPPORTS_SAVE ) // Italian hack, supposedly is color instead of b/w? how?
945-
GAME( 1977, dominos, 0, dominos, dominos, sprint2_state, init_dominos, ROT0, "Atari", "Dominos", MACHINE_SUPPORTS_SAVE )
946-
GAME( 1977, dominos4, dominos, dominos4,dominos4,sprint2_state, init_dominos4,ROT0, "Atari", "Dominos 4 (Cocktail)", MACHINE_SUPPORTS_SAVE )
983+
// YEAR NAME PARENT MACHINE INPUT CLASS INIT ROT COMPANY FULLNAME FLAGS
984+
GAME( 1978, sprint1, 0, sprint1, sprint1, sprint2_state, init_sprint1, ROT0, "Atari (Kee Games)", "Sprint 1", MACHINE_SUPPORTS_SAVE )
985+
GAME( 1976, sprint2, sprint1, sprint2, sprint2, sprint2_state, init_sprint2, ROT0, "Atari (Kee Games)", "Sprint 2 (set 1)", MACHINE_SUPPORTS_SAVE )
986+
GAME( 1976, sprint2a, sprint1, sprint2, sprint2, sprint2_state, init_sprint2, ROT0, "Atari (Kee Games)", "Sprint 2 (set 2)", MACHINE_SUPPORTS_SAVE )
987+
GAME( 1976, sprint2h, sprint1, sprint2, sprint2, sprint2_state, init_sprint2, ROT0, "hack", "Sprint 2 (color kit, Italy)", MACHINE_WRONG_COLORS | MACHINE_SUPPORTS_SAVE ) // Italian hack, supposedly is color instead of b/w? how?
988+
GAME( 1976, sprint2bl, sprint1, sprint2, sprint2, sprint2_state, init_sprint2bl, ROT0, "bootleg", "Sprint 2 (bootleg)", MACHINE_SUPPORTS_SAVE )
989+
GAME( 1977, dominos, 0, dominos, dominos, sprint2_state, init_dominos, ROT0, "Atari", "Dominos", MACHINE_SUPPORTS_SAVE )
990+
GAME( 1977, dominos4, dominos, dominos4, dominos4, sprint2_state, init_dominos4, ROT0, "Atari", "Dominos 4 (Cocktail)", MACHINE_SUPPORTS_SAVE )

src/mame/mame.lst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2194,6 +2194,7 @@ dominos4
21942194
sprint1
21952195
sprint2
21962196
sprint2a
2197+
sprint2bl
21972198
sprint2h
21982199

21992200
@source:atari/sprint4.cpp

0 commit comments

Comments
 (0)