C:Basic - Top Page

C:Basic - Add-In Casio Basic

Update and correction may be made at any time without notice.

1st: 18th Dec. 2015
Updated: 16th Dec. 2019

C.Basic, a part of C:Basic Project

If you feel your Casio Basic programs are not running fast enough, C.Basic can free you of that frustration.

Get Started with genuine Casio Basic program, then extended commands that C.Basic alone perform.

Currently C.Basic (Basic interpreter) is released and updating for fx-9860G Series (SH3) and later Graphing calculaters. C.Basic (single dot) will evolve into Casio basic Compiler "C:Basic" (double dots), which will run programs much faster than C.Basic (10 times from the looks of it).

C.Basic is provided as an Add-In Basic language which is upper comatible Casio Basic

Why C.Basic / C:Basic?

Genuine Casio Basic by Casio is a simple language containing minimal functionality in limited hardware power, but it's a practical language allowing us to enjoy 'Structured Programming like' coding. Old fans of Programmable calcs and poket computers who used to enjoy Basic programming well know that the old Basic requires line number. Unlike such old Basic, current Casio Basic can be categorized as a new Generration, so we define current Casio Basic is Caso Basic New Generation. The Casio Basic is very easy-to-use language and you can create programs on your calc only, no PC is required.

You can also create Add-In programs which can be built on your PC with C language SDK and the Add-In runs much faster than genuine Casio Basic. Comparing with Add-In, the Casio Basic is very slow, especially drawing dots on LCD screen is extremely slow. In order to improve speed of genuine Casio Basic, we started development of C.Basic (interpreter version at first) which is compatible with Casio Basic. Currently it gives you much faster computing speed in factor of 10 or 20 than genuine Casio Basic. Now we know C:Basic (compiler version in future) is capable to run x10 or more fasterr than C.Basic (interpreter version).
The C:Basic Project is driven by sentaro21 (author of this Add-In), Krtyski (owner of this blog, testing, making sample programs, suporting development) and some enthusiasts of C.Basic.

▋ Latest Version of C.Basic

There are two editions of C.Basic, C.Basic for FX and C.Baisc for CG;

C.Basic for FX (beta version)
This edition supports supports fx-9860G Series (SH3), fx-9860GII Series (SH4A) and Graph 35+USB/35+EII/75/85/95 (SD).
    ▶ Get Latest Verion

C.Basic for CG (beta version)
This edition supports PRIZM fx-CG10, fx-CG20, fx-CG50 and Graph90+E.
    ▶ Get Latest Version

NOTE: They are still beta version, so it may includes bugs and there is a possibility to destroy data in your calc (in this case you may need to restart or reset your calc). So it's highly recommneded to make backup of your data before trying C.Basic.

Installation of C.Basic
  1. Transfer Add-In file to storage memory of your Graphing Calc.
    Transfer CBasic.g1a file to storage memory of your fx-9860G Series using PC link software FA-124A. See below.
    Transfer CBCGxxx.g3a file (xxx stands for version number) to storage memory of your fx-CG Series by simply using explorer. fx-CG series is recognized as an external drive. See below.
  2. To start up C.Basic, press [MENU] key and select C.Basic icon.
  3. To check version of C.Basic, press [SHIFT] [MENU] [F6](Ver.), then version is shown.
  4. When the version is same as what you want to install, the installation has been done correctly.
  5. To return back to File List, press [EXIT] and [EXIT] again.
  6. CBasic.g1a and CBCGxxx.g3a are rather large file, so Optimization of memory is recommended to do. Press [MENU], select MEMORY icon, press [EXE] and press [F5] (Optimization).

Using the PC link software (FA-124) for fx-9860G / fx-9860GII Series

FA-124 is a PC link software which is included in the package of fx-9860G or fx-9860GII Series. For detailed operation please refer its manual. Recently CD is not included in a distribution package, so download FA-124 from Casio Worldwide Education Website.

Copy CBASIC.g1a to Storage Memory in right pane of FA-124. Also copy ~~HELP1.g1m file in Help folder to Storarage Memory in right pane of FA-124. Connect fx-9860G or fx-9860GII Series to PC using USB cable. Left pane shows files in your calc. Transfer CBASIC.g1a in storage memory in right pane to left pane in storage memory.

