[Simh] Modifying SimH kit

Jason Stevens jsteve at superglobalmegacorp.com
Tue Oct 18 12:53:14 EDT 2011


On windows I presume, what part of SIMH? the MicroVAX? 11/780? (I'm assuming
VAX because of what was mentioned way below..)
 
I can whip up something, the patch looks trivial but I'd need to know which
thing you want and if you need networking....

-----Original Message-----
From: Patrick Renouvel [mailto:prenouvel at yahoo.fr]
Sent: Tuesday, October 18, 2011 12:50 PM
To: SPC
Cc: simh at trailing-edge.com
Subject: Re: [Simh] Modifying SimH kit


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://plus.google.com/u/0/101292256663392735405> 
http://www.linkedin.com/in/sergiopedraja
<http://www.linkedin.com/in/sergiopedraja> 
http://www.quora.com/Sergio-Pedraja <http://www.quora.com/Sergio-Pedraja> 
https://www.xing.com/profile/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
<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
<http://mailman.trailing-edge.com/mailman/listinfo/simh> 










More information about the Simh mailing list