mirror of
https://github.com/PDP-10/its.git
synced 2026-05-01 22:16:35 +00:00
Build SIMH out of GitHub.
This fixes handling of 1-proceed in SIMH.
This commit is contained in:
committed by
Eric Swenson
parent
74161955a6
commit
596237d05e
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,6 +1,6 @@
|
|||||||
*~
|
*~
|
||||||
/out
|
/out
|
||||||
/start
|
/start
|
||||||
/build/klh10/stamp
|
/build/*/stamp
|
||||||
/src/system/config.*
|
/src/system/config.*
|
||||||
/user/*/*
|
/user/*/*
|
||||||
|
|||||||
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -10,3 +10,6 @@
|
|||||||
[submodule "tools/klh10"]
|
[submodule "tools/klh10"]
|
||||||
path = tools/klh10
|
path = tools/klh10
|
||||||
url = https://github.com/PDP-10/klh10
|
url = https://github.com/PDP-10/klh10
|
||||||
|
[submodule "tools/simh"]
|
||||||
|
path = tools/simh
|
||||||
|
url = https://github.com/simh/simh
|
||||||
|
|||||||
13
Makefile
13
Makefile
@@ -17,13 +17,14 @@ NSALV = bin/boot/salv.rp06
|
|||||||
DSKDMP = bin/boot/dskdmp.rp06
|
DSKDMP = bin/boot/dskdmp.rp06
|
||||||
|
|
||||||
KLH10=${PWD}/tools/klh10/tmp/bld-ks-its/kn10-ks-its
|
KLH10=${PWD}/tools/klh10/tmp/bld-ks-its/kn10-ks-its
|
||||||
|
SIMH=${PWD}/tools/simh/BIN/pdp10
|
||||||
ITSTAR=${PWD}/tools/itstar/itstar
|
ITSTAR=${PWD}/tools/itstar/itstar
|
||||||
WRITETAPE=${PWD}/tools/tapeutils/tapewrite
|
WRITETAPE=${PWD}/tools/tapeutils/tapewrite
|
||||||
|
|
||||||
all: out/rp0.dsk
|
all: out/rp0.dsk
|
||||||
|
|
||||||
out/rp0.dsk: build/simh/init out/minsys.tape out/salv.tape out/dskdmp.tape build/build.tcl out/sources.tape build/$(EMULATOR)/stamp
|
out/rp0.dsk: build/simh/init out/minsys.tape out/salv.tape out/dskdmp.tape build/build.tcl out/sources.tape build/$(EMULATOR)/stamp
|
||||||
expect -f build/$(EMULATOR)/build.tcl
|
PATH=${PWD}/tools/simh/BIN:$$PATH expect -f build/$(EMULATOR)/build.tcl
|
||||||
|
|
||||||
out/minsys.tape: $(ITSTAR)
|
out/minsys.tape: $(ITSTAR)
|
||||||
mkdir -p out
|
mkdir -p out
|
||||||
@@ -53,7 +54,10 @@ build/$(EMULATOR)/stamp: start
|
|||||||
start: build/$(EMULATOR)/start
|
start: build/$(EMULATOR)/start
|
||||||
ln -s $< $*
|
ln -s $< $*
|
||||||
|
|
||||||
build/klh10/stamp: $(KLH10) start
|
build/klh10/stamp: $(KLH10)
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
build/simh/stamp: $(SIMH)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(KLH10):
|
$(KLH10):
|
||||||
@@ -66,6 +70,9 @@ $(KLH10):
|
|||||||
make base-ks-its; \
|
make base-ks-its; \
|
||||||
make -C bld-ks-its install
|
make -C bld-ks-its install
|
||||||
|
|
||||||
|
$(SIMH):
|
||||||
|
cd tools/simh; make pdp10
|
||||||
|
|
||||||
$(ITSTAR):
|
$(ITSTAR):
|
||||||
cd tools/itstar; make
|
cd tools/itstar; make
|
||||||
|
|
||||||
@@ -73,4 +80,4 @@ $(WRITETAPE):
|
|||||||
cd tools/tapeutils; make
|
cd tools/tapeutils; make
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf out start
|
rm -rf out start build/*/stamp
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -37,12 +37,10 @@ we'd be delighted to test this on a real KS10.
|
|||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
To build ITS with this repository, you need some tools installed:
|
To build ITS with this repository, you need some tools installed:
|
||||||
make, C compiler, and expect. Also, if you plan to use the SIMH
|
make, C compiler, and expect. Ensure all submodules are checked out,
|
||||||
emulator, it needs to be installed and accessible as `pdp10`. The
|
and then type `make EMULATOR=simh` or `make EMULATOR=klh10`. This
|
||||||
KLH10 emulator is built from source code. Ensure all submodules are
|
will leave built files in the `out` directory, one of which is a disk
|
||||||
checked out, and then type `make EMULATOR=simh` or `make
|
image with ITS installed.
|
||||||
EMULATOR=klh10`. This will leave built files in the `out` directory,
|
|
||||||
one of which is a disk image with ITS installed.
|
|
||||||
|
|
||||||
To start ITS, type `./start`. If you see `KLH10#`, type `go` and
|
To start ITS, type `./start`. If you see `KLH10#`, type `go` and
|
||||||
Enter. When you see the `DSKDMP` prompt, type `its`, press Enter, and
|
Enter. When you see the `DSKDMP` prompt, type `its`, press Enter, and
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
For now, install SIMH separately.
|
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
pdp10 build/simh/boot
|
tools/simh/BIN/pdp10 build/simh/boot
|
||||||
|
|||||||
1
tools/simh
Submodule
1
tools/simh
Submodule
Submodule tools/simh added at d8dbc7e6b5
Reference in New Issue
Block a user