Font folder and FontEdit folder should also be transfered to the Storage Memory if you want to use extended fonts.


When available storage memory comes low and you want to update C.Basic, it's recommended to delete CBASIC.g1m at first, perform Optimization of storage memory, then transfer latest version of CBASIC.g1m.

For detailed instructions, please refer to instruction manual of FA-124.

Note: FA-124 bug info. - files may be destroyed when multiple files are copied at once in right pane. Do not copy multiple files at once to right pane from left pane or outside of FA-124A. When get backup files into right pane of FA-124, you should trasfer the files back to calc and check their functionality for sure. If they are OK, then your backup files are OK.

Using Explorer for fx-CG10, fx-CG20 and fx-CG50

Connecting fx-CG Series to your PC with USB cable and open Exporler, then fx-CG is shown as an external drive.


Root of the external drive is storage memory of fx-CG Series calc. Transfer CBCGxxx.g3a (xxx stans for version number of C.Basic for CG) to Storage Memory shown as root of the extrenal drive.

Also transfer HELP3.g3m and HELP1.g1m in Help folder to program source folder, which is Storage Memory as default or any folder you can create, eg. "@CBASIC". 

@Font folder and FontEdit folder should also be transfered to the Storage Memory if you want to use extended fonts.

How to Use & Command Reference

   C.Basic for FX

   C.Basic for CGAll those above information are in text files included in downloaded zip file.

Overclock Add-In: Ftune2

To enjoy fast operation, an over-clock Add-In,
Ftuen2 is recommended to use with C.Basic.
Review following pages for reputation of this program;
@ Unversal Casio Forum
@ TI-Planet

I have used this Add-In over 1 year, there is no problem found so far. Ftuen2 has well considerred safwty features, so it unlikely damages your calc. But please make backup of data of your calc for sure.

Please download Ftune2 for Casio fx-9860GII POWER GRAPHIC 2 (SH4A model), not other editions.

Potential of C.Basic & C:Basic

Let me show you capability of C.Basic and C:Basic with sample program(s).

Conway's Game of Life

C.Basic is upper compatible with original Casio Basic, and has some extended commands and language functions.

If you want to make a fast bitmap graphics program with original Casio Basic, I can say it's reckless try. But with C.Basic you can enjoy programming of Conway's Game of Life as a good example.

- Download:
Game of Life Ver 0.74

In this video, clock is tuned up to 236MHz by Ftune2.

- Download:
   Please be careful to download an edition for Casio fx-9860GII USB POWER GRAPHIC 2 (SH4 model).


To evalaute capability of C:Basic (compiler version), most frequently porcessd codes of Game of Live Ver 0.74 is replaced by a special command "DotLife" to make the codest run at native code speed. 

Download: Game of Life Ver 0.84

As you see, it's much faster in factor of 10 until getting to generation 517. Now we believe fully native code by C:Basic (compiler version) should acheive a bit faster computing speed than this case.

3D Maze


Go from top-left as strat point to bottom-right as goal viewing 3D display in right pane. This rungs on genuine Casio Basic but this is very slow. You should run on C.Basic.

- [↑] / [8] : Go forward
- [→] / [6] : Go right
- [←] / [4] : Go left
- [↓] / [2] : Go back

Download: 3D Maze

Action Game - DRAGON

To switch Upward and Downward of flying Dragon, press any key besides [AC], [EXIT] and [0] keys. There are flying mines, do not touch the mines also do not hit mountains.

Pressing [0] key, dragon can "roar" 3 times, which destroy everything, mines and even mountains. Press [EXIT] or [AC] key to quit the program.

Sorry the video has no English subtitle. This program runs on C.Basic with C.Basic original commands. This is a good sample how to use Bitmap handling and drawing functions.

Download: Dragon.zip

Shooting Game - AlienCG

AlianCG1.png AlianCG3.png 

Download: AlienCG

▲Back to Top

テーマ : プログラム関数電卓
ジャンル : コンピュータ

Installation of C.Basic

C:Basic - Add-In Casio Basic
<Top Page>

Update and correction may be made at any time without notice.

27th Mar. 2016

How to Use C.Basic

Installation of C.Basic

