mirror of
https://github.com/open-simh/simtools.git
synced 2026-02-09 17:52:41 +00:00
1) The readme is out-of-date, and unreadable on github 2) Some tools have their own directories, some don't 3) Many tools have neither readme nor descriptions. 4) Some files are misplaced This reorganizes so that each tool has its own directory, even if it only has a single file (Hint: If you use a tool, please add/update READMEs) The master README is complete, and readable on github The tools are in alphabetical order within category. There are some cases where this probably isn't the right thing to do, e.g. where there are separate tools that do "to" and "from" conversions. Each tool has at least a 1-line description in the master readme This commit does not change any tool.
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
mtdump dumps the record structure of a tape image file in SIMH, E11, TPC, or
|
|
P7B format. mtdump is invoked by
|
|
|
|
mtdump {-secp} file1 file2 file3...
|
|
|
|
where -s specifies SIMH format, -e E11 format, -c TPC format, and -p P7B
|
|
format. The default is SIMH format. Output is to stdout, unless redirected.
|
|
|
|
SIMH format is as follows:
|
|
|
|
4 byte record length 1
|
|
record 1
|
|
repeat of 4 byte record length 1
|
|
4 byte record length 2
|
|
record 2
|
|
repeat of 4 byte record length 2
|
|
:
|
|
4 bytes = 00000000 for end of file
|
|
|
|
and so on. Records are padded to even byte length.
|
|
|
|
E11 format is similar to SIMH format, but odd length records are not padded
|
|
to even length.
|
|
|
|
TPC format is as follows:
|
|
|
|
2 byte record length 1
|
|
record 1
|
|
2 byte record length 2
|
|
record 2
|
|
:
|
|
2 bytes = 0000 for end of file
|
|
|
|
and so on. Records are padded to even byte length.
|
|
|
|
P7B format is confined to 7 track tapes, as follows:
|
|
|
|
start of record + first 6b character and parity
|
|
:
|
|
last character
|
|
start of record + first 6b character and parity
|
|
|
|
and so on. A P7B tape must have a dummy "last record" with a start of
|
|
record indicator. A tape mark is indicated by a character of 317 (start
|
|
of record, character 17, wrong parity for odd parity, reserved character
|
|
for even parity).
|
|
|
|
mmdir is a variant of mtdump that dumps the directory structure of an
|
|
Interdata MMD (multimedia diagnostic) tape. The tape must be in SMIH
|
|
format.
|