Jump to content

- - - - -

CASIO Pong ~ Yet another Pong clone, but this time... it's on a ca

fx-9860g-sdk g1a add-in game

  • Please log in to reply
3 replies to this topic

#1 Raresh Nistor

Raresh Nistor


  • Members
  • Pip
  • 5 posts
  • Gender:Male
  • Location:Middle Earth
  • Interests:* Software Development
    * Design and Photography
    * Linguistics

  • Calculators:
    * CASIO fx-9750GII MkII

Posted 30 September 2018 - 03:26 AM




It's Pong. There isn't much to say really, other than it's Pong.



Around last year I've upgrade my calculator's firmware to the one used by the CASIO fx-9860G to get Natural Display.


But then I figured out I could write more than just simple CASIO BASIC programs on it. Especially with how I can't quite plot pixels on the display exactly.


I got the SDK and started learning ANSI C. That is the first program I've made so far... Because it was simple, and taught me some skills to hopefully write more useful and more advanced programs.


How do I get it?

You can download the G1A from GitHub. You'll either need a CASIO fx-9860G or fx-9750G (with its firmware upgraded) to work. Though, be aware of issue #1.


How do I build it?

You'll have to somehow get your hands on the SDK. Here is a starting point.


Git is helpful if you want to contribute to this repository.


Known Bugs

  • #1: Works in emu. Hangs on hardware.
  • #2: Game hangs on entry to MAIN MENU.


I've published the source code for suggestions and scrutiny on GitHub. This is mostly a learning experience for me and want to know more about lower level programming than I'm used to (which is stuff like C#, JavaScript and Python).


  • foroplus likes this

#2 foroplus



  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:Spain

  • Calculators:
    Casios: FX4000P, FX6300G, FX7000G, FX7000GA, FX7700G, FX9750G, FX9950G, FX9860GII.
    Casio Pocket: PB80, PB100, PB100F, PB110, FX702P, FX801P, FX-700P, FX-802P, PB700, PB750, PB750PF, PB720, PB720PF, PB410, FX730P, FX850P, FX880P, VX4.

Posted 30 September 2018 - 06:12 PM

Nice and great job.

Always comforting to see young people programming.

  • Raresh Nistor likes this

#3 GodOfCows


    Casio Addict

  • Members
  • PipPipPip
  • 79 posts
  • Gender:Male

  • Calculators:
    fx-9860gii, fx-9750gii, TI-92, TI-89, TI-83 Plus

Posted 01 October 2018 - 03:00 AM

Why does it hang? Are you using anything other than GetKey()?

#4 sentaro21


    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 369 posts
  • Gender:Male
  • Location:JAPAN

  • Calculators:
    FX-603P fx-4800P fx-5800P
    CFX-9850GC PLUS
    fx-9860GII-2 SD
    HP 50G
    TI-Nspire CX CAS

Posted 01 October 2018 - 08:12 AM

Your calculator seems to be SH4A model.
The "IsKeyDown" function in fx-SDK does not work in SH4A.
It is necessary to perform key input corresponding to SH4A.
Please refer to this
and more,
void DrawScoreboard()
    char i;
    unsigned char p1_score[ 3];
    unsigned char p2_score[ 3];
p1_score and p2_score buffer size [ 3]is short.
Please increase it more than [ 4].


  • Raresh Nistor likes this

Also tagged with one or more of these keywords: fx-9860g-sdk, g1a, add-in, game

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users