Here is the C program: https://www.ioccc.org/2018/mills/prog.c
It is a PDP-7 emulator that can boot the most ancient known snapshot of Unix. This is running Unix from 1969 where the compiler is 'bc' (no 'cc' yet)
then, he wrote a PDP-11 emulator in PDP-7 assembly and uses the PDP-7 to emulate a PDP-11 to boot BSD 2.9.
If you are using an xterm, you might try using "xterm -hold".
It seems that the termios structure is getting (re)set with some invalid values and some systems (one report from NetBSD) cause the terminal / shell to abort. We are figuring out how to do an update to fix this issue.
We are in the strange situation with these emulators that all code ever written can be executed today, no problem. Have some Fortran-II code for the IBM 1401? No problem. Want to run some Analytical Engine code (a machine that couldn't even be constructed)? No problem:
Eh the new consoles use x86 pc parts. The xbone even runs a windows kernel. It would be less emulation and more just figuring out the supporting software. This is also the case with the original xbox. It's been hard to get working because it uses proprietary nvidia drivers and some weird version of windows 2000.
Way back in the early 80's when I was in high school I had an off campus class where I took a course on PDP-11 assembly language. Sadly we had to run our code in a PDP-11 emulator on a DEC System 10 and it was incredibly slow but I do remember how much I liked the PDP-11 instruction set. I wish I had kept the book from the class.
The short version is we have gone so far back in the history of UNIX that we don’t have filesystem paths yet.
Incidentally, the same was true of MS-DOS: no paths in version 1, only drive letters; directories and paths were introduced in version 2. However, early UNIX doesn't seem to have drive letters...
29 comments
[ 0.25 ms ] story [ 49.8 ms ] thread[ Submitted as news: https://news.ycombinator.com/item?id=18764925 ]
https://www.ioccc.org/2018/mills/
If you are using an xterm, you might try using "xterm -hold".
It seems that the termios structure is getting (re)set with some invalid values and some systems (one report from NetBSD) cause the terminal / shell to abort. We are figuring out how to do an update to fix this issue.
+A recursively structured arrangement of Turing Machines.
Make sure to view it on a sufficiently wide browser to see the ASCII art of a torn piece of punched paper tape.
https://www.fourmilab.ch/babbage/emulator.html
Can you really say that this early code is obsolete? I think not, it's just different.
http://bitsavers.informatik.uni-stuttgart.de/pdf/dec/pdp11/1...
Incidentally, the same was true of MS-DOS: no paths in version 1, only drive letters; directories and paths were introduced in version 2. However, early UNIX doesn't seem to have drive letters...
Details are at: https://nickjanetakis.com/blog/run-the-first-edition-of-unix...