Mercurial > hg > Members > kono > nitros9-code
view docs/nitros9guide/disasm.refentry @ 2798:b70d93f8d7ce lwtools-port
Updated coco1/modules/makefile and coco3/modules/makefile to help resolve issues with i(x) and s(x) descriptors.
Updated level1/coco1/modules/makefile & level2/coco3/modules/makefile
so that correct values would be sent to assembler when
building superdesc.asm for s(x).dd and i(x).dd descriptors.
author | drencor-xeen |
---|---|
date | Mon, 28 Jan 2013 16:13:05 -0600 |
parents | b00cf13c9f61 |
children |
line wrap: on
line source
<refentry id="disasm"> <refnamediv> <refname>DISASM</refname> <refpurpose>NitrOS-9 Module Disassembler</refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>disasm</command> <group> <arg choice="opt">-m <replaceable>module name</replaceable></arg> <arg choice="plain"><replaceable>filename</replaceable></arg> </group> <arg choice="opt">options</arg> </cmdsynopsis> </refsynopsisdiv> <refsect1><title>Description</title> <para> Disasm was written to hack apart NitrOS-9 system modules,command modules, file managers and device drivers/descriptors either from memory or disk. Unlike most other disassemblers, <command>disasm</command> is a two pass disassembler, creating output using only referenced labels. This output can be redirected to a file and (after modifications if desired) then re-assembled. </para> <para> Disasm provides completely commented disassembly of Device Descriptors... very useful for building a customized boot file. </para> </refsect1> <refsect1><title>Options</title> <variablelist> <varlistentry> <term>disasm -m <replaceable>module name</replaceable></term> <listitem> <para> will link to module in memory - if not found,will load module from exec directory and then link to it...after disassembly,it will attempt to unlink the module. </para> </listitem> </varlistentry> <varlistentry> <term>disasm <replaceable>pathlist/module name</replaceable></term> <listitem> <para> will 'read' the module from the specified path without loading. </para> </listitem> </varlistentry> <varlistentry> <term>other options:</term> <listitem> <para> o = display line number,address,object code & source code... useful for hard to crack modules with data embedded in the middle. </para> <para> x = look for module in execution directory. </para> </listitem> </varlistentry> </variablelist> <para> ANY combination of options is allowed (upper or lower case) but they *must* immediately follow the '-' and there must be no spaces separating the options. </para> </refsect1> </refentry>