cmddump1
Simulated trs-80 cmd file loader
Usage
cmddump [-d]
[-i
n]
[-m]
[-p
entry]
[-q]
[-s]
[-t]
[-x]
infile
[outfile
startbyte
nbytes]
Overview
cmddump displays information about TRS-80 DOS CMD (binary executable) files. It takes a mandatory input CMD file infile, and an optional triplet of arguments: an output file outfile, a starting offset of startbyte into the CMD file infile, and a number of bytes to dump, nbytes. If startbytes is specified, the given byte range is dumped from the simulated memory after loading.
The numeric arguments, including that to the option -i, may be given in any format recognized by strtol(3); in other words, traditional C literals for decimal, octal, and hexadecimal.
Options
The optional arguments and their parameters direct cmddump as follows.
-
-d -
print detailed map; same as
-m, but do not coalesce adjacent blocks
-
-i n -
select ISAM entry n
-
-m -
print running load map as file is parsed, coalescing adjacent blocks (implies
-t); default
-
-p entry -
select PDS entry entry;
cmddumpwill truncate or right-pad entry with spaces, as needed, to the required fixed field width
-
-q -
quiet; turns off
-d,-m,-s, and-t(later flags can override)
-
-s -
print summary load map after file is parsed
-
-t -
print text of module headers, PDS headers, patch names, and copyright notices
-
-x -
ignore anything after the first transfer address
Releases
14 releases since Debian 2.1 (Slink); the text changed 3 times.
-d since Debian 3.0 (Woody);
-i since Debian 3.0 (Woody);
-m since Debian 3.0 (Woody);
-p since Debian 3.0 (Woody);
-q since Debian 3.0 (Woody);
-s since Debian 3.0 (Woody);
-t since Debian 3.0 (Woody);
-x since Debian 3.0 (Woody).