[Simh] re. still unable to specify disks larger than 2 GB
-demijohn-
hellpenny at gmail.com
Tue Sep 20 16:11:50 EDT 2005
Good news! I added : -Dlinux ( -DVM_VAX -DUSE_INT64 -DUSE_ADDR64 )
to VAX_OPT in makefile and did: make USE_NETWORK=1 BIN/vax
and was able to specify a 3GB disk:
set rq1 rauser=3048
in vax.ini and $ INIT it / $ MOUNT it with no problem so far. Haven't
tested anything larger
but will within a week or so.
Thanks for the $ HELP
-JM
On 9/19/05, Galen Tackett <gtackett at yahoo.com> wrote:
>
> On Sep 19, 2005, at 12:22 PM, -demijohn- wrote:
>
> > ...
> > From what I can see, these sections of code (in sim_fio.c) are
> > relevant:
> >
> > /* Optimized file open */
> >
> > FILE *sim_fopen (char *file, char *mode)
> > {
> > #if defined (VMS)
> > return fopen (file, mode, "ALQ=32", "DEQ=4096",
> > "MBF=6", "MBC=127", "FOP=cbt,tef",
> > "ROP=rah,wbh", "CTX=stm");
> > -> #elif defined (USE_INT64) && defined (USE_ADDR64) &&
> > defined (linux)
> > -> return fopen64 (file, mode);
> > #else
> > return fopen (file, mode);
> > #endif
> > }
> >
> > The use of the VMS flag above has me puzzled .. I'm not sure if that
> > was defined
> > or what it implies .. I'm trying to build the VAX/VMS emulator
> > obviously ... if VMS
> > is defined looks like it would prevent the fopen64 routine from being
> > called.
> > (I'm probably way off :)
> >
> This VMS-conditionalized code will be compiled if you are using an
> OpenVMS system to compile simh. So don't worry about the VMS part. It
> won't affect you if you compile on linux.
>
> Galen
>
>
More information about the Simh
mailing list