From a4401bdca203b43f26f6e6e876c57946408e0cfc Mon Sep 17 00:00:00 2001 From: James Churchill Date: Tue, 5 Apr 2011 03:31:07 +1000 Subject: [PATCH] Updated usage documentation in readme. --- Readme.txt | 22 ++++++++++++---------- main.c | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/Readme.txt b/Readme.txt index 30924a6..f9ff826 100644 --- a/Readme.txt +++ b/Readme.txt @@ -237,22 +237,24 @@ This will help show where the subroutines start/end in the code. Usage ----- -dispel [-n] [-h] [-s] [-a] [-x] [-d] - [-b |-r -] [-g ] - [-o ] - +dispel [-n] [-t] [-h] [-l] [-s] [-i] [-a] [-x] [-e] [-p] + [-b |-r -] [-g ] + [-d ] [-o ] Options: (numbers are hex-only, no prefixes) - -n Don't skip SMC header - -h HiROM memory mapping. Default is LoROM. - -s Use shadow ROM addresses (see above.) + -n Skip $200 byte SMC header + -t Don't output addresses/hex dump. + -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. -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 Disassemble bank only. Overrides -r. -r - Disassemble block from to . Omit - to disassemble to end of file. - -g Set origin of disassembled code (see above.) - -o Set file to redirect output to. Default is to the screen. + -g Set origin of disassembled code (see readme.) + -d No disassembly - produce a hexdump with bytes/line. + -o Set file to redirect output to. Default is stdout. File to disassemble. diff --git a/main.c b/main.c index 863b121..a5f0108 100644 --- a/main.c +++ b/main.c @@ -19,7 +19,7 @@ void usage(void) " [-b |-r -] [-g ]\n" " [-d ] [-o ] \n\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" " -h/-l Force HiROM/LoROM memory mapping.\n" " -s/-i Force enable/disable shadow ROM addresses (see readme.)\n"