summaryrefslogtreecommitdiff
path: root/mappers/mapper_001_0.h
diff options
context:
space:
mode:
authorPeter Fors <peter.fors@mindkiller.com>2025-05-08 21:03:43 +0200
committerPeter Fors <peter.fors@mindkiller.com>2025-05-08 21:03:43 +0200
commite28ad1546509de31b706f0fd300a906e5bc55199 (patch)
tree40d708336cf770b8c68302bd32b069951a3df428 /mappers/mapper_001_0.h
parentda9d961bbc3662064599f4b0b4759a2c641924a2 (diff)
new and changed mappers
Diffstat (limited to 'mappers/mapper_001_0.h')
-rw-r--r--mappers/mapper_001_0.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/mappers/mapper_001_0.h b/mappers/mapper_001_0.h
new file mode 100644
index 0000000..deb0e29
--- /dev/null
+++ b/mappers/mapper_001_0.h
@@ -0,0 +1,14 @@
+
+struct mapper_001_0 {
+ uint8_t shift;
+ uint8_t shift_count;
+ uint8_t control;
+ uint8_t prg_bank;
+ uint8_t chr_bank0;
+ uint8_t chr_bank1;
+
+ uint8_t *prg_rom_0;
+ uint8_t *prg_rom_1;
+ uint8_t *chr_bank_0;
+ uint8_t *chr_bank_1;
+} __attribute__((packed, aligned(64)));