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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user