From 4628873cfc53d3bdc7a0834b3edbb02b0b9cf4a7 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sun, 22 Dec 2024 22:40:11 +0100 Subject: Transform mapping configurations into toml files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will allow the creation of configuration files that can live outside of this tree, so developers can fine tune configuration files of their own without having to pick up whatever is currently available. Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/src/mappings/unrom.toml | 69 +++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 lib/xixanta/src/mappings/unrom.toml (limited to 'lib/xixanta/src/mappings/unrom.toml') diff --git a/lib/xixanta/src/mappings/unrom.toml b/lib/xixanta/src/mappings/unrom.toml new file mode 100644 index 0000000..070cfd1 --- /dev/null +++ b/lib/xixanta/src/mappings/unrom.toml @@ -0,0 +1,69 @@ +[HEADER] +start = 0x0000 +size = 0x0010 +fill = 0x00 +section_type = "Header" +segments = ["HEADER"] + +[PRG0] +start = 0x8000 +size = 0x4000 +fill = 0xF8 +section_type = "PRGROM" +segments = ["BANK0"] + +[PRG1] +start = 0x8000 +size = 0x4000 +fill = 0xF9 +section_type = "PRGROM" +segments = ["BANK1"] + +[PRG2] +start = 0x8000 +size = 0x4000 +fill = 0xFA +section_type = "PRGROM" +segments = ["BANK2"] + +[PRG3] +start = 0x8000 +size = 0x4000 +fill = 0xFB +section_type = "PRGROM" +segments = ["BANK3"] + +[PRG4] +start = 0x8000 +size = 0x4000 +fill = 0xFC +section_type = "PRGROM" +segments = ["BANK4"] + +[PRG5] +start = 0x8000 +size = 0x4000 +fill = 0xFD +section_type = "PRGROM" +segments = ["BANK5"] + +[PRG6] +start = 0x8000 +size = 0x4000 +fill = 0xFE +section_type = "PRGROM" +segments = ["BANK6"] + +[PRG] +start = 0xC000 +size = 0x3FFA +fill = 0xFF +section_type = "PRGROM" +segments = ["FIXED"] + +[ROMV] +start = 0xFFFA +size = 0x0006 +fill = 0x00 +section_type = "PRGROM" +segments = ["VECTORS"] -- cgit v1.2.3