Close

Error messages

A project log for One kilobyte Tiny BASIC for the 8080 and Z80

BASIC for the 8080 and Z80, fits in 1K of memory, runs BASIC games on a 2K system. Features similar to Palo Alto Tiny BASIC.

willstevenswill.stevens 02/04/2024 at 10:160 Comments

Rather than using up memory on lengthy error messages, 1K BASIC displays the address (in decimal) after the call instruction that called the error subroutine. This means that error codes change during development, but has the advantage that you can distinguish one kind of error from another. For example at the time of writing this ‘E706’ means an unrecognised token was encountered during parsing.

Discussions