Skip to the content
2 layers235 × 137.5 mmTTY Clock, the printed circuit board in 3D

Homebrew TTL ISA-compatible PDP-9 clone

Size
235 × 137.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
120
Nets
286
Pads
994
Tracks, vias
4,213, 90
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
18 Apr 2025
Updated
6 Oct 2026

Overview

TTY Clock is an open-source printed circuit board by tergav17, from the tergav17/RDP-9 repository on GitHub. It is a 2-layer board of 235 × 137.5 mm with 120 parts on 286 nets, routed with 4,213 tracks and 90 vias.

It is built around the 74LS240DC, MAX232N and 74LS32SC, with the 74LS74PC, 74LS169PC and 74LS02PC among its other parts. Its parts include 43 capacitors, 37 ICs, 19 resistors, 6 connectors and 6 switches. It belongs with the lEDs and displays boards of this library.

Main components

10

README

README.md

RDP-9

Project Description

This project aims to build an ISA-compatible clone of the DEC PDP-9 system using primarily technology from the late 1970s - early 1980s period. I did this to ensure my design followed the same constraints that later genuine minicomputer systems were built with, while being able to significantly reduce the size and complexity compared to an actual PDP-9. The specifics are as follows

  • Use only 74-series logic and other similar TTL logic level parts that would be available around the later 1970s timeframe. The exception to this is RAM, which I plan to use more “modern” SRAM chips instead of torturing myself with dynamic RAM.
  • No FPGAs, PALs, GALs, microcontrollers, etc in the main processor path. The only exception to this is using standard 27C style ROM chips to hold the microcode.
  • Usage of a period correct microcontroller or microprocessor for the disk / drum subsystem. Using another simpler processor to control complex devices like disks was done frequently on other minicomputer designs, so I’ll be doing it here too.

My end goal is to build a system that is capable of running most of the interesting software of the period. This includes DECsys, ADSS, DOS-15, and UNIX V0. To do this, the system will need:

  • Full compatibility with the PDP-9 instruction set. This includes EAE instructions and extended memory
  • The ability to hook up to a real or emulated paper tape punch / reader.
  • The ability to hook up to a real or emulated ASR-33 teletype or similar serial terminal
  • 8" floppy drive interface in place of DECtape. Software will require patching but it's better than trying to emulate DECtape
  • IDE hard drive support using RB09/RF09 interface

Theory of Operation

Due to the complexity involved with the architecture of the DEC PDP-9, the system is split into two subsystems:

The first subsystem is the processor itself. It has a full 18-bit datapath with 15-bit address bus, and is implemented entirely using TTL logic.

The second subsystem is the I/O bus. This is directly controlled by the processor itself and is capable of servicing the following operations:

  • Device interrupts
  • IOT transactions
  • Add-to-memory operations
  • Data channel transfers
  • DMA transfers
  • READ-IN operation

Device Interrupts

Device interrupts simply tell the processor to begin an interrupt operation. When an interrupt is accepted, the I/O bus will be notified of the action and is responsible for turning off the "Program Interrupt" flag. If this does not happen, interrupts will continuously loop.

Steps:
  1. Interrupt is accepted. MA is completely zeroed and the "INTERRUPT_DETECT" pulse is asserted for this clock cycle.

  2. PC is stored in MB, OB

  3. The logical OR of MB and OB is place in CORE at MA. The crossbar will add the LINK and MEMM flags

  4. MA + 1 is placed in the PC. Extend is enabled to ensure that bank 0 is selected. The next fetch will ignore device requests

IOT Transactions

IOT transactions allow data to be transferred to or from the accumulator. IOTs also allow for skips to be requested. Every IOT is treated by the CPU as a Read-Modify-Write operation. By using the "EXTRN" signal, devices can notify the processor to read from the I/O bus instead of the writeback register. When the I/O bus is being sampled, the "IOT_SKIP" signal can be asserted to tell the processor to perform an addition increment of the program counter.

A wait signal is sampled at the beginning of the IOT as well. This can be used to add cycles to the writeback phase of the IOT if the device needs it.

Steps:
  1. IOT transaction begins. Device address is placed on the I/O address bus. AC (or 0 if the flag is set) is written to the WRTBK register.

  2. Signal "IOT_PULSE" is asserted.

  3. Signal "IOT_PULSE" remains asserted. External input is sampled into MB. Signal "EXTRN" must be asserted to take value from device bus.

  4. IF "IOT_WAIT" is asserted, goto step 3 in place. No IOT signals are asserted. Interally, the CPU is performing the logical OR and writeback of potential provided data.

  5. No IOT signals are asserted. Internally, the CPU will perform the skip here if it has been requested. The next fetch cycle will ignore interrupts and device requests.

