Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* DEC XY Display Simulator (Re: Alternate download site for SIMH sources)
       [not found] <34k0nvk68vaf8l428u0r2k41ahmrudsuhs@4ax.com>
@ 2003-09-23 23:50 ` Phil Budne
  2003-09-24  2:02   ` healyzh
                     ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Phil Budne @ 2003-09-23 23:50 UTC (permalink / raw)


In article <34k0nvk68vaf8l428u0r2k41ahmrudsuhs@4ax.com>,
Bob Supnik  <bsupnik@nauticusnet.nospam.com> wrote:
>With simh.trailing-edge.com temporarily off the air due to Isabelle, a
>partial copy of the site can be found at:
>
>http://mywebpages.comcast.net/bsupnik/simh/

Excellent!  I'm going away, and thought I would have to delay posting
this until I got back for a trip I'm taking...

This is the first public announcement of my XY Display Simulator
project.  Right now I handle simple point plotting (ie; PDP-1 Type 30)
and the PDP-11 VT11 display processor used in the GT40.

The simulator can be used standalone -- one test program is the famous
Display Hack "Munching Squares" first discovered on the PDP-1.

I have plugged my simulator into SIMH's PDP-1 and PDP-11 simulators,
but others are possible, including the PDP-8 VC08E and AX08
interfaces, and I've started on a "Type 340" display processor
simulator in the hope of running PDP-10 spacewar (likely to be the
first 340 ever hooked to a KS10), and my code should be also be usable
with other CPU simulators (the coordinate system and sizing are most
friendly to DEC systems, but others should be possible).

My little project's home page is

   http://www.ultimate.com/phil/xy/

and includes screen shots of PDP-1 spacewar and PDP-11 lunar lander,
along with a tarball which includes my simulator and files to use it
with SIMH v3.0-2 (see above), and binaries for spacewar and lunar
lander.  Both games are playable.

The standalone tests should build and run under any Un*xish system
with X11, and also build under Win32 with MINGW or Cygwin. Recent
versions of VMS with X11 should be possible, but I don't know what the
build procedure might entail. I have not tested the SIMH makefile
under Win32, but it should either work, or require only minor tweaks.

Areas for input/improvement:

I'd be interested in feedback from anyone who has, or has used actual
Type 30 or VT11/VR14 based displays, to hear if the simulations look
and feel right (in terms of timing, and the color decay of the screen
"phosphor", etc).

The VT11 simulator hasn't been completely wrung out (I've haven't yet
figured out how to load and run the "GT" file format diagnostics
available -- anyone have a GT to LDA converter?), and some little
artifacts appear when running lunar lander.

The window system support code for both X11 and Win32 is probably
apalling to anyone schooled in the art. After over 15 years using
(first X10 and now) X11, and programming on Unix, this is the first
program I've ever written that so much as opens a window!


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DEC XY Display Simulator (Re: Alternate download site for SIMH sources)
  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
  2 siblings, 1 reply; 11+ messages in thread
From: healyzh @ 2003-09-24  2:02 UTC (permalink / raw)


In alt.sys.pdp10 Phil Budne <budd@csa.bu.edu> wrote:
> This is the first public announcement of my XY Display Simulator
> project.  Right now I handle simple point plotting (ie; PDP-1 Type 30)
> and the PDP-11 VT11 display processor used in the GT40.

Wow!  Way cool, though I feel like cursing you for releasing this right 
now.  :^)  I don't have time to play with this at the moment, and it's 
likely to be a while before I have time.

Once I get my Mac rebuilt I'll have to give this a try on Mac OS X, and on
Linux/x86.  Great job!!!

			Zane


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DEC XY Display Simulator (Re: Alternate download site for SIMH sources)
  2003-09-24  2:02   ` healyzh
@ 2003-09-24 10:15     ` Tim Radde
  0 siblings, 0 replies; 11+ messages in thread
From: Tim Radde @ 2003-09-24 10:15 UTC (permalink / raw)


healyzh@aracnet.com wrote in message news:<bkqtv611ua6@enews3.newsguy.com>...
> In alt.sys.pdp10 Phil Budne <budd@csa.bu.edu> wrote:
> > This is the first public announcement of my XY Display Simulator
> > project.  Right now I handle simple point plotting (ie; PDP-1 Type 30)
> > and the PDP-11 VT11 display processor used in the GT40.
> 
> Wow!  Way cool, though I feel like cursing you for releasing this right 
> now.  :^)  I don't have time to play with this at the moment, and it's 
> likely to be a while before I have time.
> 
> Once I get my Mac rebuilt I'll have to give this a try on Mac OS X, and on
> Linux/x86.  Great job!!!
> 
> 			Zane

Yes, very cool.  This reminds me of the scope that was connected to the
pdp-10 at PSU.  I had lots of fun with it, and have always kind of wanted
to have one to mess around with.  
  Tim R


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DEC XY Display Simulator (Re: Alternate download site for SIMH sources)
  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 13:57   ` paramucho
  2003-09-24 17:03   ` Alan Frisbie
  2 siblings, 0 replies; 11+ messages in thread
