[Simh] SIMH tape images to real tapes

Cory Smelosky b4 at gewt.net
Thu May 15 20:30:46 EDT 2014


On Thu, 15 May 2014, Larry Baker wrote:

> Cory,
>
> I wrote a MagTape Duplicator (MTD) program decades ago in Fortran.  It runs on RSX and (VAX or Alpha) VMS.  Here's the VMS HELP file:
>

I have fortran installed so that should work.

> I used to use it to rescue tapes by splicing pieces together when there were errors, like corrupted ANSI labels.  (By the way, two consecutive tape marks is not necessarily EOT.  An ANSI labelled tape containing an empty file -- ala "touch file" on Unix -- has no blocks in the data portion.  The tape will have ..., HDR labels, TM, (no data blocks) TM, EOF labels, TM, ..., EOF or EOV labels, TM, TM.  The end of an ANSI labelled tape is two consecutive tape marks after the last set of EOF or EOV labels.)
>
> If you modify MTD to use the SIMH on-disk tape image format instead of my own, it should work fine.  There are simple routines that do disk file I/O, like DKOPN (open an image file), DKPUT (put a tape record), DKGET (get a tape record) DKCLS (close an image file).
>
> I'm pretty sure I've asked before, but I forget.  Where is a repository I can upload my code to share?  What format is preferred?
>
> As far as TK50, I always used them exactly as 9-track tapes on RSX and VMS.  From the point of view of the software, you get blocks and tape marks, just like a 9-track.
>

Cool.  So once I figure out the SIMH tape format I'm good to write an 
image to tape with this?

-- 
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Projects



More information about the Simh mailing list