0 Members and 1 Guest are viewing this topic.
Quote from: JosJuice on January 19, 2011, 11:19:20 amIt seems like the .g3a reading still tries to read part of the header. And, um... disassembling doesn't seem to work at all.Of course not, PRIZM Assembly is not known yet, none can make a Disassembler, it only reads the Hex. Part of the header? Can you say how many bytes?
It seems like the .g3a reading still tries to read part of the header. And, um... disassembling doesn't seem to work at all.
Quote from: Scout on January 19, 2011, 11:21:35 amQuote from: JosJuice on January 19, 2011, 11:19:20 amIt seems like the .g3a reading still tries to read part of the header. And, um... disassembling doesn't seem to work at all.Of course not, PRIZM Assembly is not known yet, none can make a Disassembler, it only reads the Hex. Part of the header? Can you say how many bytes?Prizm assembly is known - it's pretty the same thing as other devices that use the SH3. Writing a disassembler is possible, but probably hard.You need to skip 1686.5 more bytes of the header.
import prizmdisasm # (this may be shorter in the future)# do anything you want to get done here, including data fetching/manipulationprizmdisasm.getG3Adata(datavar) # Only if you use a G3Aprizmdisasm.disassemble(asmdata) # Disassemble it!
~$ python prizmdisasm.py -hPRIZM Disassembler v1.0.1 CLI and Library=========================================Usage: prizmdisasm.py [option(s)] ... [inputfile]General options: -o, --output=[outfile] Specify output file to write to.Disassembly options: -t, --type=[type] Specify the input file type. Type can be 'hex', 'bin', 'enii', or 'g3a'. -s, --distype=[distype] Specify the disassembly type.Help/About: -h, --help Get help! :) (Shows this help) -w, --webhelp Go to PRIZM hacking site for more info/help! :) -c, --credits Who made this awesome program? :D (This also shows the license of this program.)
I have an idea, but I'm not sure if it is going to work. Unlike the TI 83+ the Prizm has its lcd directly mapped to memory. One screen image on the Prizm takes up 166 kilobytes. What I don't know though is where all this data is. I'm assuming that the Prizm doesn't have more than 1 megabyte of ram. What this means that if I do a few writes to memory I might be able to find where the plotscreen is. This could also really screw up my Prizm too. What I will do is up to one megabyte every 160 kilobytes I will send 32 bytes of one color. Every segment seperated 160 kilobytes will also be a different color. Hopefully when (if) I get a small line on my screen, I will be able to determine the general memory location. Then later I can narrow that down. to an exact location
z80man I certainly hope the screen content is not stored in the Flash memory. At the speed the draw commands and pxl-tests run, I am worried.
What if drawing home screen text just involved changing a tiny portion of the screen memory, though? Could that be faster?
Do you guys already have a clue on how large the actual RAM chip is? On the GII calculators it is 512k.Simon told me once you can check this via the FA-124 communication protocol and the Prizm's 3-pin port still has to support most of this.