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 14, 2025
1 parent c345175 commit 1643a79
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 13 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
11 changes: 5 additions & 6 deletions build/arpanet/imp6.simh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ do impcode.simh

set mi1 enabled
set hi1 enabled
;set hi4 enabled
set hi2 enabled
set hi1 debug
set hi2 debug

attach -u mi1 4421::4431
attach -u hi1 22001:localhost:22002
;attach -u hi1 22003:localhost:22004
;attach -u hi4 22001:localhost:22002
set hi1 short
;set hi4 short
attach -u hi1 22003:localhost:22004
attach -u hi2 22001:localhost:22002
set hi2 convert

go
6 changes: 4 additions & 2 deletions build/pdp10-ka/start
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,14 @@ simh_imlac() {

chaosnet() {
(sleep 2; tools/cbridge/cbridge -c build/cbridge.conf >cbridge.log 2>&1) &
started "Chaosnet bridge" "$!"
started "Chaosnet_bridge" "$!"
}

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

help() {
Expand Down
6 changes: 4 additions & 2 deletions build/pdp10-kl/start
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ tek() {

chaosnet() {
(sleep 2; tools/cbridge/cbridge -c build/cbridge.conf >cbridge.log 2>&1) &
started "Chaosnet bridge" "$!"
started "Chaosnet_bridge" "$!"
}

arpanet() {
(sleep 2; cd build/arpanet; ../../tools/simh/BIN/h316 imp6.simh >imp6.log 2>&1) &
started "Arpanet IMP" "$!"
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 0b34c7

0 comments on commit 1643a79

Please sign in to comment.