Comment by WalterBright
13 hours ago
> a new BASIC interpreter for the 1983 Mattel ECS add-on for Intellivision
Fun fact: Hal Finney (yes, that Hal) wrote a BASIC interpreter for the Intellivision back in 1978 or so in a weekend. It was 2K of code. Mattel shipped it on a cartridge.
ROM space was so tight, the only error message it produced was:
EH?
Which Hal was very proud of. He showed it to me to make me laugh. At the time I was programming the Mattel Intellivision Roulette cartridge.
That's hilarious. I wonder how many corners he cut on that. Is there a disassembly floating around somewhere?
It was written in assembly.
I don't know that any listings were kept. It never occurred to me to save any of mine. Oh well.
Likewise, I've lost all of my code from the 8 bit era, no big deal, really, but it would have been fun to read some of it.
One of the more interesting projects was to make an annotated listing of the 6809 version of MS Basic for the Dragon 32. We learned so much just by studying that code. It was only 16K and yet we spent months on that.
And for stuff we wrote ourselves, a real-time 3D renderer for simple 3D models in 6502 assembly was probably the pinnacle.
The Level I BASIC for the TRS-80 (which only shipped with 4 KiB of memory originally) had three error messages: WHAT? (syntax errors and the like); HOW? (illegal operations like divide by zero); and SORRY (out of memory).
BootOS, the 512-byte OS written by Oscar Toledo (author of this article), also has a single error message, "Oops".