Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* TU58 cabling and serial port question
@ 1996-05-06  4:00 R. D. Davis
  1996-05-07  4:00 ` R. D. Davis
  0 siblings, 1 reply; 8+ messages in thread
From: R. D. Davis @ 1996-05-06  4:00 UTC (permalink / raw)



It's a simple enough matter to attach the TU58 drive to my 11/44, but
on my 11/73 running RT-11 (V5.03) and TSX+, the problem appears to be
a horse of a different color.

Under TSX+, the 11/73 has 25 serial ports configured (including the
console port), connecting to DB25 connectors.  The system also has an
additional four serial ports on an M8043 board, using the same type of
connectors that the TU58 drive uses.  This M8043 board isn't presently
being used for anything; I just stuck it in there to complete a grant
chain to get my RX02 drive to work.

Cabling wise, it's no problem for me to use this drive with either the
small plastic 14-pin connectors from the M8043 (as I've got one cable
with a 14pin connector on one end and a male DB25 on the other end,
and another similar cable, only with a female DB25 on one end - so I
figure that I can connect the two DB25 connectors and have a 14-pin to
14-pin cable from the two cables), or with one of the DB25 connectors
on the back of the system.

Software wise, am I going to need to run sysgen for TSX+ and RT-11?
Would there be any problem with using one of the additional ports on
the M8043 card with both TSX+ and RT-11?

Thanks very much in advance for any information that anyone can
provide about the above!  

-- 
R. D. Davis  *  http://www.access.digex.net/~rdd    \Computer preservationist. 
Home: +1 410 744-7964 * Eccentrics have more fun! :-)\Unwanted systems gladly
Unconventional Computer Consulting & PERQ Software,   \disassembled, removed 
divs. of Transpower Industries, Inc. +1 410 744-4900   \for free and preserved.



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

* Re: TU58 cabling and serial port question
  1996-05-06  4:00 TU58 cabling and serial port question R. D. Davis
@ 1996-05-07  4:00 ` R. D. Davis
  1996-05-09  4:00   ` billy
  0 siblings, 1 reply; 8+ messages in thread
From: R. D. Davis @ 1996-05-07  4:00 UTC (permalink / raw)



Firstly, I apologize for following up on one of my own messages - I've
been doing this more that I should lately.  Furthermore, I should have
read the fine manuals a bit more before posting my previous message
about adding a TU58 tape drive to my 11/73.

After some checking, I discovered that I have the documentation for
the DLV11-J, so I was able to examine the jumper settings on my M8043
and figure out that everything, except for some baud rates, was still
set for the factory default configuration.  The baud rate for port 0
is set to the default, 9,600 bps, so I guess (right or wrong) that
there's nothing that needs to be changed on this board.

It appears that the only thing which I'll need to do to get this to
work under RT-11 is to connect the cables, as "sh dev" displays
DD status as installed, with CSR=176500 and Vectors=300, 304. :-)

Getting this to work under TSX-Plus appears to be a bit more
complicated; actually, much more complicated, if I'm not mistaken
(which I very well could be).

When I did a "sh dev" under TSX+, no DD was listed; not surprising, as
I have no DD.TSX device handler.  I did find, in a older, V5.1,
distribution of TSX+, with patch files named DD500.SLP and DD600.SLP.
There are no DD*.SLP files in with my (partially complete?) 6.01
distribution; will I need them, or should the DD500 and DD501 .SLP
files be all that I'll need?

Am I going to need to define a line definition block to use the DL11
line No. 0?  Would it need to be something like (where ? denotes
unknown):

CLDEF  ?,300,176500
SPEED  S9600
FLAGS  ?
BUFSIZ ?
SILO   ?

Would I use TSXMOD to do the above?

If I understand correctly, the next thing that I would need to do
would be to create a file named TSXCND.MAC, containing the lines:

MMG$T = 1
ERL$G = 0
TIM$IT = 1

Then, after doing that, build the DD.TSX device handler for DD - this
looks simple enough, but don't I need a DD.MAC file in order to do
this?  I seem to recall some [device].MAC files in the RT-11
distribution (but I could be mistaken) - would this be what I'd use?

MACRO TSXCND+DD/OBJ
LINK/EXE SY:DD.TSX DD

Am I correct to think that the next, and final, step would be to make
an entry in TSGEN using the DEVDEF macro (what's this?) for the device
to be added?  Would I use TXMOD for this?

Thanks very much in advance for any information that anyone can
provide about the above!

-- 
R. D. Davis  *   http://www.access.digex.net/~rdd   *  Computer Preservationist
                                                               
    Unconventional Computer Consulting & PERQ Software
                    divisions of Transpower Industries, Inc. +1 410 744-4900   



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

* Re: TU58 cabling and serial port question
  1996-05-07  4:00 ` R. D. Davis