From: paramucho @ 2003-09-24 13:57 UTC (permalink / raw)


On 23 Sep 2003 23:50:50 GMT, budd@csa.bu.edu (Phil Budne) wrote:


>The VT11 simulator hasn't been completely wrung out (I've haven't yet
>figured out how to load and run the "GT" file format diagnostics
>available -- anyone have a GT to LDA converter?), and some little
>artifacts appear when running lunar lander.

I wrote one years ago (it's a six-bit "sixel" format). I recall seeing
it a month or two back when I was hunting through about a thousand 8"
floppies for something. Let me know if you can't locate an alternate
source and I'll have a look.



--
Ian
Impressive If Haughty - Q Magazine


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DEC XY Display Simulator (Re: Alternate download site for SIMH sources)
  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 13:57   ` paramucho
@ 2003-09-24 17:03   ` Alan Frisbie
  2003-09-24 22:01     ` Gerry Moersdorf
  2003-09-25  4:06     ` Douglas A. Gwyn
  2 siblings, 2 replies; 11+ messages in thread
From: Alan Frisbie @ 2003-09-24 17:03 UTC (permalink / raw)


Phil Budne wrote:
> In article <34k0nvk68vaf8l428u0r2k41ahmrudsuhs@4ax.com>,
> Bob Supnik  <bsupnik@nauticusnet.nospam.com> wrote:
> 
>>With simh.trailing-edge.com temporarily off the air due to Isabelle, a
>>partial copy of the site can be found at:
>>
>>http://mywebpages.comcast.net/bsupnik/simh/
> 
> 
> Excellent!  I'm going away, and thought I would have to delay posting
> this until I got back for a trip I'm taking...
> 
> This is the first public announcement of my XY Display Simulator
> project.  Right now I handle simple point plotting (ie; PDP-1 Type 30)
> and the PDP-11 VT11 display processor used in the GT40.

I have a real DEC VS60 (GT48) in my home for Lunar Lander, etc.,
along with the XXDP diagnostics for it.   I don't know if the XXDP
pack also has the VT11 diagnostics, but I suspect that it does.
If not on the pack, probably on one of the XXDP tapes in my
collection.

I haven't been following simh, so I don't know what would be
required to copy the XXDP files to a compatible format/media.
Also, it's been a year or so since I powered on one of my
PDP-11 systems, so there may be some issues there.

Alan



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DEC XY Display Simulator (Re: Alternate download site for SIMH sources)
  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
  1 sibling, 1 reply; 11+ messages in thread
From: Gerry Moersdorf @ 2003-09-24 22:01 UTC (permalink / raw)


Phil,

Great piece of retro work!  I first worked on the a KA10 with a DEC 340
scope at Ohio State in 1970.  We wrote a lot of assembler to drive the scope
but not much has survived.  It always had a lot of flicker, which i quite
miss!  It had a light pen also. we wrote a software character generator ( we
didn't have hardware characters) and we wrote a on screen editor which most
people thought was a waste of resources (how time changes things) i have a
hardcopy of it but it would be a lot of work to bring it up.  it is in pdp10
assembler and a flock of binary IOWds.

the life game we build has dissapeared.

good luck with the simulator extensions.  i had a idea to build a "modern"
vector scope using a display from an old atari asteriods game and a small
micro which would eat up pdp10 io words for the 340, but i have a business
to run and fun comes last.

gerry
"Alan Frisbie" <Abuse@Flying-Disk.com> wrote in message
news:3F71CE48.90005@Flying-Disk.com...
> Phil Budne wrote:
> > In article <34k0nvk68vaf8l428u0r2k41ahmrudsuhs@4ax.com>,
> > Bob Supnik  <bsupnik@nauticusnet.nospam.com> wrote:
> >
> >>With simh.trailing-edge.com temporarily off the air due to Isabelle, a
> >>partial copy of the site can be found at:
> >>
> >>http://mywebpages.comcast.net/bsupnik/simh/
> >
> >
> > Excellent!  I'm going away, and thought I would have to delay posting
> > this until I got back for a trip I'm taking...
> >
> > This is the first public announcement of my XY Display Simulator
> > project.  Right now I handle simple point plotting (ie; PDP-1 Type 30)
> > and the PDP-11 VT11 display processor used in the GT40.
>
> I have a real DEC VS60 (GT48) in my home for Lunar Lander, etc.,
> along with the XXDP diagnostics for it.   I don't know if the XXDP
> pack also has the VT11 diagnostics, but I suspect that it does.
> If not on the pack, probably on one of the XXDP tapes in my
> collection.
>
> I haven't been following simh, so I don't know what would be
> required to copy the XXDP files to a compatible format/media.
> Also, it's been a year or so since I powered on one of my
> PDP-11 systems, so there may be some issues there.
>
> Alan
>




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DEC XY Display Simulator (Re: Alternate download site for SIMH sources)
  2003-09-24 17:03   ` Alan Frisbie
  2003-09-24 22:01     ` Gerry Moersdorf
@ 2003-09-25  4:06     ` Douglas A. Gwyn
  2003-09-25 16:39       ` Alan Frisbie
  1 sibling, 1 reply; 11+ messages in thread
From: Douglas A. Gwyn @ 2003-09-25  4:06 UTC (permalink / raw)


Alan Frisbie wrote:
> I have a real DEC VS60 (GT48) in my home for Lunar Lander, etc.,

Oo, let me know if you need help aligning or programming it.

In the late 1970s I was chief systems analyst and lead
programmer for a small company whose product was based on
the VS60, and I worked with its designer in DEC's Marlboro
facility.  Despite the reduced bandwidth due to the
principal customer insisting on the video drivers being
located below the display instead of packed around it, it
was a very nice interface (we used Talos digitizing tablet
with a stylus, via DR11-C, in place of the light pen).
RT-11 had nice support for both the VT11 and the VS60 (LK40
keyboard) as console display, and TECO in screen mode on
that display was the nicest editing environment available.

If you ever want to get rid of your VS60 I can provide it
with a nice caring home!

When I get enough time (probably after October) I'd be
happy to review the VT11 piece of SIMH and add VS60 support.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DEC XY Display Simulator (Re: Alternate download site for SIMH sources)
  2003-09-24 22:01     ` Gerry Moersdorf
@ 2003-09-25  4:10       ` Douglas A. Gwyn
  0 siblings, 0 replies; 11+ messages in thread
From: Douglas A. Gwyn @ 2003-09-25  4:10 UTC (permalink / raw)


Gerry Moersdorf wrote:
> good luck with the simulator extensions.  i had a idea to build a "modern"
> vector scope using a display from an old atari asteriods game and a small
> micro which would eat up pdp10 io words for the 340, but i have a business
> to run and fun comes last.

The same general notion must have occurred to several of us.
I was planning to build a display-list based simulated vector
device as software for the AT&T/Teletye 630 and 5620 bit-map
displays, but didn't get around to it before my employer
replaced them with crappy workstations.  I now have several
of those units awaiting refurbishment and can resurrect that
project once I have them working again.  Performance should
be much better than using X11.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DEC XY Display Simulator (Re: Alternate download site for SIMH sources)
  2003-09-25  4:06     ` Douglas A. Gwyn
@ 2003-09-25 16:39       ` Alan Frisbie
  2003-09-26  8:07         ` Douglas A. Gwyn
  0 siblings, 1 reply; 11+ messages in thread
From: Alan Frisbie @ 2003-09-25 16:39 UTC (permalink / raw)


Douglas A. Gwyn wrote:
> Alan Frisbie wrote:

>> I have a real DEC VS60 (GT48) in my home for Lunar Lander, etc.,

> Oo, let me know if you need help aligning or programming it.

I certainly will.   There are a few oddities that I have noticed
already.   If you have any insight I would appreciate hearing it.

1: The VS60 successfully shows all the XXDP diagnostic displays,
    but certain of the diagnostics (I don't have my notes here,
    so I can't tell you which ones right now) say that there is
    a failure in the display processor.   It is one of the
    diagnostics that does not display any output on the VS60,
    just on the console terminal.

2: When I run Lunar Lander, nothing displays on the screen.
    However, when I hook an X-Y oscilloscope to the display
    signals, I can see the image on the oscilloscope.

When I look at these two problems together, it seems very
odd.   The fact that Lunar Lander can sucessfully generate
X-Y display signals (as viewed on the oscillocope) would
indicate that the display processor is working just fine.
So why does the diagnostic say there is a failure?

On the other hand, Lunar Lander does not display on the
VS60 screen, so there is obviously a problem somewhere.
However, all the XXDP diagnostic displays *do* show up
on the screen, so obviously the VS60 display is working
OK.

I just can't reconcile these conflicting symptoms.

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.

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.

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.

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.

Alan



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DEC XY Display Simulator (Re: Alternate download site for SIMH sources)
  2003-09-25 16:39       ` Alan Frisbie
@ 2003-09-26  8:07         ` Douglas A. Gwyn
  2003-09-26 17:35           ` Alan Frisbie
  0 siblings, 1 reply; 11+ messages in thread
From: Douglas A. Gwyn @ 2003-09-26  8:07 UTC (permalink / raw)


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..



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: DEC XY Display Simulator (Re: Alternate download site for SIMH sources)
  2003-09-26  8:07         ` Douglas A. Gwyn
@ 2003-09-26 17:35           ` Alan Frisbie
  0 siblings, 0 replies; 11+ messages in thread
From: Alan Frisbie @ 2003-09-26 17:35 UTC (permalink / raw)


Douglas A. Gwyn wrote:
> 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.)

I will check those things first.   I'm pretty sure the
interrupt system works because the interactive part of
the diagnostics (with light pen) works OK, but OTOH
it may be polled.

As for the vector and CSR space, I will carefully check
it, but all I had on the system was the VS60, an RL02,
and a TU56.

What I really need is a few weeks (months?) when the rest
of the world stops, to allow me to catch up with these
projects.   :-)

Thanks for all the valuable tips.   I will e-mail you
a list of the documentation I have, and would appreciate
it if you can let me know what I'm lacking.

Alan



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-09-26 17:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
2003-09-26 17:35           ` Alan Frisbie

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