[pups] Help! Standalone DZ-11 driver

Warren Toomey wkt at henry.cs.adfa.edu.au
Mon Jan 29 11:24:43 AEST 2001


Hi all,
	I'm working on a new version of my Vtserver, which allows a PDP-11
with no tape drive to boot from a Unix/Linux server (via serial cable) and
install a UNIX. See ftp://minnie.cs.adfa.edu.au/pub/PDP-11/Vtserver

At present I'm working on a new version which uses the 2.11BSD boot code
so as to support more disk drives. The work in progress is at:
http://minnie.cs.adfa.edu.au/Vtserver. At present it's not usable
unless you have a PDP-11/45.

I've got a potential user with an 11/34, two RK05s and a DZ-11. I can't
find any details of DZ-11 here in my peripherals handbooks, and the 2.11
kernel drivers are a bit too complicated to read.

My existing KL-11 driver is below. Can someone come up with a standalone
equivalent for a DZ-11, or point me at some docs?

I'll be away from 1st to 14th Feb, so there may be some delays in
responding.

Thanks all,
	Warren


struct  vtdevice  {
        int     rcsr,rbuf;
        int     tcsr,tbuf;
};

#define NVT     2
struct  vtdevice *VTcsr[NVT + 1] = {
                (struct vtdevice *)0176500,     /* We use VTcsr[0] unit 1 */
                (struct vtdevice *)0,
                (struct vtdevice *)-1
};

/* Get a character, or timeout and return with hitim zero */
char vtgetc()
{   
        register c;
    
        VTcsr[0]->rcsr = 1; hitim=3; lotim=65535;
  
        while ((VTcsr[0]->rcsr&0200)==0) {
           lotim--;
           if (lotim==0) hitim--;
           if (hitim==0) { putchar('t'); return(0); }
        }
        c = VTcsr[0]->rbuf; return(c);
}

vtputc(c)
register c;
{
        register s;

        while((VTcsr[0]->tcsr&0200) == 0) ;
        s = VTcsr[0]->tcsr;
        VTcsr[0]->tcsr = 0; VTcsr[0]->tbuf = c; VTcsr[0]->tcsr = s;
}

Received: (from major at localhost)
	by minnie.cs.adfa.edu.au (8.9.3/8.9.3) id BAA15283
	for pups-liszt; Tue, 30 Jan 2001 01:14:40 +1100 (EST)
	(envelope-from owner-pups at minnie.cs.adfa.edu.au)


More information about the TUHS mailing list