aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-22 23:33:33 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-22 23:33:33 +0100
commit4115d83eb537ffbd81e2fd8d12790a8fad769199 (patch)
treeb55c6b73a488d6dab7631463ec22cb575c7e29b9 /README.md
parent4628873cfc53d3bdc7a0834b3edbb02b0b9cf4a7 (diff)
downloadtools.nes-4115d83eb537ffbd81e2fd8d12790a8fad769199.tar.gz
tools.nes-4115d83eb537ffbd81e2fd8d12790a8fad769199.zip
nasm: Allow file paths for the configuration
This opens up the door for developers to pass their own configuration files. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 15 insertions, 6 deletions
diff --git a/README.md b/README.md
index 7d29b1a..bbc281e 100644
--- a/README.md
+++ b/README.md
@@ -30,12 +30,21 @@ By default it will assume the configuration for an `NROM` mapper, but this can
be changed with the `-c/--configuration` flag, which accepts the following
values:
-- `empty`: just `HEADER` and `CODE`. Useful for one-liners (e.g. "how is this
- instruction encoded in binary?").
-- `nrom`: the default configuration. It has the following segments: `HEADER`,
- `CODE`, `VECTORS`, and `CHARS`.
-- `nrom65`: same as `nrom` but it also has `STARTUP` for compatibility with the
- default linker configuration from [cc65](https://github.com/cc65/cc65).
+- [empty](./lib/xixanta/src/mappings/empty.toml): just `HEADER` and `CODE`.
+ Useful for one-liners (e.g. "how is this instruction encoded in binary?").
+- [nrom](./lib/xixanta/src/mappings/nrom.toml): the default configuration.
+ It has the following segments: `HEADER`, `CODE`, `VECTORS`, and `CHARS`.
+- [nrom65](./lib/xixanta/src/mappings/nrom65.toml): same as `nrom` but it
+ also has `STARTUP` for compatibility with the default linker configuration
+ from [cc65](https://github.com/cc65/cc65).
+- [unrom or uxrom](./lib/xixanta/src/mappings/unrom.toml): a configuration for
+ UxROM chips, with seven swappable banks bound at 0x8000 and 16KB of size
+ (`PRG0`..`PRG6`), and a fixed bank on 0xC000 and 16KB of size as well
+ (`FIXED`).
+
+Alternatively, you can also pass a path to a configuration of your own. Check
+out the [ones already bundled](./lib/xixanta/src/mappings) on this application
+for reference.
## `readrom`