Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Jerome H. Fine" <jhfinedp3k@dp3knospamcompsys.to>
Subject: Re: QBUS Prototyping
Date: Fri, 30 Apr 2010 07:44:47 -0400	[thread overview]
Message-ID: <4bdac2fa$0$279$14726298@news.sunsite.dk> (raw)
In-Reply-To: <hrd9vf$3vr$1@Iltempo.Update.UU.SE>

 >Johnny Billquist wrote:

> Reading manuals is always a good thing...

YES!!  Better more often is to check the actual code.

By the way, does anyone know of a RSTS/E system which supports running 
RT-11 programs
that would be available to me to test a few things?

I am requesting the availability of software, NOT hardware.  I have 
plenty of hardware available,
but no RSTS/E disk images that I can run.  I am looking for something 
that is easy out of the box
since I want to test just a few details, in particular how the RT-11 
.CHAIN EMT request is
handled by the RSTS/E emulation for RT-11.  If anyone has a copy of the 
actual source code
which performs that RT-11 emulation under RSTS/E, that would probably be 
best.  Specifically,
while the RT-11 .CHAIN EMT request uses ONLY the FOUR words at user 
memory addresses
octal 500 to 506 (that is under RT-11), it looks like RSTS/E also allows 
the use of the words in
the common area (address at octal location 54) to specify the file to be 
CHAINed to.  The PPN
is at the first location and is the most important and some 
documentation suggests that when that
first word is non-zero, it is used as the PPN to open the file specified 
by the FOUR words at 500
to 506.  Can anyone confirm of deny this information?  Can anyone make 
available or suggest
where to find a RSTS/E disk image which I can use for testing the RT-11 
.Chain EMT request?

>>>> I remember using FORTRAN IV with VIRTUAL around 1985.  The 
>>>> application used
>>>> around 1 MB of arrays in extended memory via the MMU.  Somewhere in 
>>>> the DECUS
>>>> stuff, there is alternative code which can use on-disk data instead 
>>>> which is a reasonable fit
>>>> when the memory is used as a small disk drive.  Under RT-11, the 
>>>> VM: device handler
>>>> worked well to reduce and actual disk drive's relatively slow 
>>>> transfer rates.
>>>
>>> I find that rather unlikely. The array indexing is still just done 
>>> using a 16-bit integer, which limits the size of a virtual array to 
>>> 65536 elements. Even with INTEGER*4, that would only become 256K. 1M 
>>> is just not possible to address with virtual arrays in PDP-11 
>>> FORTRAN. Neither using FIV or F77.
>>
>> Reading through the F77 manual right now, it is a little unclear if 
>> multidimensional arrays are allowed to be larger.
>> It might be that you can create structures the size of 1M or more 
>> with multidimensional arrays...
>> I don't have the FIV manual nearby, so I can't check if it have 
>> better information, or other limits.
>
> Checked now (for F77). You cannot, in F77 for RSX and RSTS/E atleast, 
> have an array with more than 65536 elements total. No matter in how 
> many dimensions you cut it. So no, you cannot create a data structure 
> that is 1M in size under F77 for RSX or RSTS/E. I know that the F77 
> for RT-11 is a separate product, so maybe it behaves differently?

You might have missed the "s" at the end of the words "1 MB of arrays".  
There was more than
one array.  This was an FFT application and there was also a 
co-processor which did the
actual calculations.  So having special hardware is not new to the 
PDP-11.  Having special
features in E11 could be compared to having special hardware on a real 
DEC PDP-11.
Making use of these special features available under E11 would not be 
possible for those
individuals who make the decision to always use real DEC hardware.

As for the maximum index allowed in both FORTRAN IV and F77, I seem to 
remember that
under RT-11 implementations, a 16 bit index (INTEGER * 2) was not 
allowed to have the
high order bit on, i.e. FORTRAN treated them as signed integers rather 
than unsigned.  That
is not to say that an INTEGER * 4 variable could not be used in F77 
which would then allow
a value somewhat over 2,000,000,000 and still be positive, however, I 
don't think that F77
allowed the number of elements of an array to exceed a total of 32767 
whether multi-dimensional
or not.

I don't have the manual handy and, in any case, for something that 
pushes the limit of the
language, I would normally look at the generated code to check for myself.

As for the question about values which are still available for 
instructions, E11 specifically
has hooks which allow a user to write a DLL that handles that opcode.  
In fact, any opcode
can be handled by a DLL, already defined or not.  The DLL would take 
priority and execute
the instruction as per the DLL.  One point is probably helpful to know.  
Setting the condition
code bits after an instruction is emulated probably takes more of the 
effort than producing the
correct result for the instruction, especially since the X86 
instructions set rarely sets up the
corresponding condition codes.  But if the instruction does not need the 
condition code bits
set, then the emulation is rather easier.

