On Thu, 12 Nov 2026 08:24:44 +0000
The Natural Philosopher <t…@invalid.invalid> wrote:
> In fact if you go back to the TMS9900 series of chips these made
> lousy single user computers. The chipset was designed for efficient
> context switching in a multitasking environment
Oh, the travails of the TI-99 series had nothing at all to do with the
CPU per se; the design decisions on that platform were truly in the
Absolutely Gorram Bonkers category:
Start with the fact that the TMS9900 CPU, while it presents a byte-
addressable memory model to the programmer, doesn't actually do byte-
level addressing on the bus; all 8-bit writes are actually 16-bit read-
modify-write operations, and 8-bit reads are just 16-bit reads where
the irrelevant byte is discarded.
Now consider that the TI-99 only has 256 bytes (128 words) of 16-bit
RAM, which is used as a register file/scratchpad area for the firmware.
All the rest is 8-bit. Moreover, it's not even mapped into main memory;
instead, it doubles as video memory, and must be accessed byte-serial
fashion via the VDP (set the address & do sequential access until you
need to hit some other part of RAM, at which point you set the address
*again* and repeat.) This also puts video-bound wait states on the bulk
of memory accesses, on top of the 8-bit clunkiness.
(There was an optional RAM cartridge add-on which mapped directly into
CPU address space, but even this was 8-bit.)
Moreover (as this makes *normal* programming effectively impossible on
an unexpanded unit) the firmware actually implements a virtual-machine
interpreter for programs stored in the video memory or in "graphic ROM"
cartridges which are accessed in the same byte-serial fashion. And it's
*this* instruction set that the built-in TI Basic is implemented in.
So, to recap, when you power on the unit and enter your 10 PRINT "WTF
WERE THEY SMOKING!?" : GOTO 10 test:
* It's running in an intrepreted language.
* Which is implemented in *another* interpreted language.
* Which is being read a byte at a time.
* Through a straw that the video chip is periodically pinching shut.
* By a CPU that can't actually do byte accesses.
Gee, I wonder why it was slow...?