I've restructured the alternative version of PDP-7 Unix so that the

source code is now in src/alt. All the files in src/sys and src/cmd
are only annotated versions of the files in scans/.
The build/Makefile has been updated so that it can build the
original PDP-7 Unix or the alternative version.
Phil has fixed the Graphics-2 code, so that there is no need to
have any #ifdef code in the original kernel.
This commit is contained in:
Warren Toomey
2016-03-21 16:01:36 +10:00
parent f63ad33d10
commit 94fd5d49e0
9 changed files with 22 additions and 162 deletions
+47
View File
@@ -0,0 +1,47 @@
# Alternative prototype file for PDP-7 Unix filesystem layout
#
# This one has . and .. but no dd directory entries
#
# Entries are one of:
# filename f[r-][w-][r-][w-] uid local_file_to_insert
# dirname d[r-][w-][r-][w-] uid [inumber]
# device i[r-][w-][r-][w-] uid inumber
# link l---- inumber
#
# The top directory's name is ignored
# Numeric values are in decimal
# Contents of each directory ends with a $ on a line by itself
# Format was inspired by 6th Edition mkfs
#
/ drwr- -1 2
system drwr- -1 3
ttyin irwr- -1 6
keyboard irwr- -1 7
pptin irwr- -1 8
ttyout irwr- -1 11
display irwr- -1 12
pptout irwr- -1 13
as frwr- -1 bin/as
cat frwr- -1 bin/cat
chmod frwr- -1 bin/chmod
chown frwr- -1 bin/chown
chrm frwr- -1 bin/altchrm
cp frwr- -1 bin/cp
date frwr- -1 bin/date
ds frwr- -1 bin/ds
ed frwr- -1 bin/ed
init frwr- -1 bin/altinit
ln frwr- -1 bin/ln
ls frwr- -1 bin/altls
mv frwr- -1 bin/mv
password frw-- -1 fs/password
sh frwr- -1 bin/sh
stat frwr- -1 bin/stat
$
ken drwr- 10
system l---- 3
hello frwr- 10 fs/hello
$
dmr drwr- 12
system l---- 3
$
+12
View File
@@ -0,0 +1,12 @@
set cpu 8k
set cpu eae
set cpu history=100
show cpu
set tti unix
set rb ena
att rb alt/image.fs
show dev
load -S alt/a.rim
dep pc 0100