@ 1996-05-09  4:00   ` billy
  1996-05-10  4:00     ` Megan
  0 siblings, 1 reply; 8+ messages in thread
From: billy @ 1996-05-09  4:00 UTC (permalink / raw)



R. D. Davis <rdd@access4.digex.net> writes:

> There are no DD*.SLP files in with my (partially complete?) 6.01
> distribution; will I need them, or should the DD500 and DD501 .SLP
> files be all that I'll need?

TSX is distributed with a built DD.TSX handler.  If you have DD.MAC
from which ever RT-11 you're using to start TSX you can do this patch
manually - all it does is move a buffer to par 5.  The whole thing is
just a few lines..

> Am I going to need to define a line definition block to use the DL11
> line No. 0?

No, just set DD's CSR and vector to it.  Also be sure nothing else
is talking to the same place, no line def block, no LP, etc, etc.

> If I understand correctly, the next thing that I would need to do
> would be to create a file named TSXCND.MAC, containing the lines:

> MMG$T = 1
> ERL$G = 0
> TIM$IT = 1

You'll need this to build DD.TSX, yes.  It should also say -

  TSX$P = 1

This is for any TSX-Plus conditional assembly, such as the above
patch.

> Then, after doing that, build the DD.TSX device handler for DD - this
> looks simple enough, but don't I need a DD.MAC file in order to do
> this?  I seem to recall some [device].MAC files in the RT-11
> distribution (but I could be mistaken) - would this be what I'd use?

Yes, after patching it per the above.  You patch the .MAC source,
then build it.

> MACRO TSXCND+DD/OBJ
> LINK/EXE SY:DD.TSX DD

If you're using RT-11 V5 or above, add the /NOBITMAP switch to
the link command.

