It is possible to emulate MegaFlashROM SCC+ SD with two SD cards in openMSX?

بواسطة konamiman

Paragon (1211)

صورة konamiman

12-04-2023, 18:13

I have received a bug report for Nextor that involves using a MegaFlashROM SCC+ SD with two SD cards and mapping partitions from both in different drives. I'd like to use emulation in order to try and reproduce the issue (even if I managed to reproduce it in real hardware it wouldn't be easy to debug) and thus using openMSX is a must.

I already managed to successfully configure MFRSD emulation in openMSX some time ago, but for emulating one single SD card. Now I need to emulate two and I can't find how to do that. The relevant wiki page mentions <sdcard1> and <sdcard2> entries in the XML configuration file, but these seem to do nothing as it's still necessary to pass a -hda argument to openMSX with the path of the disk image file. The problem is that there's no -hdb argument (checked in openMSX 18) and Catapult doesn't offer UI for a second disk image file either.

So, does openMSX really support emulating MFRSD with two SD cards? If so, how?

Login أوregister لوضع تعليقاتك

بواسطة konamiman

Paragon (1211)

صورة konamiman

12-04-2023, 18:26

Now I see in the openMSX user manual:

Quote:

you can use the hda/hdb commands and the matching command line parameters -hda and -hdb to control which image will be used for the first and second SD card

...but still, the openMSX executable won't allow me to use a -hdb argument. I'm confused. :-?

بواسطة Manuel

Ascended (19691)

صورة Manuel

12-04-2023, 22:08

The command line doesn't support it (and neither does Catapult indeed). But the console (hit F10) and the OSD menu do.

Not sure why there's no -hdb command line option though Smile WIll try to find out.
For Catapult: that code is kind of dead and doesn't adapt itself to the options of the current machine (in contrast to the OSD menu).

بواسطة konamiman

Paragon (1211)

صورة konamiman

12-04-2023, 22:58

Yes, indeed I can set the second card image file via the OSD menu. But the setting won't persist between runs of openMSX, so I must go and manually open the menu and select the file every time, which is quite annoying.

So here goes a feature request: please implement the -hdb argument, which anyway should exist according to the documentation (bonus points for adding the option to Catapult too). Smile

بواسطة Manuel

Ascended (19691)

صورة Manuel

13-04-2023, 00:59

In the meantime you can make a copy of the XML file that contains the extension and adjust the paths in there for the SD cards to your liking.
Or put the SD card images you want on the default location where openMSX now created empty ones. It's in the share/persistent/ folder.