aboutsummaryrefslogtreecommitdiff
path: root/lib/xixanta/src/mappings
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xixanta/src/mappings')
-rw-r--r--lib/xixanta/src/mappings/empty.toml12
-rw-r--r--lib/xixanta/src/mappings/nrom.toml27
-rw-r--r--lib/xixanta/src/mappings/nrom65.toml27
-rw-r--r--lib/xixanta/src/mappings/unrom.toml69
4 files changed, 135 insertions, 0 deletions
diff --git a/lib/xixanta/src/mappings/empty.toml b/lib/xixanta/src/mappings/empty.toml
new file mode 100644
index 0000000..ae6312c
--- /dev/null
+++ b/lib/xixanta/src/mappings/empty.toml
@@ -0,0 +1,12 @@
+[HEADER]
+start = 0x0000
+size = 0x0010
+fill = 0x00
+section_type = "Header"
+segments = ["HEADER"]
+
+[ROM0]
+start = 0x8000
+size = 0x8000
+section_type = "PRGROM"
+segments = ["CODE"]
diff --git a/lib/xixanta/src/mappings/nrom.toml b/lib/xixanta/src/mappings/nrom.toml
new file mode 100644
index 0000000..18711a6
--- /dev/null
+++ b/lib/xixanta/src/mappings/nrom.toml
@@ -0,0 +1,27 @@
+[HEADER]
+start = 0x0000
+size = 0x0010
+fill = 0x00
+section_type = "Header"
+segments = ["HEADER"]
+
+[ROM0]
+start = 0x8000
+size = 0x7FFA
+fill = 0x00
+section_type = "PRGROM"
+segments = ["CODE"]
+
+[ROMV]
+start = 0xFFFA
+size = 0x0006
+fill = 0x00
+section_type = "PRGROM"
+segments = ["VECTORS"]
+
+[ROM2]
+start = 0x0000
+size = 0x2000
+fill = 0x00
+section_type = "CHRROM"
+segments = ["CHARS"]
diff --git a/lib/xixanta/src/mappings/nrom65.toml b/lib/xixanta/src/mappings/nrom65.toml
new file mode 100644
index 0000000..d4775e4
--- /dev/null
+++ b/lib/xixanta/src/mappings/nrom65.toml
@@ -0,0 +1,27 @@
+[HEADER]
+start = 0x0000
+size = 0x0010
+fill = 0x00
+section_type = "Header"
+segments = ["HEADER"]
+
+[ROM0]
+start = 0x8000
+size = 0x7FFA
+fill = 0x00
+section_type = "PRGROM"
+segments = ["STARTUP", "CODE"]
+
+[ROMV]
+start = 0xFFFA
+size = 0x0006
+fill = 0x00
+section_type = "PRGROM"
+segments = ["VECTORS"]
+
+[ROM2]
+start = 0x0000
+size = 0x2000
+fill = 0x00
+section_type = "CHRROM"
+segments = ["CHARS"]
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"]