From 5808f00555c48e1cc1cc110af6a5cd73ddf13010 Mon Sep 17 00:00:00 2001 From: Peter Fors Date: Fri, 2 May 2025 23:15:47 +0200 Subject: cleanup and rewrite of ppu_registers.c --- mappers/mapper_002_2.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 mappers/mapper_002_2.h (limited to 'mappers/mapper_002_2.h') diff --git a/mappers/mapper_002_2.h b/mappers/mapper_002_2.h new file mode 100644 index 0000000..b136274 --- /dev/null +++ b/mappers/mapper_002_2.h @@ -0,0 +1,7 @@ + + + +struct mapper_002_2 { + uint8_t *prg_bank0; // $8000–BFFF (switchable) + uint8_t *prg_bank1; // $C000–FFFF (fixed to last 16KB) +} __attribute__((packed, aligned(64))); -- cgit v1.2.3