From 12425e9dd12d706c88a6b5292bf383a343aa9b87 Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Mon, 31 May 2021 01:17:45 +0300 Subject: README.md update --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6ab4b1d..36c8112 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# nesasm CE v3.5 - a 6502 assembler with specific NES support +# nesasm CE v3.6 - a 6502 assembler with specific NES support Just another modification of nesasm. Based on modification by Tim Hentenaar which is based on modification by Bob Rost which is based on modification of nesasm 2.51 from MagicKit which is based on 6502 assembler by J. H. Van Ornum. @@ -17,7 +17,8 @@ Just another modification of nesasm. Based on modification by Tim Hentenaar whic Usage: nesasm [OPTION...] - -D, --equ== Assign a value to a symbol + -C, --sequ== Assign a string value to a symbol + -D, --equ== Assign an integer value to a symbol -f, --symbols[=] Create FCEUX symbol files -F, --symbols-offset= Bank offset for FCEUX symbol files -i, --listing Force listing @@ -46,12 +47,17 @@ Here's a description of the different options: The default is input filename + ".nes" extension. Use '-' for stdout output. - -D = Assign a value to a symbol. + -D = Assign an integer value to a symbol. Example: -D delay=10 It will be equal to: delay .equ 10 at the beginning of your code, also you can use '$' and '%' prefixes for hexadecimal and binary values. + -C = Assign a string value to a symbol. + Example: -C image_file=image.bin + It will be equal to: image_file .sequ "image.bin" + at the beginning of your code. + -f [prefix] Enable generation of symbol files for FCEUX debugger, optionally you can specify filenames prefix. @@ -255,9 +261,11 @@ Other 'special' parameters can be used, here's a list of all the possible parame won't have any effect if you use the '-m' command line option. - EQU - Assign a value to a symbol. The character '=' has + EQU - Assign an integer value to a symbol. The character '=' has the same function too. + SEQU - Assign a string value to a symbol. + BANK - Select a 8KB ROM bank (0-127) and reset the location counter to the latest known position in this bank. -- cgit v1.2.3