>Johnny Billquist wrote:
:-)
Ok, people have *some* interest. But not at the level, or around the
things that Jerome do.
Mostly, my interest is in fixing the bugs in RT-11 along with
adding enhancements that are completely independent of the
PDP-11 implementation, i.e hardware or emulation.
I also find it interesting to add enhancements which depend
on E11 support including a VM(X).SYS device driver which
uses PC memory rather than emulated PDP-11 memory
(which can be as large as a TB although I usually tend to
stick with a maximum of 96 MB or 3 RT-11 partitions, VM0:
for the normal data device, VM1: for an additional data
device followed by VM2: for the SY: device which is
obviously impossible under RT-11 when the absolute limit is
less than 4 MB even for VM0: unless actual physical memory
is available to extend that - I think that MBG did that once)
and FORTRAN callable subroutines which support direct
access to PC memory again as large as a TB (it should be
very easy to modify the FORTRAN support for VIRTUAL
to use PC memory rather than emulated PDP-11 memory
or a file - which would substantially increase both the size
of VIRTUAL arrays along with the speed of access).
I
know I don't. I just can't help enjoying talking about the machine. As
for hacking RSX, I mostly do that on my own, and spread it to
interested people through other channels.
With RT-11, there does not seem to be much interest any
more. I can't remember anyone being interested in any
enhancements to RT-11, let alone any bug fixes. The
rare individual who comments on bugs in RT-11 is usually
extremely doubtful that there are any significant bugs, let
alone bugs that are able to crash RT-11 or cause totally
unpredictable behaviour.
I have probably asked this question before, but this time
there is a very specific purpose. Under a mapped RT-11
such as RT11XM, a user job can run with the PSW set
to either 14xxxx or 17xxxx, the difference being that while
Current Mode must be USER, the Previous Mode can
be either KERNEL or USER, respectively. While almost
all instructions operate using the Current Mode bits, IF the
Previous Mode bits are set to USER in the PSW, then the
user has no direct access to KERNEL memory. HOWEVER,
IF the Previous Mode bits are set to KERNEL in the PSW,
then the MFPI instruction allows read access to the RT-11
monitor AND the MTPI instruction allows write access to
the RT-11 monitor ALONG with the rest of PDP-11 memory
via the UISARn registers (in the IOPAGE) if the user program
modifies those registers as well.
Note that when an RT-11 user job executes as a privileged
background job, the PSW is set to 14xxxx since there is not
much point in the PSW being 17xxxx when the UISARn
registers are set the same as the KISARn registers - more
specifically UISAR7 which provides the user job direct
access to the IOPAGE registers. But, when VBGEXE
is used to initiate a virtual job, the PSW is set to 17xxxx
just before control is passed to the user job. However,
the .Poke EMT request supports the ability of the user
to request that the PSW be set back to 14xxxx*. This
provides even a virtual job with direct access to the IOPAGE
registers via the MTPI and MFPI instructions with only
a negligible extra overhead.
I presume that RSX-11 has the same operational aspects and
that almost all user programs run with the PSW set to 17xxxx.
Can you pleases confirm this assumption? Under RSX-11,
are there any situations or circumstances when a user program
might be allowed to and would wish to run with the PSW set
to 14xxxx? Would that be allowed just for a limited number
of instructions or might it be done for a number of minutes?
Obviously, the MTPI instruction would give the user total
control over the hardware via direct access to all memory
and IOPAGE registers.
Specifically, does RSX-11 allow a user job to run with the
PSW set to 14xxxx? If so, under what circumstances and
restrictions such as for a limited length of time? I think that
you stated before that RSX-11 does not support the PSW
with a value of 14xxxx for jobs running in user mode, but
just in case there are exceptions, I wanted to ask again.
In addition, if anyone understands RSTS/E well enough to
answer the same questions, that would also be extremely
helpful.
Jerome Fine
* It is probably useful to note that the .Poke EMT request
NEVER alters the 2 upper bits of the PSW. Thus a request
to .Poke the value of "000000" into the PSW by a user job
still leaves the PSW set to 140000. Likewise, the T bit
is also unaffected.