Mercurial > hg > Members > kono > nitros9-code
comparison 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 |
comparison
equal
deleted
inserted
replaced
1499:6cd590fc076f | 1500:b00cf13c9f61 |
---|---|
5 </refnamediv> | 5 </refnamediv> |
6 | 6 |
7 <refsynopsisdiv> | 7 <refsynopsisdiv> |
8 <cmdsynopsis> | 8 <cmdsynopsis> |
9 <command>dump</command> | 9 <command>dump</command> |
10 <arg choice="opt"> | |
11 <replaceable>-h -m -x</replaceable> | |
12 </arg> | |
10 <arg choice="opt"> | 13 <arg choice="opt"> |
11 <replaceable>path</replaceable> | 14 <replaceable>path</replaceable> |
12 </arg> | 15 </arg> |
13 </cmdsynopsis> | 16 </cmdsynopsis> |
14 </refsynopsisdiv> | 17 </refsynopsisdiv> |
31 the file. Because memory modules are position-independent and stored | 34 the file. Because memory modules are position-independent and stored |
32 on files exactly as they exist in memory, the addresses shown on the | 35 on files exactly as they exist in memory, the addresses shown on the |
33 dump correspond to the relative load addresses of memory-module | 36 dump correspond to the relative load addresses of memory-module |
34 files. | 37 files. |
35 </para> | 38 </para> |
39 <informaltable frame="none"> | |
40 <tgroup cols="2"> | |
41 <colspec colwidth="1in"/> | |
42 <colspec colwidth="4in"/> | |
43 <tbody> | |
44 <row> | |
45 <entry>-h</entry> | |
46 <entry>prevent dump from printing its header every 256 bytes</entry> | |
47 </row> | |
48 <row> | |
49 <entry>-m</entry> | |
50 <entry>names on the command line are modules in memory</entry> | |
51 </row> | |
52 <row> | |
53 <entry>-x</entry> | |
54 <entry>names on the command line are files relative to the execution directory</entry> | |
55 </row> | |
56 </tbody> | |
57 </tgroup> | |
58 </informaltable> | |
36 </refsect1> | 59 </refsect1> |
60 | |
37 <refsect1><title>Examples</title> | 61 <refsect1><title>Examples</title> |
38 <screen> | 62 <screen> |
39 DUMP (display keyboard input in hex) | 63 dump (display keyboard input in hex) |
40 DUMP myfile >/P (dump myfile to printer) | 64 dump myfile >/p (dump myfile to printer) |
41 DUMP shortfile | 65 dump -m kernel (dump the kernel module in memory) |
42 </screen> | 66 </screen> |
43 </refsect1> | 67 </refsect1> |
44 | 68 |
45 <refsect1><title>Sample Output</title> | 69 <refsect1><title>Sample Output</title> |
46 <screen> | 70 <screen> |
47 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 | 71 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 |
48 ---- ---- ---- ---- ---- ---- ---- ---- ---- ---------------- | 72 -------- ---- ---- ---- ---- ---- ---- ---- ---- ---------------- |
49 0000 87CD 0038 002A P181 2800 2E00 3103 FFE0 .M.8.*q.(...1..' | 73 00000000 87CD 0038 002A P181 2800 2E00 3103 FFE0 .M.8.*q.(...1..' |
50 0010 0418 0000 0100 0101 0001 1808 180D 1B04 ................ | 74 00000010 0418 0000 0100 0101 0001 1808 180D 1B04 ................ |
51 0020 0117 0311 0807 1500 002A 5445 S2CD 5343 .........*TERMSC | 75 00000020 0117 0311 0807 1500 002A 5445 S2CD 5343 .........*TERMSC |
52 0030 C641 4349 C10E 529E FACIA.R. | 76 00000030 C641 4349 C10E 529E FACIA.R. |
53 | 77 |
54 ^ ^ ^ | 78 ^ ^ ^ |
55 | 79 |
56 starting data bytes in hexadecimal data bytes in | 80 starting data bytes in hexadecimal data bytes in |
57 address format ASCII format | 81 address format ASCII format |
58 </screen> | 82 </screen> |
59 </refsect1> | 83 </refsect1> |
60 </refentry> | 84 </refentry> |
61 | 85 |