Author Topic: Casio Prizm documentation  (Read 220013 times)

0 Members and 1 Guest are viewing this topic.

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Casio Prizm documentation
« Reply #45 on: December 20, 2010, 08:19:11 am »
Seriously, color on a calc is an amazing idea that should have been done already. What are the dimensions of the screen, though?

I don't think colours are important for a calculator, at least, not as many as the Prizm, 8 colours are enough and their only importance is the graph system, so that each function can have its own colour :)
wait what

You're using calculators for math? ;_;

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Casio Prizm documentation
« Reply #46 on: December 20, 2010, 08:32:14 am »
Seriously, color on a calc is an amazing idea that should have been done already. What are the dimensions of the screen, though?

I don't think colours are important for a calculator, at least, not as many as the Prizm, 8 colours are enough and their only importance is the graph system, so that each function can have its own colour :)
wait what

You're using calculators for math? ;_;

Indeed I am :/

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Casio Prizm documentation
« Reply #47 on: December 20, 2010, 01:54:04 pm »
But we all know that calcs are for gaming. ;D :P

Nah but I think technology needs to elvolve...
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Casio Prizm documentation
« Reply #48 on: December 23, 2010, 05:12:17 pm »
I can't believe I didn't notice this before. Looking through the documentation, Casio will apparently have support for .bmp files in the Prizm. Also, the .g3b files that I thought were animation files are listed as "Flipbook files," whatever that means.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Casio Prizm documentation
« Reply #49 on: December 23, 2010, 09:04:35 pm »
I can't believe I didn't notice this before. Looking through the documentation, Casio will apparently have support for .bmp files in the Prizm. Also, the .g3b files that I thought were animation files are listed as "Flipbook files," whatever that means.
From what I read, the .bmp was for saving screenshots. I'm not sure if it's possible to load/display .bmp files.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Ashbad

  • Guest
Re: Casio Prizm documentation
« Reply #50 on: December 23, 2010, 09:05:36 pm »
Seriously, color on a calc is an amazing idea that should have been done already. What are the dimensions of the screen, though?

I don't think colours are important for a calculator, at least, not as many as the Prizm, 8 colours are enough and their only importance is the graph system, so that each function can have its own colour :)
wait what

You're using calculators for math? ;_;

Indeed I am :/

stone him

now
« Last Edit: December 23, 2010, 09:05:48 pm by Ashbad »

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Casio Prizm documentation
« Reply #51 on: December 23, 2010, 09:39:28 pm »
I can't believe I didn't notice this before. Looking through the documentation, Casio will apparently have support for .bmp files in the Prizm. Also, the .g3b files that I thought were animation files are listed as "Flipbook files," whatever that means.
From what I read, the .bmp was for saving screenshots. I'm not sure if it's possible to load/display .bmp files.

I saw no mention of bitmaps aside from the description of filetypes in the documentation. On a side note, I've confirmed what I thought about the image format. It should be relatively easy to convert from bitmaps to .g3p.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Casio Prizm documentation
« Reply #52 on: December 25, 2010, 10:13:56 pm »
FinaleTI got his Prizm!



Apparently, like on the FX-9860G, the Output() equivalent on the calc runs blazing fast, even faster than on a 84+. The other BASIC commands are not that fast, but Output speed combined with 7 colors useable in BASIC and the presence of Getkey is a good sign for Casio Prizm BASIC programming.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Casio Prizm documentation
« Reply #53 on: December 25, 2010, 10:15:45 pm »
This is Awesome! Okay, so now FinalTI must give us everything. SDK, programming information, usb protocols, what's up with the little dude in the corner, etc.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Casio Prizm documentation
« Reply #54 on: December 25, 2010, 10:18:32 pm »
I don't think the SDK is available yet and there's no info about when/if it's gonna be released. I am glad the calc is not as locked-down as the Nspire in terms of programming, though. Although BASIC by itself is slow, the Nspire didn't even have programming until OS 1.6 I think and it still lacks an Output()/Locate or getkey function. I still hope for some other stuff, though, since in long terms, just BASIC might not interest that many people.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Casio Prizm documentation
« Reply #55 on: December 25, 2010, 10:19:28 pm »
I don't think the SDK is available yet and there's no info about when/if it's gonna be released. I am glad the calc is not as locked-down as the Nspire in terms of programming, though. Although BASIC by itself is slow, the Nspire didn't even have programming until OS 1.6 I think and it still lacks an Output()/Locate or getkey function. I still hope for some other stuff, though, since in long terms, just BASIC might not interest that many people.
okay, that's fine then. Hopefully, we can program this calc better than the TI-NSpire.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Casio Prizm documentation
« Reply #56 on: December 26, 2010, 02:32:08 am »
Cross posted from the other thread:

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.pdf

If 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.

Hardware wise, it seems pretty similar to the fx-9860G (it seems to be just a fx-9860G with an upgraded color screen and a larger flash chip). From this, I'm guessing the operating system is stored in memory offset 0xA0000000 (Area P2).

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.

I'd try to find out more, but I'm too busy right now in college. Hopefully you guys will find everything you need to know in the near future. Happy hackings and Merry Christmas!
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Casio Prizm documentation
« Reply #57 on: December 26, 2010, 02:34:54 am »
Yeah I hope someone can contact the Japan branch of Casio. Hopefully if they speak english or if someone here knows Japanese maybe they could help. I wonder if they would give more info. It would be kinda nice.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Casio Prizm documentation
« Reply #58 on: December 26, 2010, 02:36:38 am »
Yeah.  To tell the truth, I'm kind of disappointed though. A 29 MHz processor was not what I expected. The Nspire blows that out of the water. An Nspire killer it is not, in terms of processor speed at least.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Casio Prizm documentation
« Reply #59 on: December 26, 2010, 02:41:03 am »
Are you sure it runs at 29 MHz? Some sources says 59 and others 100. The 9860G was slowed down to 29, I think, but it was possible with a program by Kucalc to set the speed at 59 or something, from what I remember.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)