For the first installation or updating to latest version of C.Basic, down load the C.Basic and transfer it to your fx-9860GII using PC Link software FA124A and USB cable which are included in your fx-9860GII package.

It's simple to transfer C.Basic to your fx-9860GII, Import the downloaded C.Basic to FA-124A and then transfer the C.Basic to your fx-9860GII.

- Download C.Basic

Install FA-124A to your PC

Import C.Basic at FA-124A
Start up FA-124A
Switch to Storage Memory Mode
Import C.Basic to FA-124A

Transfer C.Basic to fx-9860GII
Connect fx-9860GII to FA-124A
Transfer C.Basic
Check transferred C.Basic

Optimization of Memory

Download C.Basic

Download Latest Verion, store in proper folder and unzip the downloaded file (ZIP file). CBASIC.G1A in there is C.Basic Add-in File.

Install FA-124A to your PC

If you want to install FA-124A in your favorite launguage, you should use CD which is included in your fx-9860GII package and select your favorite language before the installation.

▲Back to Top

Import C.Basic at FA-124A

Start up FA-124A

When FA-124A is started up, Main Memory mode is selected, in this mode Calc icon button is pushed in.
When mouse cursor comes over the Calc icon button, "Main" is popped up.


Left pane shows files in Calc and right pane shows files imported in FA-124A of your PC. Now you use right pane to import C.Basic Add-In file (CBASIC.G1A) at FA-124A.

fx-9860GII has Main and Storage memory, so FA-124A has also Main and Storage memory mode which you can siwtch each other. At starting-up, FA-124A is in Main memory mode.

An add-in program is installed and used in Storage memory of fx-9860GII. Since C.Basic should be transferred to Storage memory, you should switch FA-124A to Storage memory mode.  

 Switch to Storage Memory Mode

In right pane, click "Storage " mode button (on the right side of Calc icon button) to switch to Storage mode.


 Import C.Basic to FA-124A

Click on "Default" by right button of your mouse, then select "Import" at pop-uped menu.


Then Insert CASIO File dialog is shown, where,
- select folder where CBASIC.G1A is stored,
- select file type as G1A File(*.g1a),
- select CBASIC.G1A,
and click Open(O) button.

Then check if there is CBASIC.g1a in file list at right pane.


▲Back to Top

Transfer C.Basic to fx-9860GII

Connect fx-9860GII to FA-124A

Connect fx-9860GII to PC by USB cable, you will see following pop up window (Select Connection Mode) at your calc.


Then push [F1] (DataTrans), then click very left button ("Connect" button) in left pane of FA-124A.


Waiting until connection is completed, then you will see "User1" in left pane.


Transfer C.Basic

Push left button of your mouse on the Impoted CBASIC.g1a in right pane and drug to "User1" in left pane then drop it (Drug & Drop).


Check if there is CBASIC.g1a in file list of left pane.


Check Transferred C.Basic

With your fx-9860GII, push [MENU] key to show MAIN MENU and check if there is C.Basic icon.


Select C.Basic ison and push [EXE] key to run C.Basic.

Starting up C.Basic, you will see File List screen and key in [SHIFT][MENU](SET UP), C.Basic Setup menu is shown.


In Function menu shown in bottom, push [F6](Ver.) key to show version of C.Basic and check is correct version is installed.


▲Back to Top

Optimization of Memory

C.Basic itself (add-in file) and Casio Basic source files should be installed in Storage memory. After meny times of file writing, files are fragmanted and actually usable memory size is getting descreased. Optimization solves the fragmentation to get back usable memory area. It's recommended to carry out memory Optimization at the installation or update of C.Basic.

Push [MENU] to show MAIN MENU and select Memory icon,


Push [EXE] key to start Memory Manager.


Then push [F5] (F5: Optimization) key to run memory Optimizarion feature.

▲Back to Top

テーマ : プログラム関数電卓
ジャンル : コンピュータ

C# (3)
Online Counter

やす (Krtyski)

Author:やす (Krtyski)
since Oct 30, 2013


プログラム電卓を実際に使って気づいたこと、自作プログラム、電卓での Casio Basic, C.Basic そして Casio Python プログラミングについて書いています。


写真: 「4駆で泥んこ遊び@オックスフォード郊外」