[Simh] Modifying SimH kit
Patrick Renouvel
prenouvel at yahoo.fr
Tue Oct 18 12:49:56 EDT 2011
Hi Sergio,
I just wanted to change the c sim_fio.c file as Matt told me to do, but
unfortunately I don't know how to rebuild the kit :-(
Hope I'm more clear :-)))
Thanks for your answer anyway.
Patrick.
Le 18/10/2011 16:59, SPC a écrit :
> Pardon me, Patrick, but reading your first message I am not sure about
> your problem with SIMH.
>
> Regards.
> --
> Saludos - Greetings - Freundliche Grüße - Salutations
>
> Sergio Pedraja
> <http://www.linkedin.com/in/sergiopedraja>
> twitter: @sergio_pedraja
> http://plus.google.com/u/0/101292256663392735405
> http://www.linkedin.com/in/sergiopedraja
> http://www.quora.com/Sergio-Pedraja
> https://www.xing.com/profile/Sergio_Pedraja
> -----
> No crea todo lo que ve, ni crea que está viéndolo todo
>
>
> 2011/10/18 Patrick Renouvel <prenouvel at yahoo.fr
> <mailto:prenouvel at yahoo.fr>>
>
> Hi all,
>
> Any help please ? :-(((
>
> Tha.
>
> Patrick.
>
>
>
> Le 06/10/2011 11:06, Patrick Renouvel a écrit :
>
> Hi All,
>
> I received a precious help from Matt (thanks a lot Matt)
>
> Unfortunately I'm really bad with make, compiling and linking kits
>
> Could someone help me in this way ?
>
> Thanks a lot by advance .
>
> Kind regards.
>
> Patrick.
>
>
> ==================================================
>
>
> This configuration works fine, I've used it several times
> before. Under Linux no changes should be needed to the Simh
> code but under Windows you will need to change sim_fio.c as
> follows:
>
> #include "sim_defs.h"
>
> change to:
>
> #include <share.h>
> #include "sim_defs.h"
>
> ---
>
> return fopen64 (file, mode);
> #else
> return fopen (file, mode);
> #endif
>
> change to:
>
> return fopen64 (file, mode);
> #else
> return _fsopen (file, mode, _SH_DENYNO);
> #endif
>
> This will prevent exclusive locking on the image file. I don't
> know if any changes are needed to the other supported platforms.
>
> I also did a demo last year with storageworks disks on a
> shared SCSI bus between a PC and a VAX 4000-200 (with a CMD
> MSCP/SCSI card). The system disk was a host based shadow set
> made up from two of the SCSI disks, maintained by Simh and the
> real VAX.
>
> Matt
>
> ===================================================================================
>
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com <mailto:Simh at trailing-edge.com>
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
>
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com <mailto:Simh at trailing-edge.com>
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20111018/38b76909/attachment-0002.html>
More information about the Simh
mailing list