diff --git a/README.md b/README.md index ec81851..9dde802 100644 --- a/README.md +++ b/README.md @@ -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/) 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 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 * /build is an area to build the kernel & filesystem and run them * /misc holds miscellaneous notes and information -* /pdp7parse holds a Java parser for pdp7 source code ## Travis Status diff --git a/build/Makefile b/build/Makefile index 288e0f3..ad09828 100644 --- a/build/Makefile +++ b/build/Makefile @@ -12,11 +12,12 @@ OTHERSRC=../src/other TESTSRC=../src/tests BINDIR=../bin TESTDIR=../tests +IMAGEFILE=image.fs -all: cmd others a.rim image.fs +all: cmd others a.rim image # Manually make all before make run -run: +run: clean all pdp7 unixv0.simh a.rim: @@ -27,12 +28,12 @@ coldboot: $(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 -image.fs: +image: $(MKFS) --format simh proto - $(FSCK) image.fs - + $(FSCK) $(IMAGEFILE) + clean: - rm -f a.rim image.fs a.lst n.out + rm -f a.rim $(IMAGEFILE) a.lst n.out rm -rf $(BINDIR) rm -rr $(TESTDIR)