devinacker / bsnes-plus

debug-oriented fork of bsnes
http://bsnes.revenant1.net
327 stars 94 forks source link

dos auto-map update #313

Open MrL314 opened 2 years ago

MrL314 commented 2 years ago

DOS will now auto-map to the 00-3F:5F00-5FFF + 80-BF:5F00-5FFF area if not otherwise specified in the .xml manifest file. This fixes issues with Yoshi's Island tools and CCP testing, however it does not fix the issues with Super Mario Kart's 00-3F:7F00-7FFF + 80-BF:7F00-7FFF mapping. This still needs to be modified via manual editing of the ROM, or by changing the manifest file appropriately to map.

For now, temporarily have the has_dos variable set to true automatically in common/nall/snes/cartridge.hpp, however this can be changed later if there are any other issues that arise with mapping.

Removed the dos_mapped variable, as this did not accomplish what it was intended to do.

devinacker commented 2 years ago

One way to handle the Super Mario Kart case could be to just map to both 5F00-5FFF and 7F00-7FFF at the same time, and then move the mapping to the beginning of the manifest (before the ROM/RAM mappings are added) so that it can still be overridden by SRAM if needed.