[Simh] Porting simh for IBM VM/CMS

Jordi Guillaumes i Pons jg at jordi.guillaumes.name
Wed Jul 29 03:02:38 EDT 2015


Sorry for top posting.

Write a remapping macro to convert from the array index to the EBCDIC encoding. Use conditional compilation so when the target OS is not VM or MVS it does nothing and returns the original index.

Jordi Guillaumes Pons


El 29/07/2015, a les 7:06, rubhone at aol.com va escriure:
> I have made substantial progress in an attempt to run simh under IBM's VM/370 CMS environment.
> 
> Difficulties include:
> 	lack of a proper "make" facility
> 	external reference and symbolic names limited to 8 characters
> 	no hierarchical file system
> 	OS dependencies for file I/O, timers, etc.
> 	file system preference for fixed length 80 byte record-oriented files
> 		makes importing source code awkward
> 
> Despite all of this, I am currently able to compile, load and execute the simh scp for a
> target ALTAIR system.   Console interactions (set/show) are fine, and the sim will run
> "do" files upon startup and interactively.
> 
> I am currently trying to get the "attach <dev> <file>" code working.  This made me realize
> that a compiler (gcc) warning regarding sim_switches and SWMASK is a real issue.
> 
> The EBCDIC character set used on IBM systems has gaps in the codes for "A" to "Z",
> occupying an integer range of 41 values.  This causes the left shift in SWMASK to exceed
> the defined size of int32 for sim_switches.
> 
> My broad range of old-school programming by no means makes me an expert in C.
> Any ideas on a compact solution for this character set problem?
> 
> Regards,
> Fritz
> 
> 
> _______________________________________________
> Simh mailing list
> 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/20150729/a84f6ce9/attachment.html>


More information about the Simh mailing list