This is the beginnings of a alternative version of the PDP-7 Unix

system which corresponds to a later development point, around mid-1971,
where the system had lost the "dd" directory and gained . and ..
entries. This is close to the system as described in
http://www.tuhs.org/Archive/PDP-11/Distributions/research/McIlroy_v0/UnixEditionZero.txt
except there are no pathnames.

To use this version: cd build; make alt; make altrun
This commit is contained in:
Warren Toomey
2016-03-21 14:28:50 +10:00
parent 098c8a9e28
commit f63ad33d10
9 changed files with 183 additions and 11 deletions
+6
View File
@@ -23,7 +23,9 @@ argloop:
jmp setlong
lac argptr " It wasn't -l, so save it as the dir to open
#ifndef NO_DD
dac 8f
#endif
dac 9f
skp
@@ -79,7 +81,11 @@ entryloop:
lac bufptr
dac statfile " Copy the pointer to the status call
lac statbufptr " Get the file's details into the statbuf
#ifdef NO_DD
sys status; statfile:0
#else
sys status; 8:curdir; statfile:0
#endif
spa
jms fileend