Author Topic: Casio Prizm FX-CG10 released  (Read 23575 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 FX-CG10 released
« Reply #30 on: December 31, 2010, 09:43:20 pm »
Sorry if this was already answered, but do we know the speed and type of processor that the Prizm has?
SuperH 3, running at 29 MHz (speed can be increased).

How much can it be increased?  29 MHz is SO SLOW!

It can be increased up to 6 times the base frequency, which is 178 MHz (although the manufacturer claims it has a ceiling of 200 MHz). You do this by manipulating the frequency control register, which is a two byte register controlling the internal clock frequency ratio, the peripheral clock frequency ratio, and the frequency multiplier. Each of those attributes is given three bits and I'll designate them A1,2,3, B1,2,3, and C1,2,3 respectively, where the lowest number signifies the most significant bit.

The register is arranged like this:
Bit1514131211109876543210
Bit controlledC1A1B1-------C2C3A2A3B2B3

EDIT: How do you add a table border?
« Last Edit: December 31, 2010, 09:51:05 pm by Qwerty.55 »
∂²Ψ    -(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 FX-CG10 released
« Reply #31 on: December 31, 2010, 11:01:37 pm »
Is it dangerous if the calc CPU speed is increased too much?
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 FX-CG10 released
« Reply #32 on: December 31, 2010, 11:33:04 pm »
The processor starts failing to read correctly from RAM. I'd assume that means you're going to crash something.
« Last Edit: December 31, 2010, 11:34:01 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Casio Prizm FX-CG10 released
« Reply #33 on: December 31, 2010, 11:58:35 pm »
I don't know if table borders are allowed, unless you can do html.  You could then change the css, but it would change all tables on the page, unless "
" allows custom classes, but you would still need your own css. Maybe it has a style attribute.

Anyway, The ceiling of 200 is probably as fast as the processor could go itself. Controlled is probably 178.  I'm not entirely sure, but I think it's just an rounded-up answer.  The only way to test that would be to hook it up to a clock running at 200, right?

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 FX-CG10 released
« Reply #34 on: January 01, 2011, 12:04:26 am »
Or we could have it perform some counting function and record how long it takes. It'd be interesting to see what happens if you set the Frequency to 0x111b instead of the maximum of 0x101b.
* Qwerty.55 nominates FinaleTI's Prizm.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Casio Prizm FX-CG10 released
« Reply #35 on: January 01, 2011, 12:05:36 am »
Or we could have it perform some counting function and record how long it takes. It'd be interesting to see what happens if you set the Frequency to 0x111b instead of the maximum of 0x101b.
* Qwerty.55 nominates FinaleTI's Prizm.
* king graphmastur seconds Qwerty.55's nomination

But seriously, the maximum it could do is set your calc on fire. I mean, what's the harm in that?  Actually, I would just hope pulling a battery resets it. I'm sure it does.

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 FX-CG10 released
« Reply #36 on: January 01, 2011, 12:09:08 am »
Rebooting would reset it. The question is whether the calculator actually turns off when you turn it off or goes to sleep  <_<
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Casio Prizm FX-CG10 released
« Reply #37 on: January 01, 2011, 12:10:25 am »
Oh, true. Well, does the SH3 support interrupts?

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 FX-CG10 released
« Reply #38 on: January 01, 2011, 12:12:19 am »
Yep, it does. I'd hope so, at least. The BRK command will turn the processor off until the next interrupt  O.O
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Casio Prizm FX-CG10 released
« Reply #39 on: January 01, 2011, 12:21:38 am »
Yep, it does. I'd hope so, at least. The BRK command will turn the processor off until the next interrupt  O.O
Hey, do you have a command list? And possibly their hex equates?

EDIT: And what processor is it exactly.  I know it's the SH3, but which one?   One of the SH7700 series, I think.
« Last Edit: January 01, 2011, 12:27:59 am by graphmastur »

Offline Ranman

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Re: Casio Prizm FX-CG10 released
« Reply #40 on: January 01, 2011, 12:24:55 am »
Prizm
Code: [Select]
Cls
For 0 -> A To 1000
 Black "A
Next

Optimized for ya  ;)
How do you set the increment to something other than +1? 
I'm guessing
Code: [Select]
For 1000 ->A To 0 Step -1Also I optimized the TI code to use output instead of disp and now the TI-84+ SE finished the loop while the Prizm(with optimized for loop) was only on 740. The while loop on the Prizm though is just barely slower than the for loop

So... are you saying that TI BASIC @ 15MHz is faster than the Casio BASIC @ 29MHz?

All of the sudden, I'm not very impressed...  but I will wait for more data.
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

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 FX-CG10 released
« Reply #41 on: January 01, 2011, 12:44:22 am »
I wish I had the hex equates...
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂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 FX-CG10 released
« Reply #42 on: January 01, 2011, 05:29:34 am »
Sorry if this was already answered, but do we know the speed and type of processor that the Prizm has?
SuperH 3, running at 29 MHz (speed can be increased).

How much can it be increased?  29 MHz is SO SLOW!

It can be increased up to 6 times the base frequency, which is 178 MHz (although the manufacturer claims it has a ceiling of 200 MHz). You do this by manipulating the frequency control register, which is a two byte register controlling the internal clock frequency ratio, the peripheral clock frequency ratio, and the frequency multiplier. Each of those attributes is given three bits and I'll designate them A1,2,3, B1,2,3, and C1,2,3 respectively, where the lowest number signifies the most significant bit.

<snip>

I've uploaded everything to the prizm wiki:

http://wiki.prizmwiki.co.cc/wiki/CPU_clocks
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Casio Prizm FX-CG10 released
« Reply #43 on: January 01, 2011, 05:35:52 am »
Sorry if this was already answered, but do we know the speed and type of processor that the Prizm has?
SuperH 3, running at 29 MHz (speed can be increased).

How much can it be increased?  29 MHz is SO SLOW!
The nspire has "spoiled" us. If it had never came out, we would be thinking of 29mhz as fast compared to the 84+.

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 FX-CG10 released
« Reply #44 on: January 01, 2011, 08:30:47 pm »
Prizm
Code: [Select]
Cls
For 0 -> A To 1000
 Black "A
Next

Optimized for ya  ;)
How do you set the increment to something other than +1? 
I'm guessing
Code: [Select]
For 1000 ->A To 0 Step -1Also I optimized the TI code to use output instead of disp and now the TI-84+ SE finished the loop while the Prizm(with optimized for loop) was only on 740. The while loop on the Prizm though is just barely slower than the for loop

So... are you saying that TI BASIC @ 15MHz is faster than the Casio BASIC @ 29MHz?

All of the sudden, I'm not very impressed...  but I will wait for more data.
Sadly this is how slow Casio BASIC is. However, Locate is much faster than Output() and it has more functions than the Nspire, so I guess that's a start. I wish it was faster, though.
The processor starts failing to read correctly from RAM. I'd assume that means you're going to crash something.
Ok, but I am more curious at which speed the calc can continue functioning correctly.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)