Author Topic: Casio Prizm documentation  (Read 240223 times)

0 Members and 1 Guest are viewing this topic.

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Casio Prizm documentation
« Reply #195 on: January 06, 2011, 09:13:31 pm »
Quote
Dear cunstomer,

Thank you for sending e-mail.
Also we would appreciate for your interest in Casio new scientific calculators.
However we regret to say that Casio has no schedule for disclosing the details of file format and releasing Software Development Kit for Prism as for now.
Your understanding would be highly appreciated.

Best regards,
Well I thought it wouldn't hurt to send an email to Casio Japan asking if they could provide some help on the file formats, but they're not interested. I probaly send a reply to convince them to give up some information. Otherwise on the app format I have just one last part to figure out, the 16 bit checksum. Doing some further research it probaly uses an algorthim known as crc-16. The difficulty with this format is that if your just off by one byte you get a very different answer. I was going to write a C++ program to test every possibility, but it turns out it would take my computer about 20 years to calculate this  :banghead: :banghead: :banghead:

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 #196 on: January 06, 2011, 09:21:01 pm »
Wait, they're using a CRC check?

Mein gott, they really don't want us to be able to make these...

Anyway, this might help. It includes a method to reverse CRC-16.

http://www.woodmann.com/fravia/crctut1.htm
« Last Edit: January 06, 2011, 09:23:20 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Casio Prizm documentation
« Reply #197 on: January 07, 2011, 03:01:48 am »
Let's just hope they won't try to stop us once we've managed to run code.

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Casio Prizm documentation
« Reply #198 on: January 07, 2011, 02:25:36 pm »
Sorry for the double post...

There's something I've been wondering for a while. How does the OS sort add-ins?

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 #199 on: January 07, 2011, 02:35:04 pm »
If I had to guess, it's in First in order. Whatever you put in last goes at the end of the list.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Casio Prizm documentation
« Reply #200 on: January 07, 2011, 02:46:19 pm »
So, if (for example) the Geometry app is deleted and then loaded into the calc again, it'll be at the end of the list?

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 #201 on: January 07, 2011, 02:48:46 pm »
Possibly.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Casio Prizm documentation
« Reply #202 on: January 07, 2011, 02:51:59 pm »
I just realized... What if it's sorted by date? Conversion is the oldest add-in, and Geometry is the newest one. Newer ones show up earlier in the list...

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 #203 on: January 08, 2011, 02:38:41 pm »
Here's some executable [machine] code for the Prizm:

Code: [Select]
1101100000000000
11111111111111111111111110000000
1001100100000000
0000000100010001
1101101000000000
11111111111111111111111010000110
1001101100000000
1010010101100101
1101110000000000
11111111111111111111111010000100
1001110100000000
0101101000000000
0010101010110010
0010110011010010
0010010010010010

If you translate into Hex:

Code: [Select]
D800
FFFF FF80
9900
0111
DA00
FFFF FE86
9B00
A565
DC00
FFFF FE84
9D00
5A00
2AB2
2CD2
2492

This will set the processor to 58 MHz, wait ~4 Milliseconds, then restart the processor to complete the changes. I've also attached an add-in made from a modified version of the Geometry add-in. It just lacks the checksums. An add-in could also be written from scratch if anyone is willing to do it.
« Last Edit: January 08, 2011, 02:39:34 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Casio Prizm documentation
« Reply #204 on: January 08, 2011, 02:45:31 pm »
Does it run? Or does it require the checksum. I could maybe test it, but do I just need to change the file extension, or something more?


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

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 #205 on: January 08, 2011, 02:48:42 pm »
Err, changing the file extension to .g3a would probably be a good idea. It *should* run, because I used Kucalc's method to disable the checksums, but I'm not sure. It will also reset your calculator, guaranteed.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Casio Prizm documentation
« Reply #206 on: January 08, 2011, 03:01:59 pm »
I just tried sending it to my calc, and it showed up in the memory menu, but not the main menu. I even reset my Add-In memory and tried it again.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

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 #207 on: January 08, 2011, 03:03:48 pm »
Hm, that's odd. What does the title look like in the memory menu?
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Casio Prizm documentation
« Reply #208 on: January 08, 2011, 03:08:17 pm »
App.g3a is what is says in the memory menu.
It's recognized as an add-in, but it doesn't show up in the main menu, so I can't run it.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

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 #209 on: January 08, 2011, 03:10:46 pm »
Okay, that means that the memory menu reads from the VAT, while the main menu reads from the application header. I don't know why it won't run, though. Can you try this one (with Checksums enabled)?

You can delete add-ins, right?
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