Skip to content

Commit

Permalink
Test with "Linux NCP" as host 6.
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbrinkhoff committed Jan 26, 2025
1 parent dfcf391 commit 579fbc1
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@
[submodule "tools/chaosnet-tools"]
path = tools/chaosnet-tools
url = https://github.com/Chaosnet/chaosnet-tools
[submodule "tools/ncp"]
path = tools/ncp
url = https://github.com/larsbrinkhoff/linux-ncp
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ BINIGNORE=-e '^(ka10|kl10|ks10|minsys)$$'
SRCIGNORE=-e '^(system|midas)$$'

SUBMODULES = dasm itstar klh10 mldev simh sims supdup cbridge \
tapeutils tv11 pdp6 vt05 tek4010 chaosnet-tools
tapeutils tv11 pdp6 vt05 tek4010 chaosnet-tools ncp

# These files are used to create bootable tape images.
RAM = bin/ks10/boot/ram.262
Expand All @@ -106,6 +106,7 @@ VT52=tools/vt05/vt52
TEK=tools/tek4010/tek4010
SIMH_IMLAC=tools/simh/BIN/imlac $(OUT)/ssv22.iml
IMP=tools/simh/BIN/h316
NCPD=tools/ncp/src/ncpd

H3TEXT=$(shell cd build; ls h3text.*)
NAMES=$(shell cd build; ls names.*)
Expand Down Expand Up @@ -157,15 +158,15 @@ out/pdp10-ka/stamp/its: $(OUT)/rp03.2 $(OUT)/rp03.3
$(MKDIR) $(OUT)/stamp
$(TOUCH) $@

out/pdp10-ka/stamp/emulators: $(GT40) $(TV11) $(XGP11) $(PDP6) $(DATAPOINT) $(VT52) $(TEK) $(SIMH_IMLAC) $(IMP)
out/pdp10-ka/stamp/emulators: $(GT40) $(TV11) $(XGP11) $(PDP6) $(DATAPOINT) $(VT52) $(TEK) $(SIMH_IMLAC) $(IMP) $(NCPD)
$(MKDIR) $(OUT)/stamp
$(TOUCH) $@

out/pdp10-kl/stamp/its: $(OUT)/rp04.1
$(MKDIR) $(OUT)/stamp
$(TOUCH) $@

out/pdp10-kl/stamp/emulators: $(VT52) $(TEK) $(IMP)
out/pdp10-kl/stamp/emulators: $(VT52) $(TEK) $(IMP) $(NCPD)
$(MKDIR) $(OUT)/stamp
$(TOUCH) $@

Expand Down Expand Up @@ -444,6 +445,10 @@ $(TEK): tek-hack
$(IMP):
$(MAKE) -C tools/simh h316

$(NCPD):
$(MAKE) -C tools/ncp/src
$(MAKE) -C tools/ncp/apps

tools/supdup/supdup:
$(MAKE) -C tools/supdup

Expand Down
2 changes: 2 additions & 0 deletions build/arpanet/imp6.simh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ set mi1 enabled
set hi1 enabled
set hi2 enabled
set hi1 debug
set hi2 debug

attach -u mi1 4421::4431
attach -u hi1 33003:localhost:33004
attach -u hi2 33001:localhost:33002
set hi2 convert

Expand Down
2 changes: 2 additions & 0 deletions build/pdp10-ka/start
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ arpanet() {

(sleep 2; cd build/arpanet; ../../tools/simh/BIN/h316 imp6.simh >imp6.log 2>&1) &
started "Arpanet IMP" "$!"
(sleep 5; NCP=ncp006 ../linux-ncp/src/ncpd localhost 33003 33004 2>ncp006.log) &
started "Linux NCP" "$!"
}

help() {
Expand Down
2 changes: 2 additions & 0 deletions build/pdp10-kl/start
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ chaosnet() {
arpanet() {
(sleep 2; cd build/arpanet; ../../tools/simh/BIN/h316 imp6.simh >imp6.log 2>&1) &
started "Arpanet IMP" "$!"
(sleep 5; NCP=ncp006 ../linux-ncp/src/ncpd localhost 22003 22004 2>ncp006.log) &
started "Linux NCP" "$!"
}

help() {
Expand Down
1 change: 1 addition & 0 deletions tools/ncp
Submodule ncp added at 6b31aa

0 comments on commit 579fbc1

Please sign in to comment.