<font color='black' size='2' face='arial'>I have made substantial progress in an attempt to run simh under IBM's VM/370 CMS environment.
<div><br>
</div>
<div>Difficulties include:</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>lack of a proper "make" facility</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>external reference and symbolic names limited <span style="font-size: 10pt;">to 8 characters</span></div>
<div><span style="font-size: 10pt;"><span class="Apple-tab-span" style="white-space:pre"> </span>no hierarchical file system</span></div>
<div><span style="font-size: 10pt;"><span class="Apple-tab-span" style="white-space:pre"> </span>OS dependencies for file I/O, timers, etc.</span></div>
<div><span style="font-size: 10pt;"><span class="Apple-tab-span" style="white-space:pre"> </span>file system preference for fixed length 80 byte record-oriented files</span></div>
<div><span style="font-size: 10pt;"><span class="Apple-tab-span" style="white-space:pre"> </span>makes importing source code awkward</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;">Despite all of this, I am currently able to compile, load and execute the simh scp for a</span></div>
<div><span style="font-size: 10pt;">target ALTAIR system. Console interactions (set/show) are fine, and the sim will run</span></div>
<div><span style="font-size: 10pt;">"do" files upon startup and interactively.</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;">I am currently trying to get the "attach <dev> <file>" code working. This made me realize</span></div>
<div><span style="font-size: 10pt;">that a compiler (gcc) warning regarding sim_switches and SWMASK is a real issue.</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;">The EBCDIC character set used on IBM systems has gaps in the codes for "A" to "Z",</span></div>
<div><span style="font-size: 10pt;">occupying an integer range of 41 values. This causes the left shift in SWMASK to exceed</span></div>
<div><span style="font-size: 10pt;">the defined size of int32 for sim_switches.</span></div>
<div><br>
</div>
<div>My broad range of old-school programming by no means makes me an expert in C.</div>
<div>Any ideas on a compact solution for this character set problem?</div>
<div><br>
</div>
<div>Regards,</div>
<div>Fritz</div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;"><br>
</span></div>
</font>