>Johnny Billquist wrote:
On 2012-02-01 04:56, Jerome H. Fine wrote:
 >Bill Gunshannon wrote:
As an extension to this, you could also add new features, which would be
used when identified as such a machine, but this seems unlikely in general.
But I think new features belongs in the fork mentioned above.
Actually, there is one feature that is in E11 which might
be interesting enough to use as an additional device, as
Johnny has mentioned, which is entirely compatible
with all real and other emulated PDP-11s if anyone
wants to write the code for SimH or produce the
actual hardware for a real DEC PDP-11.

I think I have mentioned what E11 uses as EMEM.DLL
which provides direct access to extremely large numbers
of bytes of PC memory. The DLL activates 4 IOPAGE
registers and when the user program references those
registers (or uses a device driver to reference them), E11
allows the user program to read and write the words.

Under Windows 98SE, I only have 768 MB of memory
on the system, but EMEM.DLL (I modified my version
supplied by John Wilson) allows me to allocate and access
up to 600 MB of PC memory. When I tested E11 on
a Windows XP system with 3 GB of physical memory,
EMEM.DLL allows me to access 1280 MB of PC
memory.

Since accessing the memory needed assembler subroutines
when I used FORTRAN 77, I wrote some that changed
to code the first time each subroutine was used to be inline
code instead of having the overhead of the CALL.

For those interested in the details, the 4 IOPAGE registers
are used as follows:
CSR+0: Read or Write the word - Mov @#CSR,R0 // Mov R0,@#CSR
CSR+2: Read or Write the word, then auto-increment 32 bit address
CSR+4: low order 16 bits of byte offset of PC memory - read/write
CSR+6: high order 16 bits of byte offset of PC memory- read/write

One additional question. E11 has a device called HD: or Hypothetical Disk.
It is very simple and supports GB of disk files as a device. Would anyone
be interested in supporting this hardware under SimH? It is just
as simple as the RK05, probably more so, but I don't use SimH
enough to want to spend the time. Is anyone interested?

But this is not E11 specific. It's a device. You just need to inform the system if this device exist or not, no matter what machine you have. It's not an E11-unique thing.

This is my objection. You are assuming that a device that you (currently) have on an E11 for some reason must be an E11-specific thing, and thus you are willing to jump to the conclusion that you can figure out if this device exist on the basis of if you are running under E11 or not. I think this is totally wrong.
I did not make my interest in HD: clear enough.

The ONLY reason I am suggesting it is because
under E11, when only disk I/O is taking place in
RT-11, the transfer rate is about twice the speed
of the MSCP device.  I can only assume that the
slower transfer rate is because the overhead of the
code to perform MSCP emulation is so much
higher than the HD: interface emulation.

Plus, the HD: device driver requires much less
code than the DU: device driver.

I have partially finished two additional versions
to use under E11:
(a) One which substitute for the VM: device so
that emulated memory is not used up - plus this
VM: device driver can have as large a "disk
drive" as the user wants since it is not limited
to a maximum of the 4 MB of the emulated
PDP-11 memory.
(b)  Another which supports extended device
drivers or up to 64 RT-11 partitions.

Both have code to support a software READ
ONLY setting of the whole device - something
which I seem to remember that DEC used to
have, perhaps with the RX02 floppy..

So being able to have an HD: under SIMH would
NOT in any way be used to test if E11 or SimH
was running.

However, as I said, I don't use SimH enough to
justify having HD: code for SimH.

Jerome Fine