Author Topic: Casio Prizm documentation  (Read 240115 times)

0 Members and 3 Guests are viewing this topic.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Casio Prizm documentation
« Reply #75 on: December 26, 2010, 09:18:45 pm »
That looks awesome!

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 #76 on: December 26, 2010, 09:20:48 pm »
Z80man, try editing the data around 0970F0 and see if that makes any difference. Of course, that could very well be app storage space, but...
« Last Edit: December 26, 2010, 09:21:03 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Casio Prizm documentation
« Reply #77 on: December 26, 2010, 11:55:54 pm »
I assume you are referring to the Geometry app. After changing the data at 0x0970F0 there was no change in the menu icon, but the OS did refuse to run the app. Also I don't think making changes in this area will do anything to the image because the header ends at 0x7000 and any icons displayed would be before that.
« Last Edit: December 26, 2010, 11:58:03 pm by z80man »

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

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 #78 on: December 27, 2010, 12:12:59 am »
Hm, I don't see anything else in the header that could be an icon except for the data between 4000 and 6DFD.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Casio Prizm documentation
« Reply #79 on: December 27, 2010, 01:04:48 am »
On a side note, does the calc has multiple character fonts? From what I saw on FInaleTI's screenshot, the fonts seemed a bit different than some I saw elsewhere. Maybe it was because his was higher resolution.

Also, on the Japanese website, there appears to be no Prizm listed: http://translate.google.com/translate?hl=en&sl=ja&u=http://casio.jp/&ei=LysYTdigKYKC8gbR9MykAw&sa=X&oi=translate&ct=result&resnum=1&ved=0CB8Q7gEwAA&prev=/search%3Fq%3Dcasio.jp%26hl%3Den%26client%3Dopera%26hs%3DOZR%26rls%3Den%26prmd%3Divns

If it's just an american/european calc, maybe Casio Japan won't even be able to help us with info. :/

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 #80 on: December 27, 2010, 01:09:28 am »
I screwed up on the character set. I don't know where it is, but what I posted is almost certainly not it. That code repeats itself several times later in the OS.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Casio Prizm documentation
« Reply #81 on: December 27, 2010, 01:18:43 am »
That sucks. X.x

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Casio Prizm documentation
« Reply #82 on: December 27, 2010, 03:23:09 am »
Okay in the header there are actually two different icons. One for when the cursor is over the icon and one when it isn't. In my opinion I think Casio could have coded this differently in a way that you only provide one image in the code instead of two considering that the cursor is the same for all apps, but maybe this way is faster. The location for the image when the cursor is not over the icon is at 0x1000 and the one for when the cursor is over the icon is at 0x4000. After changing some of the data you can see a change in the icon, but then the app becomes unrunnable. Any ideas why would be helpful. The only other data in the header is a small amount of text at the beginning and the file name at 0x0EBC. This text at the beginning for the conversion app is  "ª¬½¯.ˆš.ÓÿþÿþÿÂþÿÿŽ.K.É..........'Ød.............ø..............Conversion....................qü@CONV......Conversion..............Conversiæ.n.............Konvert.................Conversion..............Conversæ.o..............µ¥Î»»»Ëã................Conversion..............Conversion...................01.00.0000..2010.0813.0920......". To make things more difficult the geometry app has a bunch of $0 and $7 code in a random order after the initial text. For example a segment of it is "77 77 77 77 77 77 77 77 70 00 00 00 00 07 77 77". The majority of all of the data is 7's. Does anybody have any ideas of what this could be? Not all the apps have this though.

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Casio Prizm documentation
« Reply #83 on: December 27, 2010, 03:38:48 am »
Wait so are you guys actually modifying the Casio OS to change the menu icons? Unfortunately I'm not tech-savy about that stuff so I am not sure what you are doing. If you are actually editing the OS then sending it to the calc fine, then this is epic. O.O (On the 83+, we had to factor RSA keys to sign third-party OSes)

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 #84 on: December 27, 2010, 03:42:37 am »
No, he's modify the Casio equivalent of an Application and sending it to his calc. The OS itself has to wait for a bit before we're ready for it.

@z80: I'm not entirely sure about the other stuff, but the text has to do with language localization. On some of the other add-ins, you may notice that the text is actually the title in other languages. You'll notice similar stuff was done with much of the internal text as well.

Also, it would appear from manufacturer documentation that if your program has the proper permissions, you can multiply the clock requency by up to six times, giving a processor ceiling of 174 MHz. The downside is that you need to wait ~100 ms after switching the frequency to start processing again.

source
« Last Edit: December 27, 2010, 03:43:49 am by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Casio Prizm documentation
« Reply #85 on: December 27, 2010, 03:49:01 am »
All I'm doing is taking one of the add-in apps, changing some of the data in a hex editor and then sending it back to the calc. I'm not actually making any OS changes though. Changing the image data causes the OS to refuse to run the app even though it is still displayed on the main menu. Actually after changing any of the code whether it is in the header or not causes the OS to refuse to run app. It's as if the OS knows exactly what the app is supposed to look like.

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

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 #86 on: December 27, 2010, 03:50:52 am »
I suspect they've hidden a checksum or security bytes in their header. Let me take a look.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Casio Prizm documentation
« Reply #87 on: December 27, 2010, 03:51:30 am »
Oh ok. So I wonder if it will need some sort of signing?

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 #88 on: December 27, 2010, 03:59:02 am »
I think my suspicions were right.

Z80, what happens if you change only things that are FF to 00 and vice versa?
« Last Edit: December 27, 2010, 04:04:00 am by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline uberspire

  • LV3 Member (Next: 100)
  • ***
  • Posts: 61
  • Rating: +57/-0
    • View Profile
    • Uberspire
Re: Casio Prizm documentation
« Reply #89 on: December 27, 2010, 04:17:30 am »
After changing some of the data you can see a change in the icon, but then the app becomes unrunnable. Any ideas why would be helpful.
The first 2 bytes in the headers are 0xAA and 0xAC, right? On the fx-9860, to disable the checksum you would change the first byte (0xAA) to 0xAC. Try and see if that works.