This commit is contained in:
Tom Everett
2016-03-19 19:00:31 -06:00
parent 3456d6517e
commit 38dcd9256e
2 changed files with 20 additions and 7 deletions
+13 -1
View File
@@ -25,6 +25,19 @@ system fully up on a PDP-7 system, fix any bugs and document everything.
We have a [real PDP-7](http://physics.uoregon.edu/outreach/movies/pdplives/) We have a [real PDP-7](http://physics.uoregon.edu/outreach/movies/pdplives/)
and [SimH](http://simh.trailing-edge.com/) as target platforms. and [SimH](http://simh.trailing-edge.com/) as target platforms.
## Running pdp7-unix
You will need [simh](http://simh.trailing-edge.com/) 4.0 to run pdp7-unix. You can get the source code [here](https://github.com/simh/simh). To compile it:
`make pdp7`
to run pdp-unix from the pdp7-unix source tree
`make run`
Press `ctl-e` to break out the simulator into simh
## Source Tree ## Source Tree
The code in the original scans are (c) Novell who own the rights to the Unix The code in the original scans are (c) Novell who own the rights to the Unix
@@ -37,7 +50,6 @@ source code. Everything that didn't come from the scanned files is GPLv3.
* /tools holds the source for the tools written to assist the project * /tools holds the source for the tools written to assist the project
* /build is an area to build the kernel & filesystem and run them * /build is an area to build the kernel & filesystem and run them
* /misc holds miscellaneous notes and information * /misc holds miscellaneous notes and information
* /pdp7parse holds a Java parser for pdp7 source code
## Travis Status ## Travis Status
+6 -5
View File
@@ -12,11 +12,12 @@ OTHERSRC=../src/other
TESTSRC=../src/tests TESTSRC=../src/tests
BINDIR=../bin BINDIR=../bin
TESTDIR=../tests TESTDIR=../tests
IMAGEFILE=image.fs
all: cmd others a.rim image.fs all: cmd others a.rim image
# Manually make all before make run # Manually make all before make run
run: run: clean all
pdp7 unixv0.simh pdp7 unixv0.simh
a.rim: a.rim:
@@ -27,12 +28,12 @@ coldboot:
$(AS) -f rim -o a.rim $(SYSSRC)/sop.s $(SYSSRC)/s[1-9].s $(AS) -f rim -o a.rim $(SYSSRC)/sop.s $(SYSSRC)/s[1-9].s
$(AS) -n -f list -o a.lst $(SYSSRC)/sop.s $(SYSSRC)/s[1-9].s $(AS) -n -f list -o a.lst $(SYSSRC)/sop.s $(SYSSRC)/s[1-9].s
image.fs: image:
$(MKFS) --format simh proto $(MKFS) --format simh proto
$(FSCK) image.fs $(FSCK) $(IMAGEFILE)
clean: clean:
rm -f a.rim image.fs a.lst n.out rm -f a.rim $(IMAGEFILE) a.lst n.out
rm -rf $(BINDIR) rm -rf $(BINDIR)
rm -rr $(TESTDIR) rm -rr $(TESTDIR)