From 121995bf3f21343848bd3b1d189529883e71044a Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 23 Jan 2025 16:16:11 +0100 Subject: Add a configuration for MMC1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- README.md | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index c39e9f5..5dcd3a9 100644 --- a/README.md +++ b/README.md @@ -29,23 +29,13 @@ $ nasm --stdout awesome.s | hexdump -C 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](./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. +values: `empty`, `nrom`, `nrom65`, `unrom`, `uxrom` and `mmc1`. These values +correspond to the configurations [already bundled](./lib/xixanta/src/mappings) +on this application, which follow a simplified syntax from the +[ld65](https://www.cc65.org/doc/ld65-5.html) one. Alternatively, you can also +pass the path to a configuration file to this flag. This file can either follow +the same [ld65](https://www.cc65.org/doc/ld65-5.html) syntax, or the simplified +one. ## `xa65` -- cgit v1.2.3