LCD custom glyph
Defines CGRAM character 0 with CALL CHAR, then prints it with CHR$(0).
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...
Enter submits a line. CLR clears the display; BREAK stops a program. OFF / ON retains your program in this page session.
PRINT "HELLO WORLD" - Display textPRINT 2+2 - Math operations10 FOR I=1 TO 1020 PRINT I30 NEXT IRUN - Loop programLIST - Show programNEW - Clear programCLR to dismiss System initialized and begin typing.Enter - Submit command (same as ENTER key)Left/Right - Move the cursor; typing replaces the character under it. The display shows 31 positions of an 80-character line.SHIFT + Right inserts; SHIFT + Left deletes at the cursor; SHIFT + Up recalls the previous display.SHIFT + CLR toggles uppercase lock. Click FN, then a labelled key, to insert its BASIC keyword.RUN enters the RUN command; press ENTER to execute it. OFF/ON keeps the stored program in this page session.Ctrl+Esc - BREAK (interrupt running program)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.
Defines CGRAM character 0 with CALL CHAR, then prints it with CHR$(0).
Lights the DEG and I/O indicators with CALL INDIC and prints a short status line.
Uses CALL HCHAR and CALL VCHAR to write raw character bytes into LCD DDRAM.
Runs a short C-major scale with CALL SOUND and routes each tone through the browser-local audio path.
Starts a one-shot key poll with CALL KEY; after loading, press a key on your keyboard or click one on the CC-40.
Defines a small DEF FN conversion function and prints sample Fahrenheit-to-Celsius output.
Stores and runs a tiny numbered BASIC program so the LCD scroll window shows the latest line.