Author Topic: Casio Prizm documentation  (Read 235910 times)

0 Members and 3 Guests are viewing this topic.

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 #360 on: February 06, 2011, 03:29:29 am »
Oh I meant more about the ROM erasing part. Try to not accidentally your entire Flash chip content including any boot code/certificate or the like. Not sure how that stuff works, really. X.x

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 #361 on: February 06, 2011, 03:30:15 am »
To be honest, neither do I  ;D
∂²Ψ    -(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 #362 on: February 06, 2011, 03:31:09 am »
Lol, but at least you manage to mess with some ASM stuff. I barely can understand how to create/read from an appvar in Axe. O.O

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 #363 on: February 06, 2011, 03:31:36 am »
I don't understand that either, lol.
∂²Ψ    -(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 #364 on: February 06, 2011, 04:23:42 am »
Lol ok. I wish there was an easier way. Actually it's not too hard, but it's so confusing. There should be one command to create appvars and another to read data from them. X.x

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 #365 on: February 06, 2011, 11:53:27 pm »
I've confirmed the main boot code to be located at 0xA0020080h

If I have the correct code sequence identified in the OS, then Casio's boot code will be a nightmare to continue with. It jumps all over the place.

I also believe I've found some of the code detailing the mysterious ABS that seems so important in the OS. I have no idea what it does, but it appears to do a lot of work with arrays and syscalls.
∂²Ψ    -(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 #366 on: February 08, 2011, 01:33:25 am »
Hmm darn, I hope this won't cause jailbreaking to be much more of a nightmare X.x. Good luck!

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Casio Prizm documentation
« Reply #367 on: February 08, 2011, 01:40:48 am »
Hmm darn, I hope this won't cause jailbreaking to be much more of a nightmare X.x. Good luck!
We don't really need to jailbreak it... It will accept add-ins made by us as long as they have the correct checksums, so it's not really like the Nspire. It's more like an 84+ without the Asm( command but with apps. What we need to do in order to make it easier to run code is to figure out the CRC checksum that's used for add-ins.

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 #368 on: February 08, 2011, 01:47:55 am »
Yeah but I meant in general. I never remember the right term for that stuff, so for me it's always hacking/jailbreaking, plus it's shorter than typing "getting third-party ASM/C code to run" :P

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Casio Prizm documentation
« Reply #369 on: February 08, 2011, 01:50:34 am »
Lol yeah.

I don't think that what Qwerty is talking about will affect our ability to run code, but it might prevent us from doing certain things later on. I'm not too sure.

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Casio Prizm documentation
« Reply #370 on: February 08, 2011, 10:25:16 pm »
The problem with writing add ins right now is size constraints. So you have to manipulate the program to fit one of three pre defined checksums. This can casue an issue for programs that are between the size of two apps causing you to try to decrease or increase the value of many bytes. Also the current method to affect the checksum of the app is to modify the image data, meaning it is difficult to import your own images.

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 JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Casio Prizm documentation
« Reply #371 on: February 09, 2011, 01:37:40 am »
Also the current method to affect the checksum of the app is to modify the image data, meaning it is difficult to import your own images.
There's a lot of unused empty data in the header. Can't we try to modify that instead of the icons?

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Casio Prizm documentation
« Reply #372 on: February 09, 2011, 01:42:44 am »
Also the current method to affect the checksum of the app is to modify the image data, meaning it is difficult to import your own images.
There's a lot of unused empty data in the header. Can't we try to modify that instead of the icons?
Yes there is a lot of empty space in the header, but if you have an app with a larger code size than the base app you will have to subtract bytes and the only safe way to do this is in the image data.

And for the app signer I'm working on I'm just going to port it to java. There were too many issues with Visual C++ and java is more portable.

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 JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Casio Prizm documentation
« Reply #373 on: February 09, 2011, 01:45:08 am »
Also the current method to affect the checksum of the app is to modify the image data, meaning it is difficult to import your own images.
There's a lot of unused empty data in the header. Can't we try to modify that instead of the icons?
Yes there is a lot of empty space in the header, but if you have an app with a larger code size than the base app you will have to subtract bytes and the only safe way to do this is in the image data.

And for the app signer I'm working on I'm just going to port it to java. There were too many issues with Visual C++ and java is more portable.
Do you think it's going to be released soon?

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Casio Prizm documentation
« Reply #374 on: February 09, 2011, 11:01:20 pm »
Hopefully by this weekend. At least porting in between C++ and java is simple to do. I just need to check my references for the different classes.

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)