From 3f643b961cc54aa5b198c7edfc354ffec0b28a67 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 22 Jan 2025 16:05:24 +0100 Subject: Remove dependency on TOML MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When I introduced this dependency it looked like a good idea to have a better-looking replacement to cl65's cfg format. That being said, the end result wasn't *much* prettier either, and the end result could be even bigger and equally confusing. Since 5f48de69f46d ("Add support for cfg files") there is quite the framework in order to support regular cl65's cfg files. Hence, this commit takes another approach: let's tune this format to a more compressed and simplified one. This is now the current "nasm cfg" format, and it allowed us to re-use a lot of code while also being more to the point for NES/Famicom development than the original cfg format. With this new format, we can now remove the dependency on TOML and all of the inner dependencies which were quite a lot. Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/src/mappings/nrom65.cfg | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lib/xixanta/src/mappings/nrom65.cfg (limited to 'lib/xixanta/src/mappings/nrom65.cfg') diff --git a/lib/xixanta/src/mappings/nrom65.cfg b/lib/xixanta/src/mappings/nrom65.cfg new file mode 100644 index 0000000..6a90b2d --- /dev/null +++ b/lib/xixanta/src/mappings/nrom65.cfg @@ -0,0 +1,6 @@ +#!nasmcfg + +HEADER: start = $0000, size = $0010, fillval = $00, segments = [HEADER]; +ROM0: start = $8000, size = $7FFA, fillval = $00, segments = [STARTUP CODE]; +ROMV: start = $FFFA, size = $0006, fillval = $00, segments = [VECTORS]; +ROM2: start = $0000, size = $2000, fillval = $00, segments = [CHARS]; -- cgit v1.2.3