marcoahs wrote: ↑
31 May 2020, 21:12
neodev wrote: ↑
31 May 2020, 14:49
Yes, sure it works on real hw, but those other chips he's using (74LSxxx) need to be simulated in megasd. Normally carts are just a rom connected directly to cart lines. Any other hardware present in the cart needs to be notified to megasd so it can enable that hardware simulation (for example sram chips, or banking chips). Otherwise it will work as a single rom cart with plain mapping.
You can try that rom in mame, that uses the plain rom mapping, and the same issue will happen. Other emulators probably enable the extended mapper for roms >4MB that is the maximum allowed in the normal addresssing range, but then it would break mortal kombat hack, so yes, per game fixes are always needed, becaude thr emulator or cart can't know which extra hqrdware the cart has. This happens to sram carts too. Megasd relies on the game sram header, but it's not right for some games. In a cart it doesn't matter becauee the hardware is there inside the cart, and the rom header does nothing.
Ok. But, do you intend to support this type of extended mapping?
As neodev said..it is supported, you just have to define it per game or it breaks other things.