Updated usage documentation in readme.
This commit is contained in:
parent
c0e0f54e3f
commit
a4401bdca2
2 changed files with 13 additions and 11 deletions
22
Readme.txt
22
Readme.txt
|
@ -237,22 +237,24 @@ This will help show where the subroutines start/end in the code.
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
dispel [-n] [-h] [-s] [-a] [-x] [-d]
|
dispel [-n] [-t] [-h] [-l] [-s] [-i] [-a] [-x] [-e] [-p]
|
||||||
[-b <bank>|-r <startaddr>-<endaddr>] [-g <origin>]
|
[-b <bank>|-r <startaddr>-<endaddr>] [-g <origin>]
|
||||||
[-o <outfile>] <infile>
|
[-d <width>] [-o <outfile>] <infile>
|
||||||
|
|
||||||
Options: (numbers are hex-only, no prefixes)
|
Options: (numbers are hex-only, no prefixes)
|
||||||
-n Don't skip SMC header
|
-n Skip $200 byte SMC header
|
||||||
-h HiROM memory mapping. Default is LoROM.
|
-t Don't output addresses/hex dump.
|
||||||
-s Use shadow ROM addresses (see above.)
|
-h/-l Force HiROM/LoROM memory mapping.
|
||||||
|
-s/-i Force enable/disable shadow ROM addresses (see readme.)
|
||||||
-a Start in 8-bit accumulator mode. Default is 16-bit.
|
-a Start in 8-bit accumulator mode. Default is 16-bit.
|
||||||
-x Start in 8-bit X/Y mode. Default is 16-bit.
|
-x Start in 8-bit X/Y mode. Default is 16-bit.
|
||||||
-d Turn off bank-boundary enforcement (see above.)
|
-e Turn off bank-boundary enforcement. (see readme.)
|
||||||
|
-p Split subroutines by placing blank lines after RTS,RTL,RTI
|
||||||
-b <bank> Disassemble bank <bank> only. Overrides -r.
|
-b <bank> Disassemble bank <bank> only. Overrides -r.
|
||||||
-r <start>-<end> Disassemble block from <start> to <end>.
|
-r <start>-<end> Disassemble block from <start> to <end>.
|
||||||
Omit -<end> to disassemble to end of file.
|
Omit -<end> to disassemble to end of file.
|
||||||
-g <origin> Set origin of disassembled code (see above.)
|
-g <origin> Set origin of disassembled code (see readme.)
|
||||||
-o <outfile> Set file to redirect output to. Default is to the screen.
|
-d <width> No disassembly - produce a hexdump with <width> bytes/line.
|
||||||
|
-o <outfile> Set file to redirect output to. Default is stdout.
|
||||||
<infile> File to disassemble.
|
<infile> File to disassemble.
|
||||||
|
|
||||||
|
|
||||||
|
|
2
main.c
2
main.c
|
@ -19,7 +19,7 @@ void usage(void)
|
||||||
" [-b <bank>|-r <startaddr>-<endaddr>] [-g <origin>]\n"
|
" [-b <bank>|-r <startaddr>-<endaddr>] [-g <origin>]\n"
|
||||||
" [-d <width>] [-o <outfile>] <infile>\n\n"
|
" [-d <width>] [-o <outfile>] <infile>\n\n"
|
||||||
"Options: (numbers are hex-only, no prefixes)\n"
|
"Options: (numbers are hex-only, no prefixes)\n"
|
||||||
" -n Skip 0x200 byte SMC header\n"
|
" -n Skip $200 byte SMC header\n"
|
||||||
" -t Don't output addresses/hex dump.\n"
|
" -t Don't output addresses/hex dump.\n"
|
||||||
" -h/-l Force HiROM/LoROM memory mapping.\n"
|
" -h/-l Force HiROM/LoROM memory mapping.\n"
|
||||||
" -s/-i Force enable/disable shadow ROM addresses (see readme.)\n"
|
" -s/-i Force enable/disable shadow ROM addresses (see readme.)\n"
|
||||||
|
|
Loading…
Reference in a new issue