|
Joined: Aug 2021
Posts: 19 Likes: 1
Member
|
OP
Member
Joined: Aug 2021
Posts: 19 Likes: 1 |
I want to load electron with a specific bios rom for the slot plus3 .
I tried this but the bios is not loaded : /opt/retropie/emulators/mame/mame electron -exp plus3 -bios dfs210
Does someone know how to do this ?
|
|
|
|
Joined: May 2008
Posts: 44 Likes: 3
Member
|
Member
Joined: May 2008
Posts: 44 Likes: 3 |
The bios you want to load must be "registered" in the source of the driver. there is a cmd line Parameter -bios which allows you to select the bios you want to use then. I like to work on the Amstrad PC 1640 stuff, so in this driver you have the choice between a few bios versions. From pc1530.cpp (the driver parent for the pc 1640): PC1512.cppLine 1465 to 1476
ROM_START( pc1640 )
ROM_REGION16_LE( 0x4000, I8086_TAG, 0)
ROM_SYSTEM_BIOS( 0, "8809", "Week 9/1988" )
ROMX_LOAD( "40044-1 8809.ic132", 0x0000, 0x2000, CRC(f1c074f3) SHA1(a055ea7e933d137623c22fe24004e870653c7952), ROM_SKIP(1) | ROM_BIOS(0) ) // 8809 B
ROMX_LOAD( "40043-1 8809.ic129", 0x0001, 0x2000, CRC(e40a1513) SHA1(447eff2057e682e51b1c7593cb6fad0e53879fa8), ROM_SKIP(1) | ROM_BIOS(0) ) // 8809 B
ROM_SYSTEM_BIOS( 1, "8738", "Week 38/1987" )
ROMX_LOAD( "40044 8738.ic132", 0x0000, 0x2000, CRC(43832ea7) SHA1(eea4a8836f966940a88c88de6c5cc14852545f7d), ROM_SKIP(1) | ROM_BIOS(1) ) // 8738 D F
ROMX_LOAD( "40043 8738.ic129", 0x0001, 0x2000, CRC(768498f9) SHA1(ac48cb892417d7998d604f3b79756140c554f476), ROM_SKIP(1) | ROM_BIOS(1) ) // 8738 D F
ROM_SYSTEM_BIOS( 2, "88xx", "Week ?/1988" )
ROMX_LOAD( "40044 88xx.ic132", 0x0000, 0x2000, CRC(6090f782) SHA1(e21ae524d5b4d00696d293dbd4fe4d7bca22e277), ROM_SKIP(1) | ROM_BIOS(2) )
ROMX_LOAD( "40043 88xx.ic129", 0x0001, 0x2000, CRC(9219d0aa) SHA1(dde1a46c8f83e413d7070f1356fc91b9f595a8b6), ROM_SKIP(1) | ROM_BIOS(2) )
ROM_END
Here you can see 3 different BIOS versions known to the driver. You can get a list of valid checksums with mame <device> -listroms in my example you would get ./mame.exe pc1640hd20 -listroms ROMs required for driver "pc1640hd20" (including devices "isa_hdc", "pc1512kb", "pc1640_iga"). Name Size Checksum 40044-1 8809.ic132 8192 CRC(f1c074f3) SHA1(a055ea7e933d137623c22fe24004e870653c7952) 40043-1 8809.ic129 8192 CRC(e40a1513) SHA1(447eff2057e682e51b1c7593cb6fad0e53879fa8) 40044 8738.ic132 8192 CRC(43832ea7) SHA1(eea4a8836f966940a88c88de6c5cc14852545f7d) 40043 8738.ic129 8192 CRC(768498f9) SHA1(ac48cb892417d7998d604f3b79756140c554f476) 40044 88xx.ic132 8192 CRC(6090f782) SHA1(e21ae524d5b4d00696d293dbd4fe4d7bca22e277) 40043 88xx.ic129 8192 CRC(9219d0aa) SHA1(dde1a46c8f83e413d7070f1356fc91b9f595a8b6) 40042.ic801 1024 CRC(607edaf6) SHA1(4422c6475596c3881c11b6a6266811c336d55d19) wdbios.rom 8192 CRC(8e9e2bd4) SHA1(601d7ceab282394ebab50763c267e915a6a2166a) 40100.ic913 32768 CRC(d2d1f1ae) SHA1(98302006ee38a17c09bd75504cc18c0649174e33)
For electron MAME knows the following bios files: ./mame.exe electronsp -listroms ROMs required for driver "electronsp" (including devices "electron_plus1", "electron_plus3"). Name Size Checksum basic.rom 16384 CRC(79434781) SHA1(4a7393f3a45ea309f744441c16723e2ef447a281) os_310.rom 16384 CRC(8b7a9003) SHA1(6d4e2f8ddc1d829b14206d2747749c4c24789568) sp64_101_1.rom 16384 CRC(07e2c5d6) SHA1(837e3382c376e3cc1ae42f1ca51158657ef2fd73) sp64_101_2.rom 16384 CRC(3d0e5dc1) SHA1(89743c43b24950d481c150fd4b4de985600cca2d) sp64_100.rom 32768 CRC(4918221c) SHA1(f185873106e7e7225b2e0c718803dc1ec4ebc685) sp64_100_1.rom 16384 CRC(6053e5a0) SHA1(6d79e5494349f157672e7c59949f3941e5a3dbdb) sp64_100_2.rom 16384 CRC(25d11d8e) SHA1(c1bceeb50fee1e11de7505a3b664b844cfb56289) adfs.rom 16384 CRC(3289bdc6) SHA1(e7c7a1094d50a3579751df2007269067c8ff6812) pres_adfs_113.rom 16384 CRC(f06ca04a) SHA1(3c8221d63457c552aa2c9a502db632ce1dea66b4) pres_adfs_115.rom 16384 CRC(8f81edc3) SHA1(32007425058a7b0f8bd5c17b3c22552aa3a03eca) acp_dfs1770_200.rom 16384 CRC(5a3a13c7) SHA1(d5dad7ab5a0237c44d0426cd85a8ec86545747e0) acp_dfs1770_210.rom 16384 CRC(b0661992) SHA1(c62f1290f689788dad6a2df30ace083eb827cffe) plus1.rom 4096 CRC(ac30b0ed) SHA1(2de04ab7c81414d6c9c967f965c53fc276392463)
the source electron.cpp lists the roms at lines 361 til 374
ROM_START(electronsp)
ROM_REGION( 0x8000, "mos", 0 )
ROM_LOAD( "basic.rom", 0x0000, 0x4000, CRC(79434781) SHA1(4a7393f3a45ea309f744441c16723e2ef447a281) )
ROM_LOAD( "os_310.rom", 0x4000, 0x4000, CRC(8b7a9003) SHA1(6d4e2f8ddc1d829b14206d2747749c4c24789568) )
ROM_REGION( 0x8000, "sp64", 0 )
ROM_SYSTEM_BIOS( 0, "101_2", "v1.01 (2x16K)" )
ROMX_LOAD( "sp64_101_1.rom", 0x0000, 0x4000, CRC(07e2c5d6) SHA1(837e3382c376e3cc1ae42f1ca51158657ef2fd73), ROM_BIOS(0) )
ROMX_LOAD( "sp64_101_2.rom", 0x4000, 0x4000, CRC(3d0e5dc1) SHA1(89743c43b24950d481c150fd4b4de985600cca2d), ROM_BIOS(0) )
ROM_SYSTEM_BIOS( 1, "100", "v1.00 (32K)" )
ROMX_LOAD( "sp64_100.rom", 0x0000, 0x8000, CRC(4918221c) SHA1(f185873106e7e7225b2e0c718803dc1ec4ebc685), ROM_BIOS(1) )
ROM_SYSTEM_BIOS( 2, "100_2", "v1.00 (2x16K)" )
ROMX_LOAD( "sp64_100_1.rom", 0x0000, 0x4000, CRC(6053e5a0) SHA1(6d79e5494349f157672e7c59949f3941e5a3dbdb), ROM_BIOS(2) )
ROMX_LOAD( "sp64_100_2.rom", 0x4000, 0x4000, CRC(25d11d8e) SHA1(c1bceeb50fee1e11de7505a3b664b844cfb56289), ROM_BIOS(2) )
ROM_END
so if you got the correct rom files just start the device with either mame electronsp -bios 101_2 mame electronsp -bios 100 or mame electronsp -bios 100_2 Please mind that for the "pure electron" there are no multiple roms known so far (only one in the driver) lines 343 til 336
ROM_START(electron)
ROM_REGION( 0x8000, "mos", 0 )
ROM_LOAD( "os_basic.ic2", 0x0000, 0x8000, CRC(b997f9cb) SHA1(4a66c83aba07d0a8e76ed8a5545af04e11c19fdc) )
ROM_END
./mame.exe electron -listroms ROMs required for driver "electron" (including devices "electron_plus1", "electron_plus3"). Name Size Checksum os_basic.ic2 32768 CRC(b997f9cb) SHA1(4a66c83aba07d0a8e76ed8a5545af04e11c19fdc) adfs.rom 16384 CRC(3289bdc6) SHA1(e7c7a1094d50a3579751df2007269067c8ff6812) pres_adfs_113.rom 16384 CRC(f06ca04a) SHA1(3c8221d63457c552aa2c9a502db632ce1dea66b4) pres_adfs_115.rom 16384 CRC(8f81edc3) SHA1(32007425058a7b0f8bd5c17b3c22552aa3a03eca) acp_dfs1770_200.rom 16384 CRC(5a3a13c7) SHA1(d5dad7ab5a0237c44d0426cd85a8ec86545747e0) acp_dfs1770_210.rom 16384 CRC(b0661992) SHA1(c62f1290f689788dad6a2df30ace083eb827cffe) plus1.rom 4096 CRC(ac30b0ed) SHA1(2de04ab7c81414d6c9c967f965c53fc276392463)
so If you have a valid rom different from this the people here probable really like to know about it (I am absolutely no expert for Acorn Computers)
Last edited by Walker; 03/21/22 11:47 PM. Reason: initial confusion in my mind cleaned up
|
|
|
|
Joined: Apr 2012
Posts: 330 Likes: 33
Senior Member
|
Senior Member
Joined: Apr 2012
Posts: 330 Likes: 33 |
I want to load electron with a specific bios rom for the slot plus3 .
I tried this but the bios is not loaded : /opt/retropie/emulators/mame/mame electron -exp plus3 -bios dfs210
Does someone know how to do this ? You were very close: mame electron -exp plus3,bios=dfs210 Use minimaws at https://arcade.vastheman.com/minimaws/machine/electron to generate the command line options for any combination of slot devices and bios options.
BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, etc.
|
|
|
|
Joined: May 2009
Posts: 2,092 Likes: 126
Very Senior Member
|
Very Senior Member
Joined: May 2009
Posts: 2,092 Likes: 126 |
It's also worth nothing that RetroPie can sometimes ship with rather outdated versions of MAME, and the only really up-to-date site hosting Pi binaries of MAME can be found here: https://stickfreaks.com/mame/
|
|
|
|
Joined: Aug 2021
Posts: 19 Likes: 1
Member
|
OP
Member
Joined: Aug 2021
Posts: 19 Likes: 1 |
I want to load electron with a specific bios rom for the slot plus3 .
I tried this but the bios is not loaded : /opt/retropie/emulators/mame/mame electron -exp plus3 -bios dfs210
Does someone know how to do this ? You were very close: mame electron -exp plus3,bios=dfs210 Use minimaws at https://arcade.vastheman.com/minimaws/machine/electron to generate the command line options for any combination of slot devices and bios options. Thanks Pernod ! That was the solution. I was very close indeed ;-)
|
|
|
|
Joined: Aug 2021
Posts: 19 Likes: 1
Member
|
OP
Member
Joined: Aug 2021
Posts: 19 Likes: 1 |
It's also worth nothing that RetroPie can sometimes ship with rather outdated versions of MAME, and the only really up-to-date site hosting Pi binaries of MAME can be found here: https://stickfreaks.com/mame/Hi Just Desserts, Thanks for your reply. I have to inform you that you are wrong about this. I think you are referring to the different mame libretro-cores used in RetroPie. lr-mame2000 lr-mame2003 lr-mame2010 lr-mess2016 etc These older versions are there to accommodate the older rom-sets around. RetroPie can be a little bit behind but it's almost always shipped with the latest standalone mame/lr-mame (241) and lr-mess (241). I use "standalone mame" and "lr-mess" for my project over here : https://retropie.org.uk/forum/topic...enerator-for-lr-mess-and-mame-standaloneGreeting Folly
Last edited by Folly; 03/22/22 07:57 AM.
|
|
|
|
Joined: Aug 2021
Posts: 19 Likes: 1
Member
|
OP
Member
Joined: Aug 2021
Posts: 19 Likes: 1 |
Hi Walker,
Thanks for your reply.
I will look at you post a second time. For searching my desired bios I did somewhat the same as you described.
Your post is quite useful in that perspective.
|
|
|
|
Joined: Feb 2004
Posts: 2,448 Likes: 152
Very Senior Member
|
Very Senior Member
Joined: Feb 2004
Posts: 2,448 Likes: 152 |
lr-mame is still a hacked-up mess. Try anything that does much with the artwork system and watch the terrible performance. We don’t recommend using it.
|
|
|
|
Joined: Jul 2019
Posts: 20
Member
|
Member
Joined: Jul 2019
Posts: 20 |
The bios you want to load must be "registered" in the source of the driver. Is there a way around this for testing newly dumped ROMs?
|
|
|
|
Joined: May 2004
Posts: 1,740 Likes: 8
Very Senior Member
|
Very Senior Member
Joined: May 2004
Posts: 1,740 Likes: 8 |
no 'easy' way to my knowledge.
I do still wonder if BIOS ROMs should be treated like Software List ROMs however, defined in XML etc. rather than doing a similar thing (switchable ROMs) in a completely different way.
Then I remember the underlying code to support that is a lot of extra,usually ugly driver-specific code that sometimes creates performance issues too.
|
|
|
3 members (Golden Child, Pernod, 1 invisible),
18
guests, and
5
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,158
Posts119,925
Members5,034
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|