<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 1/2/2016 2:46 PM, Mark Pizzolato
wrote:<br>
</div>
<blockquote
cite="mid:03006E3FC39B5A48AB9DBCCC101090A82DC14B7A60@REDROOF2.alohasunset.com"
type="cite">
<pre wrap="">On Saturday, January 2, 2016 at 2:41 PM, Christian Gauger-Cosgrove wrote:
Here's the "show version" output for completeness' sake:
sim> show version
PDP-11 simulator V4.0-0 Beta
Simulator Framework Capabilities:
32b data
32b addresses
Ethernet Packet transports:PCAP:NAT:UDP
Idle/Throttling support is available
Virtual Hard Disk (VHD) support
RAW disk and CD/DVD ROM support
Asynchronous I/O support
FrontPanel API Version 1
Host Platform:
Compiler: Microsoft Visual C++ 15.00.30729.01
Simulator Compiled: Dec 19 2015 at 12:51:02
Memory Access: Little Endian
Memory Pointer Size: 32 bits
<font color="#ff0000">Large File (>2GB) support</font>
PCRE RegEx support for EXPECT commands
OS clock resolution: 1ms
Time taken by msleep(1): 1ms
OS: Windows:
Microsoft Windows [Version 6.1.7601]
Intel64 Family 6 Model 58 Stepping 9, GenuineIntel - x86-AMD64
git commit id: ca4a6901
</pre>
<pre wrap="">
</pre>
</blockquote>
<br>
I noticed in compiling SIMH on my Windows 7 64b system running 32b
cygwin that large file support<br>
is not detected by SIMH configuration (altho CYGWIN does support the
fseeko/ftello routines with a 64b<br>
offset value, as is required) in this environment.<br>
<br>
I modified <font color="#cc0000">sim_fio.h</font> and<font
color="#990000"> sim_fio.c </font>to enable large file support
detection for CYGWIN as follows and recompiled<br>
without issue. Running my 2.11BSD image .dsk files on the resultant
PDP11 simulator works as expected.<br>
<br>
<tt>simh-master[636] diff -b sim_fio.h*</tt><tt><br>
</tt><tt>44c44</tt><tt><br>
</tt><tt>< defined (_WIN32) <font color="#ff0000">||
defined (__CYGWIN__)</font> || defined (__APPLE__) || \</tt><tt><br>
</tt><tt>---</tt><tt><br>
</tt><tt>> defined (_WIN32) || defined (__APPLE__) || \</tt><tt><br>
</tt><tt>simh-master[637] diff -b sim_fio.c*</tt><tt><br>
</tt><tt>337c337</tt><tt><br>
</tt><tt>< #if defined (__APPLE__) || defined (__FreeBSD__) ||
defined(__NetBSD__) || defined (__OpenBSD__) <font
color="#ff0000">|| defined (__CYGWIN__)</font></tt><tt><br>
</tt><tt>---</tt><tt><br>
</tt><tt>> #if defined (__APPLE__) || defined (__FreeBSD__) ||
defined(__NetBSD__) || defined (__OpenBSD__)<br>
</tt><br>
Now says:<tt><br>
<br>
simh-master[638] pdp11<br>
<br>
PDP-11 simulator V4.0-0 Beta git commit id: 59947e8c<br>
sim> show version<br>
PDP-11 simulator V4.0-0 Beta<br>
Simulator Framework Capabilities:<br>
32b data<br>
32b addresses<br>
Ethernet Packet transports:PCAP:NAT:UDP<br>
Idle/Throttling support is available<br>
Virtual Hard Disk (VHD) support<br>
Asynchronous I/O support<br>
FrontPanel API Version 1<br>
Host Platform:<br>
Compiler: GCC 4.9.3<br>
Simulator Compiled: Jan 2 2016 at 20:03:43<br>
Memory Access: Little Endian<br>
Memory Pointer Size: 32 bits<br>
<font color="#ff0000">Large File (>2GB)
support <<========= used to say 'No large file support'</font><br>
RegEx support for EXPECT commands<br>
OS clock resolution: 1ms<br>
Time taken by msleep(1): 1ms<br>
OS: CYGWIN_NT-6.1-WOW lenovoS30w7 2.3.1(0.291/5/3)
2015-11-14 12:42 i686 Cygwin<br>
<br>
git commit id: 59947e8c<br>
<br>
</tt>Don<br>
<br>
</body>
</html>