<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sat, 14 May 1983 03:33:00 EDT
From   : Keith Petersen <W8SDZ@mit-mc.arpa>
Subject: Converting ITS format COM files

If you can FTP COM files from MIT-MC but have been unable to
come up with a way to remove the four-byte ITS header, here's
good news!  I have written a program which will translate ANY
LENGTH  ITS-format COM file to standard CP/M format.  All you
need to do is get the file onto your CP/M system and then run
this program.  It's called ITSCVT, and the HEX version is available
as AR13:CPM;ITSCVT HEX.  The program allows ambiguous filenames
and prompts the operator as to whether the present file should
be translated, skipped, go continuous (don't ask anymore), or
quit.  It's a cousin of my COPYFILE version 1.5 program.

This program assumes that your mainframe MODEM (umodem,tmodem,
MODEM,XMODEM, etc) program pads the last sector to make it
an even 128 bytes (this is normal for those programs).  Because
of this padding, the ITS-format COM file will be one sector longer
than the original COM file.  This is because the 4-byte header
makes the file 4 bytes longer, of course.  ITSCVT.COM will take
this into consideration, omitting the last sector that was added
because of the padding.

The outfile files have the same name as the input, with a filetype
of .CPM.  They are written to the currently-logged (default)
drive.  The input files may be on any drive.

Source code for this program will not be available at this time,
but I will maintain it.  Bug reports/comments to me, please, or
if you can't remember my username, send them to Info-Cpm-Request@Brl.

Please remember that some versions of the mainframe MODEM programs
already know about ITS COM format file and strip the four bytes for you.
If yours does this, you don't need this program.
--Keith
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>