[TUHS] 2.9bsd with networking on 18-bit possible?
pnr at planet.nl
Sat Dec 15 11:54:49 AEST 2018
> The journey is documented here:
> The network code is in a different tree, I'll move it over to the above tree over the weekend.
Posted the network bit in the online repo; it's in the v6net directory.
Also fixed the instability - it is quite satisfying to login to v6 from a 'nc' client on modern hardware.
However, I also found that the BBN code from November 1981 is what is says on the can: beta.
I'll move to the October 1982 code when I find some time.
PS, this is the 'server' that nc connects to:
#define unchar unsigned char
#define netaddr unsigned long
unsigned long ip;
ip = w;
ip = (ip<<8)|x;
ip = (ip<<8)|y;
ip = (ip<<8)|z;
struct con con;
execl("/bin/sh", "[net-sh]", 0);
int i, n, sd;
con.c_mode = CONTCP;
con.c_fcon = ipaddr(192,168,1,114);
con.c_lcon = ipaddr(172,16,0,2);
con.c_fport = 0;
con.c_lport = 4000;
sd = open("/net", &con);
More information about the TUHS