Running an LSI-11 from Unix V6
If one connects the LSI-11's serial line console to a serial line on the Unix V6 machine (either real or simulated), a program ('ttytalk', see below) exists to allow a user logged into the Unix machine to talk to the console, load programs into it, etc.
One issue is that Unix V6 does not allow 8-bit output on serial lines; this capability is needed to load binary files into the LSI-11. A small change to the shared serial line driver, dmr/tty.c, allows this.
Since the mode word in stty/gtty is already full, one has to extend the device interface to support setting and clearing 8-bit output support. One can either add ioctl() or do an upward-compatible extension to stty/gtty (see external link below); the code below takes the latter tack.
The same interface is used to send a BREAK down the serial line to the console (used to halt the machine, e.g. when it is in a tight loop).
The current code is somewhat inelegant, since the generic code to recognize the extended interface is currently in the serial line driver (dl.c), and not in the stty() system call code (since moving it there would mean adding entries in cdevsw, and it was desired to minimize the number of modules that were changed).
|v • d • ePDP-11 Computers and Peripherals|
| Unibus PDP-11s - PDP-11/20 • PDP-11/15 • PDP-11/35 • PDP-11/40 • PDP-11/45 • PDP-11/50 • PDP-11/55 • PDP-11/70 • PDP-11/05 • PDP-11/10 • PDP-11/34 • PDP-11/04 • PDP-11/44 • PDP-11/60 • PDP-11/24 • PDP-11/84 • PDP-11/94
Clones: CM 1420