In addition, the suggestion of using an IOPAGE register to trigger an 
operation is actually
very astute.  There are DLL hooks which are specifically targeted to 
handle the use of
IOPAGE registers, EMEM.DLL being just one example which can be 
downloaded from
dbit to have a look at the code.  It is quite possible for the DLL to 
change any value in to
PDP-11 registers or memory upon a reference to the IOPAGE register.  Any 
complicated
calculation could also be done.  While it would not be my first priority 
(unless there was
a very good reason to make it my first priority), an E11 emulation of 
that co-processor
that I mentioned which calculates FFT values from an array in virtual 
(extended) memory
would be very possible.

Jerome Fine


  reply	other threads:[~2010-04-30 11:44 UTC|newest]

Thread overview: 146+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08 13:52 QBUS Prototyping Bill Gunshannon
2010-04-08 14:38 ` Scott Dorsey
2010-04-08 14:58 ` Al Kossow
2010-04-08 15:44   ` Bill Gunshannon
2010-04-08 20:46     ` John Wallace
2010-04-08 21:01       ` Bill Gunshannon
2010-04-08 21:58         ` Rob Jarratt
2010-04-08 23:00           ` John Wallace
2010-04-09 11:22             ` David Riley
2010-04-09 18:08           ` Johnny Billquist
2010-04-09 18:22             ` Bill Gunshannon
2010-04-10 19:29               ` Johnny Billquist
2010-04-10 21:05                 ` Bill Gunshannon
2010-04-11  9:50                   ` Johnny Billquist
2010-04-11 14:13                     ` Bill Gunshannon
2010-04-09 19:20             ` glen herrmannsfeldt
2010-04-11 22:08             ` Dennis Boone
2010-04-12 11:41               ` dsnyder
2010-04-12 14:46                 ` Al Kossow
2010-04-13 11:08                   ` dsnyder
2010-04-15 17:27             ` Scott Dorsey
2010-04-15 18:29               ` Al Kossow
2010-04-09 19:14           ` glen herrmannsfeldt
2010-04-09 20:02             ` John Wallace
2010-04-09 20:28               ` David Riley
2010-04-10  1:28               ` glen herrmannsfeldt
2010-04-14 22:28               ` Bob Koehler
2010-04-08 21:59         ` glen herrmannsfeldt
2010-04-08 22:38           ` Bill Gunshannon
2010-04-11 10:16             ` glen herrmannsfeldt
2010-04-11 14:24               ` Bill Gunshannon
2010-04-11 17:10                 ` glen herrmannsfeldt
2010-04-12 21:25                 ` Johnny Billquist
2010-04-12 22:02                   ` John Wallace
2010-04-13  7:34                     ` Johnny Billquist
2010-04-19  2:25                       ` John Santos
2010-04-19 11:50                         ` John Wallace
2010-04-19 10:50                       ` VAXman-
2010-04-24 14:55                         ` Bill Gunshannon
2010-04-12 22:33                   ` glen herrmannsfeldt
2010-04-13  7:53                     ` Johnny Billquist
2010-04-13 12:01                       ` glen herrmannsfeldt
2010-04-16 23:44                         ` Johnny Billquist
2010-04-17  3:15                           ` glen herrmannsfeldt
2010-04-17 21:00                             ` Johnny Billquist
2010-04-18  0:31                               ` glen herrmannsfeldt
2010-04-18 13:23                                 ` Johnny Billquist
2010-04-18 16:58                                   ` glen herrmannsfeldt
2010-04-18 23:02                                     ` Johnny Billquist
2010-04-19  1:39                                       ` glen herrmannsfeldt
2010-04-19 20:22                                         ` Johnny Billquist
2010-04-19 21:27                                           ` glen herrmannsfeldt
2010-04-20 19:36                                           ` Hans Bachner
2010-04-24 15:36                                             ` Steven Schweda
2010-04-25  3:55                                               ` Johnny Billquist
2010-04-25  5:32                                                 ` Steven Schweda
2010-04-25 11:33                                                   ` Johnny Billquist
2010-04-25 12:17                                                     ` glen herrmannsfeldt
2010-04-25 13:31                                                       ` Johnny Billquist
2010-04-25 14:01                                                         ` Steven Schweda
2010-04-25 21:58                                                           ` Johnny Billquist
2010-04-25 13:58                                                     ` Steven Schweda
2010-04-25 21:47                                                       ` Johnny Billquist
2010-04-26 15:40                                                         ` Bob Koehler
2010-04-27  7:37                                                           ` Johnny Billquist
2010-04-27  7:58                                                             ` Bob Eager
2010-04-27 14:56                                                               ` Bob Koehler
2010-04-28  9:06                                                                 ` Johnny Billquist
2010-04-28 12:34                                                                   ` Bob Eager
2010-04-28 14:51                                                                   ` Bob Koehler
2010-04-29  0:18                                                                     ` Johnny Billquist
2010-04-29 15:16                                                                       ` Bob Koehler
2010-04-27 14:53                                                             ` Bob Koehler
2010-04-28  9:11                                                               ` Johnny Billquist
2010-04-28 14:52                                                                 ` Bob Koehler
2010-04-29  0:20                                                                   ` Johnny Billquist
2010-04-29  1:15                                                                     ` Johnny Billquist
2010-04-29  7:01                                                                       ` John Wallace
2010-04-29 11:19                                                                         ` Jerome H. Fine
2010-04-29 18:38                                                                           ` glen herrmannsfeldt
2010-04-29 19:53                                                                             ` Jerome H. Fine
2010-04-29 20:35                                                                               ` glen herrmannsfeldt
2010-04-29 21:43                                                                                 ` Bob Eager
2010-04-30  0:23                                                                                 ` Johnny Billquist
2010-04-30  1:39                                                                                   ` glen herrmannsfeldt
2010-04-30  0:19                                                                               ` Johnny Billquist
2010-04-30 15:04                                                                                 ` Bob Koehler
2010-04-30  0:09                                                                           ` Johnny Billquist
2010-04-30  0:51                                                                             ` Johnny Billquist
2010-04-30  0:58                                                                               ` Johnny Billquist
2010-04-30 11:44                                                                                 ` Jerome H. Fine [this message]
2010-04-30 14:59                                                                             ` Bob Koehler
2010-04-30 18:34                                                                               ` glen herrmannsfeldt
2010-04-29 15:19                                                                         ` Bob Koehler
2010-04-30  0:42                                                                           ` Johnny Billquist
2010-04-30  0:04                                                                         ` Johnny Billquist
2010-04-29 15:17                                                                     ` Bob Koehler
2010-04-27 15:43                                                             ` jjh
2010-04-27 16:04                                                               ` Richard B. Gilbert
2010-04-28  9:20                                                                 ` Johnny Billquist
2010-04-28 16:12                                                                   ` Richard B. Gilbert
2010-04-27 22:27                                                               ` Bob Koehler
2010-04-28  9:18                                                               ` Johnny Billquist
2011-04-18 13:00                                                           ` Bob Koehler
2011-04-18 15:06                                                             ` Johnny Billquist
2011-04-18 12:56                                                     ` Bob Koehler
2011-04-18 15:07                                                       ` Johnny Billquist
2011-04-18 17:26                                                         ` Michael Moroney
2011-04-18 17:53                                                           ` Bob Koehler
2011-04-19  3:35                                                           ` Johnny Billquist
2011-04-19 15:34                                                             ` Michael Moroney
2011-04-19 16:47                                                               ` Johnny Billquist
2011-04-18 17:49                                                         ` Bob Koehler
2011-04-19  3:36                                                           ` Johnny Billquist
2011-04-18 12:52                                   ` Bob Koehler
2011-04-18 15:11                                     ` Johnny Billquist
2011-04-18 17:51                                       ` Bob Koehler
2011-04-19 10:29                                     ` FTP is 40 years old Paul Sture
2010-04-09 14:39         ` QBUS Prototyping Bob Koehler
2010-04-09 16:00           ` Bill Gunshannon
2010-04-09 23:16             ` John E. Malmberg
2010-04-15  6:12           ` Antti Louko
2010-04-15 16:24             ` Run.PDP
2010-04-15 16:46               ` Al Kossow
2010-04-15 17:24                 ` glen herrmannsfeldt
2010-04-15 17:20               ` glen herrmannsfeldt
2010-04-16 23:54                 ` Johnny Billquist
2010-04-16 21:59               ` Bob Koehler
2010-04-16 23:56                 ` Johnny Billquist
2010-04-17  9:24               ` jjh
2010-04-17  9:56                 ` glen herrmannsfeldt
2010-04-17 21:04                   ` Johnny Billquist
2010-04-24 15:54                   ` Bill Gunshannon
2010-04-24 15:52                 ` Bill Gunshannon
2010-04-25  4:00                   ` Johnny Billquist
2010-04-25  6:29                     ` glen herrmannsfeldt
2010-04-25  7:42                       ` Wilm Boerhout
2010-04-25 19:57                         ` Antti Louko
2010-04-25 11:40                       ` Johnny Billquist
2010-04-25 21:47                         ` John Wallace
2010-04-26  0:32                           ` Johnny Billquist
2010-04-15 17:19         ` Scott Dorsey
2010-04-09  1:00       ` Richard
2010-04-09 11:34         ` David Riley
2010-04-09 21:24           ` Richard
2010-04-08 20:18 ` JF Mezei
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