summaryrefslogtreecommitdiff
path: root/src/hardware_data/graphics/ppu_rp2c02+mmc5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware_data/graphics/ppu_rp2c02+mmc5.lua')
-rw-r--r--src/hardware_data/graphics/ppu_rp2c02+mmc5.lua46
1 files changed, 38 insertions, 8 deletions
diff --git a/src/hardware_data/graphics/ppu_rp2c02+mmc5.lua b/src/hardware_data/graphics/ppu_rp2c02+mmc5.lua
index c8c63ad..8f5e1d7 100644
--- a/src/hardware_data/graphics/ppu_rp2c02+mmc5.lua
+++ b/src/hardware_data/graphics/ppu_rp2c02+mmc5.lua
@@ -1,9 +1,14 @@
+-- Information: --
+-- PPU (Picture processing unit) --
+-- RP2C02 with MMC5 --
+-- (Memory management controller) --
+
return {
screen = {
- width = 256,
- height = 224,
- vsync = 60.0988,
- origin = {
+ width = 256,
+ height = 224,
+ vsync = 60.0988,
+ origin = {
x = 0,
y = -8,
},
@@ -14,7 +19,7 @@ return {
},
colours = {
total = 64,
- limit = 25,
+ limit = false,
transparent = {
sprite = colourKey,
tile = colourKey,
@@ -22,7 +27,7 @@ return {
palettes = {
{
total = 1,
- type = 'global',
+ type = 'palettePerTexel',
colours = 3,
layers = false,
},
@@ -96,8 +101,7 @@ return {
-- Total of unique tiles on VRAM --
unique = 65536,
screenSections = {
- mirror = true,
- main = {
+ main = {
optional = false,
moveSection = false,
{
@@ -123,6 +127,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,
+ },
+ },
+ },
},
},
},