view docs/nitros9guide/disasm.refentry @ 2763:c03464c24b14

Fixed a minor typo in the arcadepak's makefile related to DriveWire3 and Becker. Updated makefile with new option nightlytest. Run option is "make nightlytest". You also need to test environment variable TESTSSHDIR and TESTSSHSERVER before using it. Also updated the nightly option so if the SOURCEUSER environment variable is not set it will report it.
author drencor-xeen
date Wed, 16 Jan 2013 17:33:46 -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 &amp; 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>