Is it possible to add a game image into an MSX Bios file

By MatthewAiden

Supporter (2)

MatthewAiden's picture

13-12-2019, 21:36

Hi,

Wondering if there’s a way to combine a game rom into a bios file so that both will be included in one ROM file. Im asking this since I’m trying to use the MSX 2 emulator for Nintendo 64 but it looks like it would have to include it all in one .rom file in order to work as I don’t have access within the emulator to the n64 file system where the game roms are located.

Thanks!

Login or register to post comments

By Manuel

Ascended (15969)

Manuel's picture

13-12-2019, 23:38

Ummmm, why would you go through that trouble for one specific limited emulator?

By Wild_Penguin

Hero (579)

Wild_Penguin's picture

14-12-2019, 10:09

I'm not familiar with N64 nor that specific emulator. Do you have a link to it with some more information about it?

In principle, all ROM files (which can be a game, BIOS, some other Firmware or Software ROM; be that built-in or on a cartridge is somewhat irrelevant) are representations of a ROM in a slot (main or sub-) on the MSX.

There are different mappers, which enable to address more than 64kb per slot (1Mbit = 128kb was quite common, but many games were even larger). There is always only one mapper in one slot. As such, it makes no sense to try to "just combine" ROMs into one, even less so with the MSX BIOS ROM, as it is undefined how to start the ROM, and which part of this ROM is booted then, and how to access the Game and BIOS ROM, which would now reside in the same slot. It is certainly possible some obscure emulator out there could expect files to be concatenated together, perhaps with the config files, too. This might even make sense for commercial projects involving emulators, so that a single game can be distributed in this "all-in-one" package, along with configuration, but also discourages users to fiddle and configure the emulator to their own liking (lock out the user).

In any case, I believe there is some confusion with terminology here. I'd bet that emulator uses some proprietary format, which is non-standard (or perhaps it is standard but configured somewhere?). The whole approach to the "problem" is wrong; what needs to be done, is to determine the file format / configuration, the emulator uses and install games in the format it can understand (to an N64 cartridge? with an SD card?). Whether this is worth the trouble, is questionable, as Manuel said (unless the format is actually quite simple and all this is due to misunderstanding of how the emulator works and what it is expecting, on the OPs part).

As a sidenote: in some sense this is done with Flash carts which "combine" many game ROMs into one larger Flash ROM space, but in those cases, there is a master program, such as the selector on the MegaFlashROMSCC+, which let's the user choose the ROM, after which the program patches / sets up something (I'm not sure what) sot that the mapper logic works so that the MSX sees this one game ROM (mapper) and boots it. But even in those cases the ROM files are loaded "one-by-one" by the flashing utility, they are not combined into one file.

By MatthewAiden

Supporter (2)

MatthewAiden's picture

16-12-2019, 05:49

Wondering if there’s a way to combine a game rom into a bios file so that both will be included in one ROM file. Im asking this since I’m trying to use the MSX 2 emulator for Nintendo 64 but it looks like it would have to include it all in one .rom file in order to work as I don’t have access within the emulator to the n64 file system where the game roms are located.
{admin removed spam}

issue solved!!

{hamlet: I'm sorry guys, this looks like another spamer. I've blocked the poster}