Reposted from Omnimaga because it didn't get noticed there.

Quote:
Today, I tried to find out how the Prizm is updated and I extracted OSUpdateDLL.dll and fxASPI.dll (this DLL can also be found with the screen receiver) from the installer.

Using Nirsoft's DLL Export Viewer, I found interesting things in fxASPI.dll:
http://puu.sh/auHL

Also, OSUpdateDLL contains a single thing: OSUpdate which may or may not contain the firmware. I would be interesting to call those functions from an external program.

Using XN Ressource Editor, you can see 2 big binary blobs (in RC Data) which may contain the firmware too, http://a Japanese dialog and lots of Japanese text in th String Table...

http://puu.sh/auJq


Quote:

I've found lots of information in the emulator:

- The DLLs in the main directory have the same name as the parts used (RAMXXX, LCDXXX, ...). However, I couldn't find any meaningful information in the ressources or exports.

- <emulator dir>/EmulatorData/CG10M.* : those files contain some interesting plaintext data. Pastebins: CG10M.dlp and CG10M.dlm

- <emulator dir>/EmulatorData/INIT/*.mem : those files seems to contain the firmware, RAM and memory. All those file are binary and start with "DLSimMem"


It would be noce if someone could call those DLL functions and get them to communicate with the Prizm. We could downgrade the OS, add a non-official OS or unlock fx-CG10

EDIT: The OS may be in fxcg20.dll from the emulator
Interesting find Smile I believe z80man has already found these, but unfortunately only had enough interest in searching through CPU73050.DLL. I'd be more interesting to look also in OSUpdate.DLL as you pointed out, might contain the actual operating system. I'm unfortunately out of the loop on current discoveries based on the latest updater, anyone with access to the private wiki willing to share some insight?
Ashbad wrote:
I'd be more interesting to look also in OSUpdate.DLL as you pointed out, might contain the actual operating system.
In 1.02, it does indeed contain something that appears to be the OS (11.3 MB). There was also something else (66 KB) inside the DLL, and I'm not sure what it is. I heard something about the 1.03 updater storing the OS differently, but I'm not sure if it's true.
JosJuice wrote:
Ashbad wrote:
I'd be more interesting to look also in OSUpdate.DLL as you pointed out, might contain the actual operating system.
In 1.02, it does indeed contain something that appears to be the OS (11.3 MB). There was also something else (66 KB) inside the DLL, and I'm not sure what it is. I heard something about the 1.03 updater storing the OS differently, but I'm not sure if it's true.


The big file is the OS itself. The smaller one may be the bootloader.
The OS 1.03 DLL stores the data in different locations (RC Data 3069 & C070). Also, when the DLL is called it may do some processing on the data
Vxl, this is great, thanks for sharing, and welcome to Cemetech. We care much more about the backend side of things rather than just writing/playing games, so I think you'll find that we're a receptive audience to this sort of post. If you get a chance, by the way, you should Introduce Yourself in the thread we have for that purpose. Anyway, I think that my own primary interest in this is how we can reuse the OS loader to load our own custom OS, as well as what information we can glean from the bootloader.
I used busdog to capture the USB sign sent by the updater. Here's the log

Useful software:
DLL export viewer: http://www.nirsoft.net/utils/dll_export_viewer.html
Process monitor (view dll calls): http://technet.microsoft.com/en-us/sysinternals/bb896645
Bugdog (USB capture): http://code.google.com/p/busdog/
Quite excellent vxl. I set up a VM to do basically the same thing for USB, so it's good to see someone else is interested. I should probably go shove those DLL's in IDAPro, to see the code used.

Also, I think being able to view that log a little bit better would prove useful. It's hard to analyze in the format it is in now, but I'll look into that as well.
  
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 1 of 1
» 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