diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2017-01-06 21:03:58 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2017-01-06 21:03:58 -0300 |
commit | 9281736e6204673b55780bafa500b75245053a24 (patch) | |
tree | 93d7cab2da2bcae1742cc9b6f85a8aa9f30c984c /src/hardware_data/graphics/ppu_rp2c07+mmc5.lua | |
parent | 16c41d780aa2df940082bbd2b28e78b22ad9cbaf (diff) |
Update graphics modes (ppu_rp2c0x)
Diffstat (limited to 'src/hardware_data/graphics/ppu_rp2c07+mmc5.lua')
-rw-r--r-- | src/hardware_data/graphics/ppu_rp2c07+mmc5.lua | 46 |
1 files changed, 38 insertions, 8 deletions
diff --git a/src/hardware_data/graphics/ppu_rp2c07+mmc5.lua b/src/hardware_data/graphics/ppu_rp2c07+mmc5.lua index 0654619..04aab84 100644 --- a/src/hardware_data/graphics/ppu_rp2c07+mmc5.lua +++ b/src/hardware_data/graphics/ppu_rp2c07+mmc5.lua @@ -1,9 +1,14 @@ +-- Information: -- +-- PPU (Picture processing unit) -- +-- RP2C07 with MMC5 -- +-- (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, }, @@ -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, + }, + }, + }, }, }, }, |