> Am I correct to think that the next, and final, step would be to make
> an entry in TSGEN using the DEVDEF macro (what's this?) for the device
> to be added?  Would I use TXMOD for this?

As long as there's a free device slot I believe TSXMOD can do this.
Run it, issue the SH DEVDEF command, then enter DEVDEF <DD>,... adding
which ever options you'd like in the same format as SH DEVDEF displays,
then EXIT writes the changes back to the TSX image.  You'll then have
to restart TSX to actually load DD.

Billy Y..



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

* Re: TU58 cabling and serial port question
  1996-05-10  4:00     ` Megan
@ 1996-05-09  4:00       ` billy
  1996-05-10  4:00         ` Megan
  0 siblings, 1 reply; 8+ messages in thread
From: billy @ 1996-05-09  4:00 UTC (permalink / raw)



Megan <mbg@world.std.com> writes:

> >TSX is distributed with a built DD.TSX handler.  If you have DD.MAC
> >from which ever RT-11 you're using to start TSX you can do this patch
> >manually - all it does is move a buffer to par 5.

> Par 5?  I thought it was PAR6 that was used by TSX+...

Yep, this one is PAR5.  KISAR1 =: 172352, as opposed to 172354 for PAR6,
which is used their DU patch.

Billy Y..



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

* Re: TU58 cabling and serial port question
  1996-05-10  4:00           ` billy
@ 1996-05-10  4:00             ` Megan
  0 siblings, 0 replies; 8+ messages in thread
From: Megan @ 1996-05-10  4:00 UTC (permalink / raw)



billy@mix.com writes:

>Megan <mbg@world.std.com> writes:

>> Okay... What I was trying to verify was that they generally use PAR6
>> to map the user's buffer, instead of PAR1 like RT-11 uses... right?

>This is true.

>> By the way... KISAR1 is 172342, not 172352

>Here's an excerpt from DD504.SLP -

>;  DD.TSX Distributed Handler	with TSX-Plus Version
>;     Version=12                       6.2
>;     Release=V05, Version=09          6.0, 6.01, 6.16
>[...]
>	.IFF			;Assemble for running TSX-Plus
>	KISAR1	=: 172352	;Use kernel par 5 mapping region
>	.ENDC	;EQ TSX$P	;End of TSX-Plus conditional code

I see... it is a hack to avoid having to go and change all
the references to KISAR1 to KISAR5, you simply redefine what
KISAR1 is...

However, me comment stands... the ACTUAL address of Kernel I-Space
PAR1 register is 172342 (PAR0 is 172340).

					Megan Gentry
					Former RT-11 Developer
					Former Ultrix Developer

Currently:
+--------------------------------------+-------------------------------------+
| Megan Gentry                         | tcp/ip (work):   gentry@zk3.dec.com |
| Unix Support and Engineering Group   |      or: gentry@rusure.enet.dec.com |
| Digital Equipment Corporation        |    (non-work):    mbg@world.std.com |
| 110 Spitbrook Rd. ZK03-2/T43         | URL http://world.std.com/~mbg/      | 
| Nashua, NH 03062                     | "Still real-time after all these    |
| (603) 881 1055                       |  years."                            |
+--------------------------------------+-------------------------------------+




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

* Re: TU58 cabling and serial port question
  1996-05-09  4:00   ` billy
@ 1996-05-10  4:00     ` Megan
  1996-05-09  4:00       ` billy
  0 siblings, 1 reply; 8+ messages in thread
From: Megan @ 1996-05-10  4:00 UTC (permalink / raw)



billy@mix.com writes:

>TSX is distributed with a built DD.TSX handler.  If you have DD.MAC
>from which ever RT-11 you're using to start TSX you can do this patch
>manually - all it does is move a buffer to par 5.  The whole thing is
>just a few lines..

Par 5?  I thought it was PAR6 that was used by TSX+...

Can you confirm this?  (Otherwise I guess I'll have to locate my
TSX+ manuals...)

					Megan Gentry
					Former RT-11 Developer

Currently:
+--------------------------------------+-------------------------------------+
| Megan Gentry                         | tcp/ip (work):   gentry@zk3.dec.com |
| Unix Support and Engineering Group   |      or: gentry@rusure.enet.dec.com |
| Digital Equipment Corporation        |    (non-work):    mbg@world.std.com |
| 110 Spitbrook Rd. ZK03-2/T43         | URL http://world.std.com/~mbg/      | 
| Nashua, NH 03062                     | "Still real-time after all these    |
| (603) 881 1055                       |  years."                            |
+--------------------------------------+-------------------------------------+



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

* Re: TU58 cabling and serial port question
  1996-05-09  4:00       ` billy
@ 1996-05-10  4:00         ` Megan
  1996-05-10  4:00           ` billy
  0 siblings, 1 reply; 8+ messages in thread
From: Megan @ 1996-05-10  4:00 UTC (permalink / raw)



billy@mix.com writes:

>Megan <mbg@world.std.com> writes:

>> >TSX is distributed with a built DD.TSX handler.  If you have DD.MAC
>> >from which ever RT-11 you're using to start TSX you can do this patch
>> >manually - all it does is move a buffer to par 5.

>> Par 5?  I thought it was PAR6 that was used by TSX+...

>Yep, this one is PAR5.  KISAR1 =: 172352, as opposed to 172354 for PAR6,
>which is used their DU patch.

Okay... What I was trying to verify was that they generally use PAR6
to map the user's buffer, instead of PAR1 like RT-11 uses... right?
It had been my understanding that you could generally convert an RT
device handler for use by TSX+ by changing all references to PAR1
to PAR6.

I expect some handlers would need an additional mapping register, and
DD is an example of that for TSX (I don't offhand remember which one
does it in RT, but I suspect MQ)

By the way... KISAR1 is 172342, not 172352

					Megan Gentry
					Former RT-11 Developer

Currently:
+--------------------------------------+-------------------------------------+
| Megan Gentry                         | tcp/ip (work):   gentry@zk3.dec.com |
| Unix Support and Engineering Group   |      or: gentry@rusure.enet.dec.com |
| Digital Equipment Corporation        |    (non-work):    mbg@world.std.com |
| 110 Spitbrook Rd. ZK03-2/T43         | URL http://world.std.com/~mbg/      | 
| Nashua, NH 03062                     | "Still real-time after all these    |
| (603) 881 1055                       |  years."                            |
+--------------------------------------+-------------------------------------+




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

* Re: TU58 cabling and serial port question
  1996-05-10  4:00         ` Megan
@ 1996-05-10  4:00           ` billy
  1996-05-10  4:00             ` Megan
  0 siblings, 1 reply; 8+ messages in thread
From: billy @ 1996-05-10  4:00 UTC (permalink / raw)



Megan <mbg@world.std.com> writes:

> Okay... What I was trying to verify was that they generally use PAR6
> to map the user's buffer, instead of PAR1 like RT-11 uses... right?

This is true.

> By the way... KISAR1 is 172342, not 172352

Here's an excerpt from DD504.SLP -

;  DD.TSX Distributed Handler	with TSX-Plus Version
;     Version=12                       6.2
;     Release=V05, Version=09          6.0, 6.01, 6.16
[...]
	.IFF			;Assemble for running TSX-Plus
	KISAR1	=: 172352	;Use kernel par 5 mapping region
	.ENDC	;EQ TSX$P	;End of TSX-Plus conditional code

Billy Y..



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

end of thread, other threads:[~1996-05-10  4:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-06  4:00 TU58 cabling and serial port question R. D. Davis
1996-05-07  4:00 ` R. D. Davis
1996-05-09  4:00   ` billy
1996-05-10  4:00     ` Megan
1996-05-09  4:00       ` billy
1996-05-10  4:00         ` Megan
1996-05-10  4:00           ` billy
1996-05-10  4:00             ` Megan

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