summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author ClawGrip <clawgrip@hotmail.com>2021-05-02 21:23:11 +0200
committer GitHub <noreply@github.com>2021-05-02 15:23:11 -0400
commit7e65a6c99e823d2d20f29acac10c05ee1a612bed (patch)
tree4d7cb0d4c63269915ec2d2c304c50d9576210228 /src/mame/drivers
parenteed96aa28a9eef28e2d46b1f6ff28038877f3e42 (diff)
leapfrog_leappad.cpp: Load ROMs as BIOSes instead of declaring clones (#7960)
* leapfrog_leappad.cpp: Load ROMs as BIOSes instead of declaring clones * Remove 'leappadca' and 'mfleappadus'
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/leapfrog_leappad.cpp36
1 files changed, 17 insertions, 19 deletions
diff --git a/src/mame/drivers/leapfrog_leappad.cpp b/src/mame/drivers/leapfrog_leappad.cpp
index d714a866495..197b24d5547 100644
--- a/src/mame/drivers/leapfrog_leappad.cpp
+++ b/src/mame/drivers/leapfrog_leappad.cpp
@@ -195,33 +195,31 @@ void leapfrog_leappad_state::leapfrog_ltleappad(machine_config &config)
// All of these contain the string "Have you copied our ROM?" near the date codes
ROM_START( leappad )
- ROM_REGION( 0x100000, "maincpu", ROMREGION_ERASEFF )
- ROM_LOAD( "leappadbios.bin", 0x000000, 0x100000, CRC(c886cddc) SHA1(f8a83b156feb28315d2321758678e141600a0d4e) ) // contains "Aug 06 2001.16:33:16.155-00450.LeapPad ILA2 Universal Base ROM" and "Copyright (c) 1998-2001 Knowledge Kids Enterprises, Inc."
-ROM_END
-
-ROM_START( leappadca )
ROM_REGION( 0x200000, "maincpu", ROMREGION_ERASEFF )
- ROM_LOAD( "leappadbioscanada.bin", 0x000000, 0x200000, CRC(cc12e3db) SHA1(adf52232adcfd4de5d8e31c0e0c09be61718a9d4) ) // contains "Jan 23 2004 11:28:40 152-10620 2MB Canada Full Base ROM" and "Copyright (c) 2000-2004 LeapFrog Enterprises, Inc."
+ ROM_DEFAULT_BIOS("ila2_universal")
+ ROM_SYSTEM_BIOS( 0, "ila2_universal", "Universal" )
+ ROMX_LOAD( "leappadbios.bin", 0x000000, 0x100000, CRC(c886cddc) SHA1(f8a83b156feb28315d2321758678e141600a0d4e), ROM_BIOS(0) ) // contains "Aug 06 2001.16:33:16.155-00450.LeapPad ILA2 Universal Base ROM" and "Copyright (c) 1998-2001 Knowledge Kids Enterprises, Inc."
+ ROM_SYSTEM_BIOS( 1, "2mb_canada_full", "Canada" )
+ ROMX_LOAD( "leappadbioscanada.bin", 0x000000, 0x200000, CRC(cc12e3db) SHA1(adf52232adcfd4de5d8e31c0e0c09be61718a9d4), ROM_BIOS(1) ) // contains "Jan 23 2004 11:28:40 152-10620 2MB Canada Full Base ROM" and "Copyright (c) 2000-2004 LeapFrog Enterprises, Inc."
ROM_END
ROM_START( mfleappad )
- ROM_REGION( 0x100000, "maincpu", ROMREGION_ERASEFF )
- ROM_LOAD( "myfirstleappadinternational.bin", 0x000000, 0x100000, CRC(4dc0c4d5) SHA1(573ecf2efaccf70e619cf54d63be9169e469ee6f) ) // contains "May 07 2002 10:53:14 152-00932 MFLP International base ROM V1.3" and "Copyright (c) 2002 LeapFrog Enterprises, Inc."
-ROM_END
-
-ROM_START( mfleappadus )
ROM_REGION( 0x400000, "maincpu", ROMREGION_ERASEFF )
- ROM_LOAD( "myfirstleappadbios.bin", 0x000000, 0x400000, CRC(19174c16) SHA1(e0ba644fdf38fd5f91ab8c4b673c4a658cc3e612) ) // contains "Feb 13 2004.10:58:53.152-10573.MFLP US Base ROM - 2004" and "Copyright (c) 2004 LeapFrog Enterprises, Inc."
+ ROM_DEFAULT_BIOS("internat_v1.3")
+ ROM_SYSTEM_BIOS( 0, "internat_v1.3", "International V1.3" )
+ ROMX_LOAD( "myfirstleappadinternational.bin", 0x000000, 0x100000, CRC(4dc0c4d5) SHA1(573ecf2efaccf70e619cf54d63be9169e469ee6f), ROM_BIOS(0) ) // contains "May 07 2002 10:53:14 152-00932 MFLP International base ROM V1.3" and "Copyright (c) 2002 LeapFrog Enterprises, Inc."
+ ROM_SYSTEM_BIOS( 1, "us_2004", "US" )
+ ROMX_LOAD( "myfirstleappadbios.bin", 0x000000, 0x400000, CRC(19174c16) SHA1(e0ba644fdf38fd5f91ab8c4b673c4a658cc3e612), ROM_BIOS(1) ) // contains "Feb 13 2004.10:58:53.152-10573.MFLP US Base ROM - 2004" and "Copyright (c) 2004 LeapFrog Enterprises, Inc."
ROM_END
ROM_START( ltleappad )
ROM_REGION( 0x400000, "maincpu", ROMREGION_ERASEFF )
- ROM_LOAD( "littletouchleappadbios.bin", 0x000000, 0x400000, CRC(13687b26) SHA1(6ec1a47aaef9c9ed134bb143c2631f4d89d7c236) ) // contains "Mar 10 2005 07:01:53 152-11244" and "Copyright (c) 2002-2005 LeapFrog Enterprises, Inc."
+ ROM_DEFAULT_BIOS("mar_10_2005")
+ ROM_SYSTEM_BIOS( 0, "mar_10_2005", "Mar 10 2005" )
+ ROMX_LOAD( "littletouchleappadbios.bin", 0x000000, 0x400000, CRC(13687b26) SHA1(6ec1a47aaef9c9ed134bb143c2631f4d89d7c236), ROM_BIOS(0) ) // contains "Mar 10 2005 07:01:53 152-11244" and "Copyright (c) 2002-2005 LeapFrog Enterprises, Inc."
ROM_END
-// year, name, parent, compat, machine, input, class, init, company, fullname, flags
-CONS( 2001, leappad, 0, 0, leapfrog_leappad, leapfrog_leappad, leapfrog_leappad_state, empty_init, "LeapFrog", "LeapPad (World)", MACHINE_IS_SKELETON )
-CONS( 2004, leappadca, leappad, 0, leapfrog_leappad, leapfrog_leappad, leapfrog_leappad_state, empty_init, "LeapFrog", "LeapPad (Canada)", MACHINE_IS_SKELETON )
-CONS( 2002, mfleappad, 0, 0, leapfrog_mfleappad, leapfrog_leappad, leapfrog_leappad_state, empty_init, "LeapFrog", "My First LeapPad (World, V1.3)", MACHINE_IS_SKELETON )
-CONS( 2004, mfleappadus, mfleappad, 0, leapfrog_mfleappad, leapfrog_leappad, leapfrog_leappad_state, empty_init, "LeapFrog", "My First LeapPad (US)", MACHINE_IS_SKELETON )
-CONS( 2005, ltleappad, 0, 0, leapfrog_ltleappad, leapfrog_leappad, leapfrog_leappad_state, empty_init, "LeapFrog", "Little Touch LeapPad", MACHINE_IS_SKELETON )
+// year, name, parent, compat, machine, input, class, init, company, fullname, flags
+CONS( 2001, leappad, 0, 0, leapfrog_leappad, leapfrog_leappad, leapfrog_leappad_state, empty_init, "LeapFrog", "LeapPad", MACHINE_IS_SKELETON )
+CONS( 2002, mfleappad, 0, 0, leapfrog_mfleappad, leapfrog_leappad, leapfrog_leappad_state, empty_init, "LeapFrog", "My First LeapPad", MACHINE_IS_SKELETON )
+CONS( 2005, ltleappad, 0, 0, leapfrog_ltleappad, leapfrog_leappad, leapfrog_leappad_state, empty_init, "LeapFrog", "Little Touch LeapPad", MACHINE_IS_SKELETON )