TI CC-40 Demo Playground

Texas Instruments Portable BASIC Computer (1983)

Try BASIC commands and short programs on the CC-40 display and keyboard. This is a partial reimplementation without the original ROM image.

Initializing...

LCD text
 

Enter submits a line. CLR clears the display; BREAK stops a program. OFF / ON retains your program in this page session.

Try These BASIC Programs:

Keyboard Controls:

One-click CC-40 demos

Load a short BASIC program, then try LCD text, keyboard polling, tones, indicators, positioned display writes and custom characters. These demos use supported features of this partial CC-40 reimplementation, not the original ROM.

LCD custom glyph

Defines CGRAM character 0 with CALL CHAR, then prints it with CHR$(0).

Indicator panel

Lights the DEG and I/O indicators with CALL INDIC and prints a short status line.

Positioned LCD writes

Uses CALL HCHAR and CALL VCHAR to write raw character bytes into LCD DDRAM.

CALL SOUND scale

Runs a short C-major scale with CALL SOUND and routes each tone through the browser-local audio path.

CALL KEY polling

Starts a one-shot key poll with CALL KEY; after loading, press a key on your keyboard or click one on the CC-40.

DEF FN temperature

Defines a small DEF FN conversion function and prints sample Fahrenheit-to-Celsius output.

Program loop

Stores and runs a tiny numbered BASIC program so the LCD scroll window shows the latest line.