ToToTEK.COM Forum Index ToToTEK.COM
Help & Support Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

If you find any SPAM or any problem from the forum, please PM Tomy. Thanks.


Code to detect MD-Pro

 
Post new topic   Reply to topic    ToToTEK.COM Forum Index -> MD-PRO Flash Cart
View previous topic :: View next topic  
Author Message
slobu



Joined: 11 May 2012
Posts: 4

PostPosted: Mon Oct 15, 2012 4:47 pm    Post subject: Code to detect MD-Pro Reply with quote

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)?
Back to top
View user's profile Send private message
Chilly Willy



Joined: 08 Feb 2009
Posts: 174

PostPosted: Mon Oct 22, 2012 2:17 am    Post subject: Re: Code to detect MD-Pro Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ToToTEK.COM Forum Index -> MD-PRO Flash Cart All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2011 phpBB Group