Chilly Willy
Joined: 08 Feb 2009 Posts: 174
|
Posted: Mon Oct 22, 2012 2:17 am Post subject: Re: Code to detect MD-Pro |
|
|
slobu wrote: | Is there any code to detect if a game is running on an MD-Pro?
I suppose you could check to see if SRAM is present on even bytes to detect that it is NOT running on an MD-Pro..
Do emulators allow writes to the last byte in MD-Pro SRAM (0x20FFFF)? |
The only method I can think of is to try to switch sram banks. Write the sram bank register with 0, write some data, write it with 1, then check for the data. On a different cart or emu, it should show the same data. On an MD-Pro, it should show different data.
Most emulators support at least as much sram as a single bank in the MD-Pro, but don't support the MD-Pro sram bank selection. |
|