tpc2mt - convert tape image in .tpc format to SIMH .tap tape image
tpc2mt FILE ...
tpc2mt converts tape images in the .tpc format to the .tap magnetic tape
container format used by SIMH and other emulators. Multiple files can be given
and the result of the conversion is stored in a file of the same name with the
extension changed to ".tap".
The .tpc tape format consists of blocks of a 2 byte record lengths
followed by the specified number of bytes with a 0 record length indicating
end of file. A similar conversion program exists as mtcvtv23(1) with
the difference that it expects the data part to be padded to even length if
the record size is odd whereas this will read the exact number of bytes.