Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Douglas A. Gwyn" <DAGwyn@null.net>
Subject: Re: DEC XY Display Simulator (Re: Alternate download site for SIMH sources)
Date: Fri, 26 Sep 2003 04:07:22 -0400	[thread overview]
Message-ID: <5Hmdnb47RrQobu6iXTWJjw@comcast.com> (raw)
In-Reply-To: <3F731A55.7080608@NelsonUSA.com>

Alan Frisbie wrote:
> I just can't reconcile these conflicting symptoms.

It would take some hands-on detective work to be sure,
but my first suspicion is that the interrupt section
isn't working, or that the vector conflicts with some
other device.  Also note that there is a large "hole"
of CSR space needed, not just a word or two.  (Maybe
128 words; I forget.)

We ran our VS60s exclusively under RT-11 (V3B SJ for
the most part); I wish I had kept a copy of the
software, but the part I developed belonged to my employer
so when I left I didn't take it with me, and did not have
the foresight to keep a copy of the rest.  We used to put
Lunar Lander on the flip side of the product floppy, also
my own port of ADVENT, as a freebie for our customers.

I don't recall whether or not Lunar Lander required any
patch for the VS60, but I would be inclined to think not;
it was almost entirely upward-compatible with the VT11.

> My plan, as soon as I have enough room to move the
> PDP-11/34 from the garage back into the house, is to write
> some simple toggle-in displays just to get familiar with
> the display instruction set and register operation.

I have quite a bit of literature, including an instruction
format summary sheet I made that I used to keep tacked up
on the wall for reference while I programmed.  Although DEC
had a "DECgraphics-11" support library for use from Fortran,
I preferred to build and modify the display list directly;
we mapped the 4KW just below the I/O page (in 16-bit
virtual address space) into a 4KW-aligned window into a
32KW display file (by direct access of the KT11 MMU
registers), and used overlays into the remaining 24KW
virtual address space for PDP-11 application code (and the
RT-11 SJ monitor, used exclusively for floppy disk I/O).
We polled for Talos tablet input on the DR11-C and for
KL40 keyboard input on a DL11-W.  I made a DIP
configuration plug to "hard-wire" the tablet's mode
switches rather than leaving them under user control,
letting the tablet continuously blather its coordinates
and tip-switch status.  Since we were polling rather than
using interrupts and our application was single-threaded,
this worked well and was amazingly responsive, despite
almost every bit of the application being coded in Fortran
(only a tiny piece of the memory manager paging code was
in assembler for some reason).  I organized the display
file as a malloc-like heap (Knuth boundary-tag method with
bug fixes), and instead of using the VS60's subroutining
capability (except for drawing little blinking boxes at
the taggable origins of subpictures) I juggled display-
jump linkages while the display processor was running
through them; if you do that very carefully the D.P.
will always see a consistent image.  It was the most
responsive graphics application that anybody had to offer,
and for many years I got almost physically ill when I saw
what passed for interactive graphics in the rest of the
world (except Evans & Sutherland seemed to have their act
together).

> Once I am sure that I can do that sucessfully, I will
> try to do the same thing under RSX-11M, using the GR
> device driver.   If it works, then I can move on to
> the final step.   If not, then I will probably need
> to take a look at the GR driver code.

That all post-dates my experience with the VS60, which
ended around 1979.  I suspect it is not nearly as easy
to pull off such tricks under RSX-11M as under RT-11 SJ.
If you have RT-11, try typing GT ON to the . prompt and
see if it switches the console display to the VS60.
(GT OFF of course switches back.)

> The final step is to try and debug whatever ails the
> RSX version of Lunar Lander.   By that time I should
> have a firm knowledge of both the hardware and the
> GR driver, so I should be in good shape.

The original Lunar Lander took over the PDP-11 and
didn't use any OS facilities.  Note that Lunar Lander
*does* depend on light-pen interrupts; there are VT11/
VS60 light-pen coordinate registers (which are only
approximate) and a segment-ID register that can be used
to determine which piece of the vectors was hit, if they
were setting segment codes as they were being drawn.

> On a different subject: do you know if anyone has ever
> sucessfully run a VS60 on a PDP-11/44?   I have one of
> those and would much prefer to run the VS60 on that.

I only saw the VS60 working with the PDP-11/34a and with
the PDP-11/60.  I have no reason to think that it
wouldn't work with any 18-bit Unibus system (the display
processor is a second bus master, which is how it fetches
instructions from RAM while the PDP-11 executes a program
concurently).  On a system with more than 124KW, a Unibus
map would have to become involved, and I'm not sure the
display processor would coordinate with that properly.
If the display list is kept in the bottom 124KW of
physical address space, it might be workable.

Not long ago I tried getting in touch with Herve Lavoie,
who was the engineer responsible for the VS60, but I think
he must be long retired, if not deceased.  Hank Maurer was
responsible for the original RT-11 DECgraphics-11 support
(you see his name in some of the TECO source; I think he
provided the VT11/VS60 support for TECO), but alas that is
a fairly common name and I haven't been able to locate him.

It is really frustrating how easily documentation and other
forms of technical knowledge are lost forever.  Hopefully
now that there is a way for people to play with a simulated
VT11 its life may be extended..



  reply	other threads:[~2003-09-26  8:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <34k0nvk68vaf8l428u0r2k41ahmrudsuhs@4ax.com>
2003-09-23 23:50 ` DEC XY Display Simulator (Re: Alternate download site for SIMH sources) Phil Budne
2003-09-24  2:02   ` healyzh
2003-09-24 10:15     ` Tim Radde
2003-09-24 13:57   ` paramucho
2003-09-24 17:03   ` Alan Frisbie
2003-09-24 22:01     ` Gerry Moersdorf
2003-09-25  4:10       ` Douglas A. Gwyn
2003-09-25  4:06     ` Douglas A. Gwyn
2003-09-25 16:39       ` Alan Frisbie
2003-09-26  8:07         ` Douglas A. Gwyn [this message]
2003-09-26 17:35           ` Alan Frisbie
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox