3 ms·
Writing code for the old Mac serial chip was an adventure. I wrote a MIDI driver once, and that required dividing a 1MHz external clock, to get the 62.5KHz (I
by ChrisMarshallNY 3y ago
Writing code for the old Mac serial chip was an adventure.
I wrote a MIDI driver once, and that required dividing a 1MHz external clock, to get the 62.5KHz (I think) serial clock (you couldn’t divide the internal clock).
Their chip had 8 control lines, with each line controlling some aspect of the chip operation. They set it up as the lower 8 bits of the 16-bit address bus, with the upper 8 bits fixed (so you were working with 256 addresses, to control the chip).
So just referencing an address would change the state of the chip.
A lot of hardware limitations influenced software structure, and I’ll bet that a lot of software proclivities have their genesis in weird hardware compromises (like bytes).