diff options
Diffstat (limited to 'src/hardware_data/graphics/ppu_rp2c07+mmc2.lua')
-rw-r--r-- | src/hardware_data/graphics/ppu_rp2c07+mmc2.lua | 46 |
1 files changed, 38 insertions, 8 deletions
diff --git a/src/hardware_data/graphics/ppu_rp2c07+mmc2.lua b/src/hardware_data/graphics/ppu_rp2c07+mmc2.lua index fd2973e..d1fbf3d 100644 --- a/src/hardware_data/graphics/ppu_rp2c07+mmc2.lua +++ b/src/hardware_data/graphics/ppu_rp2c07+mmc2.lua @@ -1,9 +1,14 @@ +-- Information: -- +-- PPU (Picture processing unit) -- +-- RP2C07 with MMC2/MMC4 -- +-- (Memory management controller) -- + return { screen = { - width = 256, - height = 240, - vsync = 50.0070, - origin = { + width = 256, + height = 240, + vsync = 50.0070, + origin = { x = 0, y = 0, }, @@ -22,13 +27,13 @@ return { palettes = { { total = 4, - type = 'tile', + type = 'tilePerPalette', colours = 3, layers = false, }, { total = 4, - type = 'sprite', + type = 'spritePerPalette', colours = 3, layers = false, }, @@ -102,8 +107,7 @@ return { -- Total of unique tiles on VRAM -- unique = 512, screenSections = { - mirror = true, - main = { + main = { optional = false, moveSection = false, { @@ -129,6 +133,32 @@ return { }, }, }, + overlay = { + optional = true, + moveSection = false, + { + startSection = { + x = 'free', + y = 'free', + }, + endSection = { + x = 'free', + y = 'free', + }, + size = { + -- Tile size in pixels -- + width = 16, + height = 16, + }, + transform = { + move = false, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + }, + }, }, }, }, |