Running klh10 on a Raspberry Pi

Use the bld/lnxarm directory.

You will want working tun/tap support. Download tuntap.patch (by MMcM) and apply it.

TOPS-20 specifics


Cf. MRC's instructions. Edit the src/, lines 357-358 (in the base-kl target) to change




(It does not seem to be necessary to make the corresponding change to the base-ks-its target, but I may be confused. See also a post on alt.sys.pdp10.)

Set up the tap interface

Set up the addresses of the tap interface which will automatically be created by kn10-kl. This makes the TOPS-20 end have the address and the host (Raspberry) end have ..128.

devdef ni0 564 ni20 ipaddr= tunaddr=

For external access, you need to set up iptables and /proc/sys/net/ipv4/conf/$IFACE/forwarding to be 1, for $IFACE in {tap0,eth0}.

ITS specifics

I disabled the "host" device (commenting the call to clk_idle in hst_write), which idles the emulator when the ITS scheduler idles. With the host device active, I got terrible interactivity. Possibly you could instead do the corresponding to the TOPS-20 compilation fix?

You might want to install the Chaosnet interface (for fun).

I did have to change my startup script, since at boot time it does take significant time to get a DHCP address for the host system, and kn10-ks (with Chaosnet support) doesn't like to start until there is one.

© Björn Victor <>
Valid HTML 4.01! Valid CSS!
Senast ändrad: 21 juli 2015.