Oops.  Sent this to Tim only instead of list.<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Michael Richter</b> <span dir="ltr"><<a href="mailto:ttmrichter@gmail.com">ttmrichter@gmail.com</a>></span><br>
Date: 5 May 2010 21:45<br>Subject: Re: [Simh] Making tape/disk images<br>To: "Shoppa, Tim" <<a href="mailto:tshoppa@wmata.com">tshoppa@wmata.com</a>><br><br><br><div class="im"><div class="gmail_quote">On 5 May 2010 20:59, Shoppa, Tim <span dir="ltr"><<a href="mailto:tshoppa@wmata.com" target="_blank">tshoppa@wmata.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Al writes:<br>
> On 5/3/10 12:30 PM, Tim Newsham wrote:<br>
>> the code that reads tape images in simh can also<br>
>> read from a directory instead of a tape image.<br>
><br>
<br>
>and create what type of on-tape directory structure?<br>
<br>
>tape image code knows of nothing above tape blocks and<br>
>file marks.<br>
<br>
</div>Al hits the issue exactly on the head.<br>
<br>
If SIMH only had to emulate one operating system, with one OS/application tape format, then I think the concept of a "virtual filesystem tape image" would be OK.<br>
<br>
But SIMH is used with dozens of OS's, with hundreds of different tape formats. Seems like things spin out of control to support them all inside SIMH.<br>
<br>
Now, tools that can manipulate files and load them into tape and disk images in OS-specific formats, or go the other way and extract files from tape and disk images, has a long tradition. Going back to at least the 1970's. My gut feeling is to extend this tradition, not abandon it.<br>


<div><div></div><div></div></div></blockquote></div><div><br></div></div>Would it not be possible to make a general-purpose tape archive system that has mid-end plugins for the OS-specific formats and back-end plug-ins for the simulated physical formats?  This way a single tool with a single command line could be made that allows things like (example command lines only):<div>

<ul><li>simtar --create --file=myfile.tap --file-system=RSTS9 --tape-format=SIMH ./*</li><li>simtar --extract --file=myfile.tcp --file-system=VMS --tape-format=TPC</li></ul><div>Unless someone can see any reason why this is intrinsically impossible, I wouldn't mind taking a crack at such a program written in some scripting language for proof of concept (and maybe even final form -- I don't see any particular advantage to writing something like this in C since performance won't be a huge issue).  Since I'm screwing around with RSTS right now my first version would be for RSTS, naturally.  I could then pop the code up somewhere for others to hack onto for other formats.  As new emulators get attached, new operating systems get resurrected, etc. the program could be expanded with plug-ins.</div>
<div class="im">
<br>-- <br>"Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot."<br>

--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.<br>
</div></div>
</div><br><br clear="all"><br>-- <br>"Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot."<br>
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.<br>