Author Topic: Casio-BASIC  (Read 47770 times)

0 Members and 5 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-BASIC
« Reply #15 on: October 15, 2010, 12:01:37 pm »
That reminds me... did Casio FX-9750G even had a getkey function?

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-BASIC
« Reply #16 on: October 15, 2010, 01:05:10 pm »
Since the fx-9750 is second generation, it most likely did.

Speaking of which...
« Last Edit: October 15, 2010, 01:05:26 pm by Qwerty.55 »
∂²Ψ    -(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-BASIC
« Reply #17 on: October 15, 2010, 02:38:04 pm »
Ah ok, I don't remember since it has been so long since I last used one and the manual was not very detailed about it if I remember.

Also nice, I'll check that attachment soon :)

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-BASIC
« Reply #18 on: November 15, 2010, 11:46:45 am »
Update: I will be resuming this project after the conclusion of the Team Battle. Also, since Casio has released the User's guide for the fx-CG10/20 series (AKA the Prizm), the command set of those models will be included in the tutorials.
« Last Edit: November 15, 2010, 11:47:31 am by Qwerty.55 »
∂²Ψ    -(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-BASIC
« Reply #19 on: November 15, 2010, 11:48:34 am »
WOW they did? I need to find it ASAP! I wonder if there is a getkey and Input function?

Nice to see this is still progressing, by the way. :)

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-BASIC
« Reply #20 on: November 15, 2010, 11:51:35 am »
Yep, the Prizm has the full command set of all previous models, as well as the same keyboard layout, and a few new features. Casio obviously put some thought into backwards compatibility and ease of transition for users. I haven't taken the time to look all the way through it, but here's the User's guide:

http://edu.casio.com/products/cg_series/data/fxcg10_20_E.pdf
« Last Edit: November 15, 2010, 11:52:37 am by Qwerty.55 »
∂²Ψ    -(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-BASIC
« Reply #21 on: November 15, 2010, 12:11:49 pm »
Oh cool, I remember the 9860G also ran most CFX and 9750G programs, I wonder if it will be easy to port them to the new calc.

At least I am glad their BASIC is more complete than TI-Nspire BASIC for Casio development (in terms of game stuff). Now if only they would fix its incredibly slow speed... (unless they did on the Prizm?) Casio BASIC major problem on the older models was that it was between 10 and 20 times slower than TI-BASIC. On the 9860G it's at the same speed as a regular 83+, but the 83+ manages to achieve the same speed with a 5 times slower processor...

And wow that's a large file O.O. Lots of details on the commands.

By the way, one amazing feature the Casio BASIC editor had on the 9860 (I forgot if the older models had it) was search features. We could find lines of code in a program, if I remember.

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-BASIC
« Reply #22 on: November 15, 2010, 12:14:17 pm »
They kept the search feature :)

One thing I've realized while making these tutorials is that Casio-BASIC is MUCH better than TI-BASIC in terms of functions. But given that the Prizm runs an ARM processor, it will at the very least achieve 84+ SE speeds. The TI community has shown that that's enough to make some fairly impressive games.
« Last Edit: November 15, 2010, 12:17:01 pm by Qwerty.55 »
∂²Ψ    -(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-BASIC
« Reply #23 on: November 15, 2010, 12:16:35 pm »
Yeah, it improved a lot since the 9860G-I days. II added string support and other commands. The Prizm seems even more complete now. I hope it runs faster than it did on their older calcs, even if not ASM-like.

I wish TI still wrote their manuals (the paper copies) as detailled as Casio's programming section. Now they don't even have a programming section sometimes!

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-BASIC
« Reply #24 on: November 15, 2010, 12:18:16 pm »
I would hate to be stuck with any of the first generation languages. Those were like programming in Brainf***, at least in terms of how much they could do.
« Last Edit: November 15, 2010, 12:18:42 pm by Qwerty.55 »
∂²Ψ    -(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-BASIC
« Reply #25 on: November 15, 2010, 12:22:25 pm »
Yeah I tried programming on a Casio FX-7000G and I must say it was hectic...

But on the FX-9750G they had the 2nd gen one. Just no string support and fewer commands. We had getkey, though.

One freaking amazing thing with the 9860G is how incredibly fast the Output() equivalent is (even thought it doesn't word-wrap). If it's even faster on the Prizm, we might be able to have animated homescreen graphics. ;D
« Last Edit: November 15, 2010, 12:22:47 pm by DJ Omnimaga »

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-BASIC
« Reply #26 on: November 15, 2010, 12:23:46 pm »
That would be awesome. I wish Casio would release the SDK so we could try out the emulator and see.
∂²Ψ    -(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-BASIC
« Reply #27 on: November 15, 2010, 12:26:51 pm »
Yeah me too. From what I saw in the guide, we will only be limited to a few colors when displaying stuff, not the 65536 colors, but it's possible to have cool-looking stuff with so few colors anyway. Dithering can also do the trick. Plus maybe someone will write a 3rd-party ASM/C app that adds new functions to TI-BASIC. :D

I can,t wait for Jan 1st 2010. I hope it's sold over here, otherwise I'll grab one on Ebay.

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-BASIC
« Reply #28 on: November 15, 2010, 12:33:15 pm »
Yeah me too. From what I saw in the guide, we will only be limited to a few colors when displaying stuff, not the 65536 colors, but it's possible to have cool-looking stuff with so few colors anyway.

I'd have to look to be sure, but I think it's only three or four colors. That's still more than what we're used to and if the commands have any of the speed of the processor behind them, those few could probably be used to make a good portion of the rest of those 65,536 colors.

Let's just hope Casio doesn't lock all of the processor functions down like TI did and make a useless SDK.

EDIT: Forget everything I said about Casio-BASIC being more complete than TI-BASIC. Casio did a horrible job coding their interpreter. It appears that that multiple commands have buggy code behind them, so they're useless.
« Last Edit: November 15, 2010, 12:54:21 pm by Qwerty.55 »
∂²Ψ    -(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-BASIC
« Reply #29 on: November 15, 2010, 05:09:41 pm »
I swear I saw 6 or 7 colors. There's also auto and something else, but I forgot what. Nonetheless, if Locate X,Y,"Text" is as fast as on the 9860G, we'll just have to quickly swap between colors to create other ones, I guess.

And yeah Casio did an even worse job at coding BASIC, except maybe the TI-Nspire is worse in some points. That said, they really did a great job with Locate.