[Simh] re. still unable to specify disks larger than 2 GB

Hittner, David T. david.hittner at ngc.com
Mon Sep 19 11:51:31 EDT 2005


If the large file code is in sim_fio.c, you might want to look at seeing
if you can #ifdef it so that OS/X  builds with the 64-bit support code.

You can look in sim_ether.c to see what the OS X #ifdef looks like.

Dave

-----Original Message-----
From: simh-bounces at trailing-edge.com
[mailto:simh-bounces at trailing-edge.com] On Behalf Of Galen Tackett
Sent: Monday, September 19, 2005 11:39 AM
To: simh at trailing-edge.com
Subject: [Simh] re. still unable to specify disks larger than 2 GB

JM,

Did you tell us what the host environment is under which simh itself is
running? Maybe I missed it.

I tried to get large disk support working on my simh Vax under OS X
V10.3.9 but discovered that for OS X at least, some of the necessary
code to handle this isn't yet present in simh.

The source file in question is sim_fio.c. At present (simh V3.4-0) it
appears to support large disks only under OpenVMS Alpha, Unix on an
Alpha, (I take it this means Tru64?), Linux, or windows. (Notice how I
subtly put windows last and didn't capitalize it. :-) I haven't examined
it closely enough to ensure that the proper code gets compiled in each
of these cases, but under any other host environment it certainly looks
like it will compile WITHOUT support for large disks.

It might be pretty easy to add this for systems that have inherent
support for 64 bit file offsets, as OS X does. But I haven't tried so
far.

Comments from any of the real simh hotshots?

Galen

_______________________________________________
Simh mailing list
Simh at trailing-edge.com
http://mailman.trailing-edge.com/mailman/listinfo/simh



More information about the Simh mailing list