Commit Graph
1 Commits
Author SHA1 Message Date
dsh 1b849f127a hardware: a board level wiring table for the 74LS machine
ci / linux-arm64 (push) Successful in 4m42s
hardware/ttl-schematic.md turns the verified RTL into a wiring plan: signal names,
the chip list with what each part does, clock/reset/single step, the one byte per
instruction fetch (ip counter straight into a 27C512, D2..D0 into a 74LS138), the
data path (6116 plus a 74LS299 for the rotate, a 74LS86 for the flip), dp from
either two 161s or the mechanical encoder behind a jumper, the loop stack, the
microcode ROM, the 6850 and the panel, plus a bring up order that installs one
block at a time.

Two decisions folded in while writing it:

* the loop stack lives in the unused part of the 6116 instead of a 74LS670 pair.
  The stack has to hold 16 bit ip values and a 670 is four bits wide, so the
  discrete version is four pairs and eight chips; the 6116 has 1984 free bytes
  after the 64 cell ring, so one extra pointer and two accesses per push or pop
  buys a 496 deep stack and keeps ip width and stack width independent.
* halt needs LEN: four 74LS688 comparing ip against a 16 bit DIP switch.  That
  brings the board to about 34 chips, which the note now says.

Mechanical dp plugs into the same board: a 74LS244 puts the encoder on the DP bus
behind a jumper, the step pulses come from DP_UP/DP_DN, and a BUSY contact gates
the clock so the sequencer waits for the mechanism to arrive -- slower, not
different, because nothing in the ISA can observe time.
2026-11-24 18:08:26 +08:00