You can use a syscall to detect calc model and block app for cg10
helder7 wrote:
You can use a syscall to detect calc model and block app for cg10
That's true, although any programmer with the source code and two neurons to rub together would be able to reverse that. Out of curiosity, which syscall would do this?
Syscall 0x1196, or you can read the byte at 0xA0000305. The former is better; it returns 0x5A for an fxCG-10, 0xAA for an fxCG-20, and apparently it returns 0x00 on the emulator (reading the byte directly from memory on the emulator yields the model the emulator is emulating, or on hardware the same results as the syscall).
Ashbad wrote:
Syscall 0x1196, or you can read the byte at 0xA0000305. The former is better; it returns 0x5A for an fxCG-10, 0xAA for an fxCG-20, and apparently it returns 0x00 on the emulator (reading the byte directly from memory on the emulator yields the model the emulator is emulating, or on hardware the same results as the syscall).
Is this documented on WikiPrizm somewhere? Purobaz was just looking for this information and had to search around for it for a while. Smile
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 3 of 3
» All times are UTC - 5 Hours
 
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

 

Advertisement