summaryrefslogtreecommitdiff
path: root/mappers/mapper_001_0.h
diff options
context:
space:
mode:
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)));