Author Topic: Casio Prizm documentation  (Read 218620 times)

0 Members and 1 Guest are viewing this topic.

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 #165 on: December 31, 2010, 02:46:33 pm »
I've had this for quite awhile, so I suppose I should just post it already  :P

http://lars.nocrew.org/computers/processors/SuperH/sh4cpu_sh1.pdf
∂²Ψ    -(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 #166 on: December 31, 2010, 04:56:24 pm »
I compiled the known app header into one file. There are still a few hole to be figured out 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 JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Casio Prizm documentation
« Reply #167 on: December 31, 2010, 05:23:41 pm »
Do you think you can add that to the wiki?

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 #168 on: December 31, 2010, 05:24:13 pm »
Nice z80man!
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Casio Prizm documentation
« Reply #169 on: December 31, 2010, 05:25:42 pm »
Do you think you can add that to the wiki?
Yes I'll try and get that up.  ;D

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 #170 on: December 31, 2010, 05:26:56 pm »
Excellent. The wiki will probably be useful. We just need to add what we've discovered (and we should also discover more stuff :P)

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Casio Prizm documentation
« Reply #171 on: December 31, 2010, 05:34:00 pm »
I compiled the known app header into one file. There are still a few hole to be figured out though.
There was a small typo in the file. The new one is here.

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 #172 on: January 01, 2011, 08:31:50 pm »
Anyone who uses ASM for this will never need to use RAM with all. There are 24 general purpose registers alone, even if you can only access 16 of them O.O
∂²Ψ    -(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 #173 on: January 01, 2011, 08:38:47 pm »
Nice, that's much better than the z80 at least. The 83+ had like 8, right?

Also, I hope that if Casio ever releases Prizm documentation that it won't be translated from Japanese to Zero Wing language...
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 #174 on: January 01, 2011, 08:42:04 pm »
 O.O
∂²Ψ    -(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 #175 on: January 02, 2011, 12:46:02 am »
Anyone who uses ASM for this will never need to use RAM with all. There are 24 general purpose registers alone, even if you can only access 16 of them O.O
Nice, that's much better than the z80 at least. The 83+ had like 8, right?

Also, I hope that if Casio ever releases Prizm documentation that it won't be translated from Japanese to Zero Wing language...
And those 8 the 83+ had were 8 bit registers. The Prizm's 16 are all 32 bit.  ;D

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 #176 on: January 02, 2011, 01:47:21 am »
Well, the general purpose ones are. Many system registers are 16 bit, such as FRQCR and STBCR 1 & 2.

Anyway, where did you get 148 MHz from (on the other thread)? The FRQCR register can only handle integers 1-6.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline calcforth

  • LV3 Member (Next: 100)
  • ***
  • Posts: 62
  • Rating: +4/-4
    • View Profile
Re: Casio Prizm documentation
« Reply #177 on: January 02, 2011, 04:20:02 am »
Well hardware floating point sure sounds like something that could be useful O.O
Well, it depends on what you are trying to do. Hardware FPU is obviously faster, but then 0.2+0.2+0.2+0.2+0.2 is not equal to 1.0 and this baffles people (even if absolutely correct if you go by IEEE specification).

Wild guess: Prizm uses it in assembly programs do draw graphs and such, but not in BASIC (to not confuse people).

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: Casio Prizm documentation
« Reply #178 on: January 04, 2011, 01:48:02 am »
Well hardware floating point sure sounds like something that could be useful O.O
Well, it depends on what you are trying to do. Hardware FPU is obviously faster, but then 0.2+0.2+0.2+0.2+0.2 is not equal to 1.0 and this baffles people (even if absolutely correct if you go by IEEE specification).

Wild guess: Prizm uses it in assembly programs do draw graphs and such, but not in BASIC (to not confuse people).
The Prizm may or may not have internal floating point support. The SH3E is the version of the SH3 that incorporates the FPU. Most likely though Casio just used the standard SH3 and did floating point claculations in software as they would would have no need for the added speed.

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 Goplat

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 289
  • Rating: +82/-0
    • View Profile
Re: Casio Prizm documentation
« Reply #179 on: January 05, 2011, 03:47:27 pm »
so wait, getting this is normal? Okay, I'm writing a converter for that later. ;-)
Code: [Select]
Offset(h)
00000000  ë<.MSDOS5.0.....
00000010  ...v€ø..........
00000020  ....€.)....NO NA
00000030  ME    FAT16   ..
00000040  ................
00000050  ................

Unfortunately, if all non-displayable bytes have been turned into '.', there's no way you can tell what bytes they were supposed to be originally.

Here's a little program I wrote to get a raw binary dump of a drive. Run it from the command line, with the drive letter and output file as parameters (e.g. If your Prizm is drive X and you want to call the dump prizmdump.bin, you would run "dumpdrive X prizmdump.bin")
Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo