herr_prof wrote:Yea if you compile a multirom it would work, but what about the sram?
PAGING DR NITRO2k1
Was ist das? Eine page aus Herr Professor Peter Lewis Swim?!
Actually, no that wouldn't work.
The problem is this. The GB CPU can only address 64 kilobytes of memory. So to access more than that, you use so called bank switching. There are two ROM memory areas areas available from a regular GB cartridge. One area is a fixed area which points to the bottom 16 kilobytes of the ROM chip. (Bank 0) Then there's a switchable area which can address one variable 16 kB area at a time.
The problem with this cart, and "jose"carts as well is that they can't switch out bank 0. For that reason hey can't do multiple ROMs, since each program is dependent on having it's own "bank 0".
Now there's a way around this. Since this is a flash cartridge, and the Gameboy can write to the flash memory, you could use a software method where a piece of code on the Gameboy writes a new bank 0 for every newly loaded ROM. Then the ROM also needs the rest of its banks, and there are different methods of solving that. But either way it'll be hackish, and there's the risk of temporary failure if he cartridge loses power during this operation. In that case, it would need to be reprogrammed using USB.
Normal LittleFM operation is planned to be supported and poses no problem, however.