From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: d180ab3bd8,6624e312e8bf2917 X-Google-Attributes: gidd180ab3bd8,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Mon, 04 Jul 2011 16:37:06 -0400 From: "Jerome H. Fine" Organization: Just Sufficient User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.sys.pdp11,comp.sys.dec Subject: Re: KDA-50 on eBay References: <9675loFh94U1@mid.individual.net> <06d0f22ffd7b1cae839b97d580e1eea1@msgid.frell.theremailer.net> <96tuppF89sU1@mid.individual.net> <4e0a837f$0$311$14726298@news.sunsite.dk> <4e0d1561$0$304$14726298@news.sunsite.dk> <4e0e55a7$0$303$14726298@news.sunsite.dk> <4e1056a9$0$313$14726298@news.sunsite.dk> <4e10b240$0$314$14726298@news.sunsite.dk> <4e1106f1$0$304$14726298@news.sunsite.dk> <4e11ab9e$0$316$14726298@news.sunsite.dk> In-Reply-To: Content-Type: multipart/alternative; boundary="------------010000070801050400030507" Message-ID: <4e12242f$0$312$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC=H=jdc[AHeB3H=^0YSB=nbEKnk;bXM5G@Hc2CV8bAJTI>3eOPKWXlde4Qa4_jgFW[9?IKjehE>K_R6]01T`Rm1cH8 X-Complaints-To: staff@sunsite.dk Xref: g2news1.google.com alt.sys.pdp11:2325 comp.sys.dec:3611 This is a multi-part message in MIME format. --------------010000070801050400030507 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit >Johnny Billquist wrote: > >On 2011-07-04 14.03, Jerome H. Fine wrote: > >> >Johnny Billquist wrote: >> >>> >On 2011-07-04 02.19, Jerome H. Fine wrote: >>> >>>> Under RT-11, FORTRAN use of VIRTUAL arrays uses the >>>> PAR/PDR registers as the default to access extended memory. >>>> DECUS code is available as an alternative to use files which >>>> are read / write to access the same data, but they are much >>>> slower when the references are completely random since so >>>> much disk I/O must be done. In addition, what is the maximum >>>> size of a file under RSX-11? With the "new" feature, the size >>>> of the VIRTUAL arrays is GB and the access time is about the >>>> same as normal user memory. >>> >>> The maximum size of a file in RSX is more or less unlimited. But yes >>> virtual arrays are slow. >>> Also, virtual arrays are limited by the fact that indexes are 16 bits, >>> so you can never get anywhere near the file size limits. >>> >>> And you are still trying to design a system which works if there is >>> ever only one user of the feature. Such a solution is useless on >>> multiuser systems. >> >> I acknowledge that I have finally been instructed as to the requirements >> and limitations of what RSX-11 can and should support. > > :-) You were more than patient and it was very appreciated! >> I do appreciate your patience in my attempts to understand the aspects >> of RSX-11 and RSTS/E which restrict how the hardware can be used. >> >> On the other hand, I assume that RSX-11 is able to restrict access to >> certain hardware such as a tape drive to just ONE user at a time? Or >> even a specific data disk drive? Please confirm these assumptions if >> they are true. > > > Yes, RSX do support the concept of having a device only accessible to > one user at a time. This is implemented as a part of the device driver > infrastructure. > > Once more does that magic word "device driver" pop up... :-) I do appreciate your suggestions since at this point they will be used to see if there is a way to work within the limitations of RSX-11. Note that this will ONLY be the start of the concept and not even a solution. >> If my assumptions are correct, then perhaps RSX-11 could provide >> access to the "new" PC memory one user at a time? > > Yes. Through a device driver. (Didn't I already suggest this?) > > A device driver both provides you with serialized access, so that no > two programs clobber each other right in the middle of a transaction, > but it also gives you the ability to give a program exclusive access, > if you want. These are two different things, equally important. Since E11 can perform rather interesting emulation, it would probably be possible to assign all of the "new" PC memory to a single job via a device driver. It might even be possible to allow the "new" PC memory to be segmented and assign portions to different jobs, but that would be an enhancement after the initial concept was implemented. >> While I very much doubt that anyone will want to spend the effort >> to implement the required code in the next few years (even assuming >> that a solution that is consistent with the multi-user aspects of RSX-11 >> can be found), perhaps the concept can be kept in mind. > > It would actually be pretty simple. Writing a device driver is nothing > magic. However, one should probably try to figure out exactly how to > implement it, and what to go about when doing it. Maybe you should use > it as a very fast disk? Or perhaps add some other infrastructure so > that several users could use it at the same time? Or maybe someone can > come up with some other cool idea? The fast disk concept is already available under RT-11 via the HD(X).SYS device driver. This is actually a completely separate aspect which would require an RSX-11 style device driver which would probably almost trivial for an experienced person such as yourself with so many years of experience with RSX-11. If you look at the RT-11 source code for HD.MAC, this supports a maximum of 32 MB of disk usage via: MOUNT HDA0: RAM: /SIZE:65536 An actual disk file can also be used which most Windows operating systems will almost immediately put into cache if there is sufficient memory available. You just need to write an RSX-11 version of HD.MAC which looks very much like an RK05, but has more storage available and is even less complicated with regard to the IOPAGE register usage. Until John started to emulate the MSCP devices, the HD: device was often used. I assume that an RSX-11 version of the HD: device driver was never produced. Can you confirm that? If you do decide to produce an RSX-11 flavour for the HD: device, let me know since there are a few details which are helpful to know about in an MMU environment. > I can say that it would be very much nicer if it was usable by more > than one program at a time. (This is my main gripe about the DOS > device in E11. It is so stupid that you have to limit it to just one > user at a time, because the actual device have no way of keeping > separate transactions running at the same time.) I know that John did a DO(X).SYS for RT-11, Is there one available for RSX-11 as well? Please confirm if there is? >> If a problem arises in the future and the solution is a couple of >> GB of data memory or conversion of a working system which >> already has access to the memory, the effort might then be worth >> while. At the moment, it looks like the old "solution looking for >> a problem" situation and since I am unlikely to ever become even >> 10% as capable running RSX-11 as you are (probably will never >> run RSX-11 at all), I will make no additional comments on aspects >> which fit RT-11 quite well, but which have no place in RSX-11 at >> the present time. > > Running RSX is easy. However, it does put totally different > restrictions at your feet than RT-11. But on the other hand, it also > gives you totally different capabilities than RT-11. It's a different > type of shoe. If you are in an RT-11 mindset, RSX is going to be > difficult, yes. But so will any OS, since it's OSes like RT-11 which > are the odd one out. I have used VMS on a VAX along with RSTS/E and TSX-Plus on a PDP-11. So I used to be very aware of multi-job environments. However, I rarely use any of them any more except in regard to programs which also run under RT-11. I suspect that it might be possible under E11 to grant exclusive access to a device (actually via RSX-11) which can be passed to E11 via a password or some other code which then allows only that job to execute certain specific (normally illegal) instructions. If the "solution looking for a problem" never manages to be found, then it seems rather doubtful that the use of PC memory will ever be resolved under RSX-11. Since I am probably the only person using it under RT-11 and then only for a buffer when I decided to see if it would be a useful method to sieve for Prime Numbers, it seems very doubtful that any other problem will use this "new" feature. However, if you do use the DOS device under RSX-11 to move data back and forth between RSX-11 running under E11 and a Windows file system, that would be something that is very interesting. Please let me know. Also, an RSX-11 flavour of the HD: device is probably useful only if speed is an extremely high priority. The HD: device is almost certainly faster than MSCP emulation, but if that is not the time critical aspect of any implementation, then MSCP can do the identical file I/O without the need to introduce a new type of hardware into RSX-11. Again, if you do decide to implement the HD: device driver in RSX-11, hints on MMU aspects might be useful. Jerome Fine --------------010000070801050400030507 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit >Johnny Billquist wrote:
>On 2011-07-04 14.03, Jerome H. Fine wrote:
 >Johnny Billquist wrote:
>On 2011-07-04 02.19, Jerome H. Fine wrote:
Under RT-11, FORTRAN use of VIRTUAL arrays uses the
PAR/PDR registers as the default to access extended memory.
DECUS code is available as an alternative to use files which
are read / write to access the same data, but they are much
slower when the references are completely random since so
much disk I/O must be done. In addition, what is the maximum
size of a file under RSX-11? With the "new" feature, the size
of the VIRTUAL arrays is GB and the access time is about the
same as normal user memory.
The maximum size of a file in RSX is more or less unlimited. But yes
virtual arrays are slow.
Also, virtual arrays are limited by the fact that indexes are 16 bits,
so you can never get anywhere near the file size limits.

And you are still trying to design a system which works if there is
ever only one user of the feature. Such a solution is useless on
multiuser systems.
I acknowledge that I have finally been instructed as to the requirements
and limitations of what RSX-11 can and should support.
:-)
You were more than patient and it was very appreciated!
I do appreciate your patience in my attempts to understand the aspects
of RSX-11 and RSTS/E which restrict how the hardware can be used.

On the other hand, I assume that RSX-11 is able to restrict access to
certain hardware such as a tape drive to just ONE user at a time? Or
even a specific data disk drive? Please confirm these assumptions if
they are true.

Yes, RSX do support the concept of having a device only accessible to one user at a time. This is implemented as a part of the device driver infrastructure.

Once more does that magic word "device driver" pop up... :-)
I do appreciate your suggestions since at this point
they will be used to see if there is a way to work
within the limitations of RSX-11.  Note that this
will ONLY be the start of the concept and not
even a solution.
If my assumptions are correct, then perhaps RSX-11 could provide
access to the "new" PC memory one user at a time?
Yes. Through a device driver. (Didn't I already suggest this?)

A device driver both provides you with serialized access, so that no two programs clobber each other right in the middle of a transaction, but it also gives you the ability to give a program exclusive access, if you want. These are two different things, equally important.
Since E11 can perform rather interesting emulation,
it would probably be possible to assign all of the "new"
PC memory to a single job via a device driver.  It might
even be possible to allow the "new" PC memory to be
segmented and assign portions to different jobs, but
that would be an enhancement after the initial concept
was implemented.
While I very much doubt that anyone will want to spend the effort
to implement the required code in the next few years (even assuming
that a solution that is consistent with the multi-user aspects of RSX-11
can be found), perhaps the concept can be kept in mind.
It would actually be pretty simple. Writing a device driver is nothing magic. However, one should probably try to figure out exactly how to implement it, and what to go about when doing it. Maybe you should use it as a very fast disk? Or perhaps add some other infrastructure so that several users could use it at the same time? Or maybe someone can come up with some other cool idea?
The fast disk concept is already available under RT-11
via the HD(X).SYS device driver.  This is actually a
completely separate aspect which would require an
RSX-11 style device driver which would probably
almost trivial for an experienced person such as
yourself with so many years of experience with RSX-11.

If you look at the RT-11 source code for HD.MAC,
this supports a maximum of 32 MB of disk usage via:
MOUNT  HDA0:  RAM:  /SIZE:65536
An actual disk file can also be used which most Windows
operating systems will almost immediately put into cache
if there is sufficient memory available.  You just need to
write an RSX-11 version of HD.MAC which looks very
much like an RK05, but has more storage available and
is even less complicated with regard to the IOPAGE
register usage.

Until John started to emulate the MSCP devices, the
HD: device was often used.

I assume that an RSX-11 version of the HD: device
driver was never produced.  Can you confirm that?
If you do decide to produce an RSX-11 flavour for
the HD: device, let me know since there are a few
details which are helpful to know about in an MMU
environment.
I can say that it would be very much nicer if it was usable by more than one program at a time. (This is my main gripe about the DOS device in E11. It is so stupid that you have to limit it to just one user at a time, because the actual device have no way of keeping separate transactions running at the same time.)
I know that John did a DO(X).SYS for RT-11,  Is there one
available for RSX-11 as well?  Please confirm if there is?
If a problem arises in the future and the solution is a couple of
GB of data memory or conversion of a working system which
already has access to the memory, the effort might then be worth
while. At the moment, it looks like the old "solution looking for
a problem" situation and since I am unlikely to ever become even
10% as capable running RSX-11 as you are (probably will never
run RSX-11 at all), I will make no additional comments on aspects
which fit RT-11 quite well, but which have no place in RSX-11 at
the present time.
Running RSX is easy. However, it does put totally different restrictions at your feet than RT-11. But on the other hand, it also gives you totally different capabilities than RT-11. It's a different type of shoe. If you are in an RT-11 mindset, RSX is going to be difficult, yes. But so will any OS, since it's OSes like RT-11 which are the odd one out.
I have used VMS on a VAX along with RSTS/E and TSX-Plus on
a PDP-11.  So I used to be very aware of multi-job environments.
However, I rarely use any of them any more except in regard to
programs which also run under RT-11.

I suspect that it might be possible under E11 to grant exclusive
access to a device (actually via RSX-11) which can be passed
to E11 via a password or some other code which then allows
only that job to execute certain specific (normally illegal) instructions.
If the "solution looking for a problem" never manages to be
found, then it seems rather doubtful that the use of PC memory
will ever be resolved under RSX-11.

Since I am probably the only person using it under RT-11 and
then only for a buffer when I decided to see if it would be a
useful method to sieve for Prime Numbers, it seems very
doubtful that any other problem will use this "new" feature.

However, if you do use the DOS device under RSX-11 to
move data back and forth between RSX-11 running under
E11 and a Windows file system, that would be something
that is very interesting.  Please let me know.

Also, an RSX-11 flavour of the HD: device is probably useful
only if speed is an extremely high priority.  The HD: device is
almost certainly faster than MSCP emulation, but if that is not the
time critical aspect of any implementation, then MSCP can do
the identical file I/O without the need to introduce a new type
of hardware into RSX-11.  Again, if you do decide to implement
the HD: device driver in RSX-11, hints on MMU aspects might
be useful.

Jerome Fine
--------------010000070801050400030507--