Hacker GitHub

← All repos

DoctorWkt/pdp7-unix

View on GitHub ↗ ★ 536 Assembly

A project to resurrect Unix on the PDP-7 from a scan of the original assembly code

13 mentions on Hacker News by 11 people: 2 stories, 11 comments · first 2016-02-26 · latest 2026-09-28

Mentions per year 13 mentions · busiest year 2016 (3)
20082026
  1. …It even has moo, the bulls-and-cows number guessing game, a 1970 cousin of my HILO. PDP-7 Unix: https://github.com/DoctorWkt/pdp7-unix Recovered Unix documents: http://www.tuhs.org/Archive/Distributions/Research/McIlroy_v... Their as7 was…
  2. It's really easy to run for yourself: https://github.com/DoctorWkt/pdp7-unix/ Don't expect it to do much, but it's fascinating if you're interested in OS history.
  3. ▲ 3
    Did early Unix shells ever use `chd` command to change directories?
    story by damiaozi · 2025-07-14 · 1 comment
  4. …not require MMU, and that version of UNIX had been archeologied in a runnable form on GitHub[1] 1: https://github.com/DoctorWkt/pdp7-unix
    comment by numpad0 · 2023-08-25 · in Making NetBSD Multiboot-Compatible (2007)
  5. You can run the PDP-7 version and an early slightly frankenstein'ed PDP-11 version in simh: https://github.com/DoctorWkt/pdp7-unix https://github.com/DoctorWkt/unix-jun72
    comment by aap_ · 2023-02-16 · in Unix Edition Zero (1971)
  6. …although there could be some magic that makes the order different than it appears at first glance. https://github.com/DoctorWkt/pdp7-unix/blob/master/src/sys/s... It's all just guessing, but I figure the explanation is much simpler -- for…
    comment by spijdar · 2021-01-15 · in Apple M1 Assembly Language Hello World
  7. In fact, it predates C itself. See https://github.com/DoctorWkt/pdp7-unix/blob/9947fbf42bbb3c94...
    comment by beefhash · 2020-03-02 · in Fork() can fail: this is important (2014)
  8. …open() has read/write flag bits as now. I am leaning toward Pete_D's ‘pack directory’ idea. ¹ https://github.com/DoctorWkt/pdp7-unix/blob/e94417092a2980e7...
  9. https://github.com/DoctorWkt/pdp7-unix/blob/master/src/sys/N... I think ‘dotdot’ is what is called ‘dd’ there (the corresponding symbol in ls is still named ‘dd'). I don't think the concept of a parent directory existed yet. Maybe ‘pd’ is…
  10. …left the other 4k for a user process; every context switch was a swap! If you want to try it out: https://github.com/DoctorWkt/pdp7-unix
  11. …thanks to the incredible efforts of Warren Toomey and others at the Unix Heritage Society [2]. [0] https://github.com/DoctorWkt/pdp7-unix [1] https://github.com/DoctorWkt/unix-jun72 [2] http://www.tuhs.org
  12. https://github.com/DoctorWkt/pdp7-unix/issues/8
  13. ▲ 56
    A project to resurrect Unix on the PDP-7 from a scan of original assembly code
    story by fforflo · 2016-02-26 · 10 comments