0 Members and 2 Guests are viewing this topic.
This looks interesting. But wouldn't you have to change A back to 1 in there like this:Code: [Select]1->AWhile 1If A=1ThenChange color to red0->AElseChange color to yellow1->AEndIfLocate 1,1,"HELLO WORLD"EndWhile
1->AWhile 1If A=1ThenChange color to red0->AElseChange color to yellow1->AEndIfLocate 1,1,"HELLO WORLD"EndWhile
Since it seems some of you are very interested in programming the Prizm, I'll tell you guys this (I apologize if it's very lengthy):From disassembling the addins given by Casio, the Prizm uses a SuperH 3 processor, which is what Casio has been using in their products for the last decade (fx-9860, fx-9750GII, Classpad 300, Pocket Viewer, etc.) The addins contain a header 0x7000 bytes long which contains info specific to the addin (appname, icon bitmap, date, version, copy protection, size of addin in bytes, etc.) before the actual binary starts. Addins are loaded into memory offset 0x00300000 (execution starts at 0x00307000). You can confirm this yourself if want using objdump that has been cross compiled for SuperH support (such as GCC targeted for sh-elf). SuperH 3 software manual: http://documentation.renesas.com/eng/products/mpumcu/rej09b0317_sh_3sm.pdfIf someone has the time, it should be easy to crack the header format. The header is about ~28KB, large enough to contain the icon bitmap for the addin. Once someone knows what's the icon dimensions are in pixels, you could probably find it in header by using some hex to RGB viewer....You can try asking Casio Japan (not the USA branch, they won't be able to help much since they don't design the calcs) for technical info and questions about an SDK. Someone in the community asked Casio Japan for the USB communication specs and their R&D department nicely gave it us. You can keep bugging Casio Japan to release an SDK, but you have to understand it takes them time to make an SDK since they have to polish up their emulator which the R&D guys use in development, package up a compiler/linker, write manuals, etc. Casio doesn't make any money off SDKs, so I don't think it's their top priority. I think when the fx-9860G came out, Casio didn't release an SDK until a year later IIRC, but hopefully we don't have to wait too long this time for the Prizm. According to Casio's website, they plan to release some trial software at the beginning of next year, so you guys should keep a watch out for that since it might include an emulator.
A random additional question for Kucalc: Where did you get the add-ins?
I also forgot that Casio is japaneese, so I guess it might be a good idea to ask them for more info. I hope they speak english, though.
I think the hardest part with making an emulator will not be translating the z80 commands, but accurately writing the rom calls along with reproducing the TI-83+ hardware. My goal is to produce an emulator accurate enough to even be compatible with TI-83+ programs that use grayscale and the linkport.
Quote from: Qwerty.55 on December 26, 2010, 02:39:01 amA random additional question for Kucalc: Where did you get the add-ins?You can download the addins for free as a Guest off Casio's website: https://edu.casio.com/download_service/download/category.php. Scroll down to fx-CG Series, check Add-in software, then click Next and you can download them. They have 3 add-ins up right now.