Mercurial > hg > Members > kono > nitros9-code
diff docs/nitros9guide/dump.refentry @ 1500:b00cf13c9f61
Major changes for new NitrOS-9 manual
author | boisy |
---|---|
date | Mon, 05 Jan 2004 00:51:19 +0000 |
parents | 4dae346c4969 |
children |
line wrap: on
line diff
--- a/docs/nitros9guide/dump.refentry Thu Dec 25 14:19:21 2003 +0000 +++ b/docs/nitros9guide/dump.refentry Mon Jan 05 00:51:19 2004 +0000 @@ -8,6 +8,9 @@ <cmdsynopsis> <command>dump</command> <arg choice="opt"> + <replaceable>-h -m -x</replaceable> +</arg> +<arg choice="opt"> <replaceable>path</replaceable> </arg> </cmdsynopsis> @@ -33,28 +36,49 @@ dump correspond to the relative load addresses of memory-module files. </para> +<informaltable frame="none"> +<tgroup cols="2"> +<colspec colwidth="1in"/> +<colspec colwidth="4in"/> +<tbody> +<row> +<entry>-h</entry> +<entry>prevent dump from printing its header every 256 bytes</entry> +</row> +<row> +<entry>-m</entry> +<entry>names on the command line are modules in memory</entry> +</row> +<row> +<entry>-x</entry> +<entry>names on the command line are files relative to the execution directory</entry> +</row> +</tbody> +</tgroup> +</informaltable> </refsect1> + <refsect1><title>Examples</title> <screen> -DUMP (display keyboard input in hex) -DUMP myfile >/P (dump myfile to printer) -DUMP shortfile +dump (display keyboard input in hex) +dump myfile >/p (dump myfile to printer) +dump -m kernel (dump the kernel module in memory) </screen> </refsect1> <refsect1><title>Sample Output</title> <screen> - Addr 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 2 4 6 8 A C E - ---- ---- ---- ---- ---- ---- ---- ---- ---- ---------------- - 0000 87CD 0038 002A P181 2800 2E00 3103 FFE0 .M.8.*q.(...1..' - 0010 0418 0000 0100 0101 0001 1808 180D 1B04 ................ - 0020 0117 0311 0807 1500 002A 5445 S2CD 5343 .........*TERMSC - 0030 C641 4349 C10E 529E FACIA.R. + Address 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 2 4 6 8 A C E + -------- ---- ---- ---- ---- ---- ---- ---- ---- ---------------- + 00000000 87CD 0038 002A P181 2800 2E00 3103 FFE0 .M.8.*q.(...1..' + 00000010 0418 0000 0100 0101 0001 1808 180D 1B04 ................ + 00000020 0117 0311 0807 1500 002A 5445 S2CD 5343 .........*TERMSC + 00000030 C641 4349 C10E 529E FACIA.R. - ^ ^ ^ + ^ ^ ^ -starting data bytes in hexadecimal data bytes in -address format ASCII format + starting data bytes in hexadecimal data bytes in + address format ASCII format </screen> </refsect1> </refentry>