Tiny BASIC Extended

What is this?

The window above is a simulator of in Intel 8080 based computer, such as a terminal hooked up to an Altair 8800. It is running Tiny BASIC Extended, a version of the BASIC programming language. It was originally published in the very first issue of Dr. Dobb's journal in January, 1976.

Do not forget to type NEW before starting entering a program.

To use this, click on the window above and type NEW. The prompt is a colon (:). You can type an expression at the prompt:

    : PR 3 + 2
    

This will print the result of the expression, in this case, 5. If you're familiar with BASIC, note that you use PR in this version of Tiny BASIC, not PRINT or ?. This was likely done to save space (the while interpreter fits in less than 4K!) Here are some other differences:

BASIC Tiny BASIC
PRINT PR
LIST LST
NEXT NXT
INPUT IN
: $

Example program

    10 PR "TIMES TABLE"$PR
    20 FOR I = 1 TO 10
    30 FOR J = 1 TO 10
    30 PR I * J;
    50 NXT J
    60 PR
    70 NXT I
    80 END
    

For more information, check out the GitHub Repository.