Close

State of Play 15-Dec

A project log for 8008 1k Tiny BASIC

Attempting to get a workable BASIC interpreter in 1k of 8008 assembler code.

paul-robsonPaul Robson 12/15/2016 at 22:020 Comments

The project is about 570 bytes long, which includes : program editing/listing, evaluation, assignment, GOTO, INPUT, PRINT.

Outstanding are GOSUB/RETURN (will actually be CALL/RETURN), a conditional statement, and a command which is a bit like INKEY.

Some things may be improved later if space permits ; the evaluator was written first and is about 110 bytes but needs some better error checking - it doesn't crash, it just accepts bad syntax.

The project is very wasteful of RAM - deliberately to save program memory :)

Discussions