Device Requests

The final three transaction types (Add-to-memory, data-channels, and DMA transfers all share the "device request" pathway.

Steps:
  1. Signal "REQ_ADDR_PHASE" and "DEV_REQ_GRANT" asserted and held. External value written to MA.

  2. If DMA is selected, core is read at MA and written to WRTBK with next as step 8. Otherwise core is read at MA and written to MB, OB. "REQ_ADDR_PHASE" held

  3. Value in MB, OB incremented and written back to core at MA and OB. "REQ_ADDR_PHASE" held

  4. Value in MA incremented. If add to memory selected, Jump to fetch without device request logic. "INCREMENT_ZERO_PUSLE" will be generated if needed. "REQ_ADDR_PHASE" held

  5. Core is read at MA and written to MB, OB.

  6. Value in MB, OB incremented and written back to core at MA and MA

  7. Core is read at MA and written to WRTBK

  8. External value written to core at MA. "DEV_REQ_GRANT" reset. Jump to fetch without device request logic

READ-IN Operation

The read-in is used to transfer a set series of words into memory from one of the I/O devices. Only one I/O device can be be allowed to respond to READ-IN at any one time. When a READ-IN transaction is active, the CPU will stall until the designated device signals that it is ready. The device will either signal the CPU to commence another READ-IN cycle, or to terminate the READ-IN after any given transfer.

Steps:
  1. SWR is moved into PC

  2. "READ_IN_PULSE" is asserted, step will loop till either "IOT_WAIT" or "IOT_SKIP" are asserted.

  3. "READ_IN_PULSE" remains asserted. EXTRN is moved into core at PC. Continue having the constant value asserted.

  4. "READ_IN_PULSE" reset. If "IOT_SKIP" is asserted, jump to CONT logic. Otherwise move PC + 1 into PC

  5. Null phase, "READ_IN_PULSE" remains reset.

  6. Null phase, "READ_IN_PULSE" remains reset. Jump to step 2 on completion

Parts

120
QtyValueFootprintReferences
380.1uFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25 +22
194.7KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2, R3, R4, R5, R6, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19 +3
774LS32Package_DIP:DIP-14_W7.62mmU1, U6, U12, U13, U23, U25, U29
574LS74Package_DIP:DIP-14_W7.62mmU15, U17, U21, U30, U31
41.0 uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC1, C2, C3, C4
44.7KResistor_THT:R_Array_SIP9RN1, RN2, RN3, RN4
474LS169Package_DIP:DIP-16_W7.62mmU16, U19, U24, U26
374LS240Package_DIP:DIP-20_W7.62mmU4, U7, U14
274LS02Package_DIP:DIP-14_W7.62mmU5, U20
274LS06Package_DIP:DIP-14_W7.62mmU10, U36
274LS08Package_DIP:DIP-14_W7.62mmU3, U37
274LS138Package_DIP:DIP-16_W7.62mmU8, U9
274LS151Package_DIP:DIP-16_W7.62mmU27, U28
274LS244Package_DIP:DIP-20_W7.62mmU18, U22
2TR1863Package_DIP:DIP-40_W15.24mmU32, U33
1100 uFCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC42
12.4576 Mhz OscillatorOscillator:Oscillator_DIP-14X1
174LS00Package_DIP:DIP-14_W7.62mmU11
174LS04Package_DIP:DIP-14_W7.62mmU2
174LS257Package_DIP:DIP-16_W7.62mmU34
1Custom ClockConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_HorizontalJ2
1I/O ConnectorConnector_DIN:DIN41612_B_2x32_Male_Horizontal_THTJ1
1IORS 0 SettingsButton_Switch_THT:SW_DIP_SPSTx08_Slide_9.78x22.5mm_W7.62mm_P2.54mmSW1
1IORS 1 SettingsButton_Switch_THT:SW_DIP_SPSTx08_Slide_9.78x22.5mm_W7.62mm_P2.54mmSW2
1IORS 2 SettingsButton_Switch_THT:SW_DIP_SPSTx08_Slide_9.78x22.5mm_W7.62mm_P2.54mmSW3
1IORS 3 SettingsButton_Switch_THT:SW_DIP_SPSTx08_Slide_9.78x22.5mm_W7.62mm_P2.54mmSW4
1MAX232Package_DIP:DIP-16_W7.62mmU35
1RECV1 INTConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJP4
1RS232 Serial 0Connector_IDC:IDC-Header_2x05_P2.54mm_HorizontalJ5
1RS232 Serial 1Connector_IDC:IDC-Header_2x05_P2.54mm_HorizontalJ6
1RX0 SelectConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJP1
1RX1 SelectConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJP2
1TRNS1 INTConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJP3
1TTL Serial 0Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_HorizontalJ3
1TTL Serial 1Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_HorizontalJ4
1UART 0 SettingsButton_Switch_THT:SW_DIP_SPSTx08_Slide_9.78x22.5mm_W7.62mm_P2.54mmSW5
1UART 1 SettingsButton_Switch_THT:SW_DIP_SPSTx08_Slide_9.78x22.5mm_W7.62mm_P2.54mmSW6

More from tergav17/RDP-9

7
  • 2 layers200 × 321.3 mmBackplane, the printed circuit board in 3D

    Backplane

    tergav17/RDP-9

    Homebrew TTL ISA-compatible PDP-9 clone

    137 parts6
  • 2 layers204.5 × 107.3 mmFront Panel Register, the printed circuit board in 3D

    Front Panel Register

    tergav17/RDP-9

    Homebrew TTL ISA-compatible PDP-9 clone

    131 parts6
  • 2 layers170.2 × 107.3 mmFront Panel Address, the printed circuit board in 3D

    Front Panel Address

    tergav17/RDP-9

    Homebrew TTL ISA-compatible PDP-9 clone

    108 parts6
  • 2 layers206.4 × 137.5 mmALU, the printed circuit board in 3D

    ALU

    tergav17/RDP-9

    Homebrew TTL ISA-compatible PDP-9 clone

    83 parts6
  • 2 layers206.4 × 137.5 mmControl, the printed circuit board in 3D

    Control

    tergav17/RDP-9

    Homebrew TTL ISA-compatible PDP-9 clone

    67 parts6
  • 2 layers206.4 × 137.5 mmMemory, the printed circuit board in 3D

    Memory

    tergav17/RDP-9

    Homebrew TTL ISA-compatible PDP-9 clone

    61 parts6
  • 2 layers206.4 × 137.5 mmRegisters, the printed circuit board in 3D

    Registers

    tergav17/RDP-9

    Homebrew TTL ISA-compatible PDP-9 clone

    59 parts6

Similar boards

  • 2 layers244 × 244 mm6809PC-6U, the printed circuit board in 3D

    6809PC-6U

    danwerner21/6809PC

    6809 PC

    167 parts2
  • 2 layers400.9 × 280.5 mmAleste520v4, the printed circuit board in 3D

    Aleste520v4

    lucedoriente/Aleste520ex

    Western version of 1993 Z80 russian computer

    345 parts4GPL-3.0
  • 4 layers298.9 × 270 mmDino v0 0 2, the printed circuit board in 3D

    Dino v0 0 2

    robertrico/dino-homebrew

    A perfboard with the bus edge and the slot decode every DINO card repeats. Plug it into any of J1-J8 on the Rev 1.0 mainboard, pick the slot with one shunt, bodge the card on the grid.

    239 parts
  • 2 layers364 × 203 mmCPU6S, the printed circuit board in 3D

    CPU6S

    Meisaka/CenMiniCom

    Centurion Minicomputer Schematics

    240 parts8
  • 4 layers337.6 × 105.7 mmISA CGA, the printed circuit board in 3D

    ISA CGA

    hkzlab/CGA_Redux

    The Color Graphics Adapter Redux board is a more or less faithful clone of the original IBM CGA, based on the original schematics

    170 parts56
  • 4 layers254 × 137.7 mmS100 ColorMagic-1.1-006, the printed circuit board in 3D

    S100 ColorMagic-1.1-006

    RichCini/LomasBoards

    Small repository of files/data related to Lomas Data Products S-100 boards.

    150 parts1
  • 2 layers486 × 306.3 mmMonacoGP, the printed circuit board in 3D

    MonacoGP

    stonedDiscord/MonacoGP

    Sega MonacoGP TTL Boards

    257 parts1
  • 2 layers630 × 300 mmSecretBase, the printed circuit board in 3D

    SecretBase

    stonedDiscord/SecretBase

    SEGA Secret Base Arcade Game

    441 parts

Questions

How big is the TTY Clock PCB?

It measures 235 × 137.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the TTY Clock use?

120 parts, built around the 74LS240DC, MAX232N, 74LS32SC and 74LS74PC. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the TTY Clock KiCad files?

From the tergav17/RDP-9 repository on GitHub, at the commit this page was made from: the board is kicad/TTY Clock/TTY Clock.kicad_pcb and its schematic kicad/ALU/ALU.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the TTY Clock design in my own project?

Its repository states no licence, so its author keeps all rights: ask tergav17 before reusing the design.