diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2017-01-11 18:09:17 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2017-01-11 18:09:17 -0300 |
commit | f92584c7a74c277a707ea2799a07b07ffe406647 (patch) | |
tree | f223fca0250f8513d3216513ebdb8ea8adfe16d9 | |
parent | 9ff3e63fc8f4005aaeacf07fb58e002539e704d2 (diff) |
Update graphics modes
-rw-r--r-- | src/hardware_data/graphics/ppu_lr35902-cgb.lua | 28 | ||||
-rw-r--r-- | src/hardware_data/graphics/ppu_lr35902-dmg.lua | 30 | ||||
-rw-r--r-- | src/hardware_data/graphics/ppu_lr35902-sgb.lua | 30 | ||||
-rw-r--r-- | src/hardware_data/graphics/ppu_lr35902-sgb2.lua | 30 |
4 files changed, 111 insertions, 7 deletions
diff --git a/src/hardware_data/graphics/ppu_lr35902-cgb.lua b/src/hardware_data/graphics/ppu_lr35902-cgb.lua index df93988..18084f3 100644 --- a/src/hardware_data/graphics/ppu_lr35902-cgb.lua +++ b/src/hardware_data/graphics/ppu_lr35902-cgb.lua @@ -109,7 +109,7 @@ return { maximum = 256, mirror = false, screenSections = { - main = { + main = { optional = false, moveSection = false, { @@ -135,6 +135,32 @@ return { }, }, }, + overlay0 = { + optional = true, + moveSection = true, + { + startSection = { + x = 'free', + y = 'free', + }, + endSection = { + x = 'free', + y = 'free', + }, + size = { + -- Tile size in pixels -- + width = 8, + height = 8, + }, + transform = { + move = false, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + }, + }, }, }, }, diff --git a/src/hardware_data/graphics/ppu_lr35902-dmg.lua b/src/hardware_data/graphics/ppu_lr35902-dmg.lua index 2ae3121..6aa9b53 100644 --- a/src/hardware_data/graphics/ppu_lr35902-dmg.lua +++ b/src/hardware_data/graphics/ppu_lr35902-dmg.lua @@ -33,7 +33,7 @@ return { }, { total = 1, - type = 'tilePerPalette', + type = 'tilePerPaletteBySeccion', colours = 4, layers = false, }, @@ -109,7 +109,7 @@ return { maximum = 256, mirror = false, screenSections = { - main = { + main = { optional = false, moveSection = false, { @@ -135,6 +135,32 @@ return { }, }, }, + overlay0 = { + optional = true, + moveSection = true, + { + startSection = { + x = 'free', + y = 'free', + }, + endSection = { + x = 'free', + y = 'free', + }, + size = { + -- Tile size in pixels -- + width = 8, + height = 8, + }, + transform = { + move = false, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + }, + }, }, }, }, diff --git a/src/hardware_data/graphics/ppu_lr35902-sgb.lua b/src/hardware_data/graphics/ppu_lr35902-sgb.lua index 6df6cfc..240315e 100644 --- a/src/hardware_data/graphics/ppu_lr35902-sgb.lua +++ b/src/hardware_data/graphics/ppu_lr35902-sgb.lua @@ -33,7 +33,7 @@ return { }, { total = 1, - type = 'tilePerPalette', + type = 'tilePerPaletteBySeccion', colours = 4, layers = false, }, @@ -109,7 +109,7 @@ return { maximum = 256, mirror = false, screenSections = { - main = { + main = { optional = false, moveSection = false, { @@ -135,6 +135,32 @@ return { }, }, }, + overlay0 = { + optional = true, + moveSection = true, + { + startSection = { + x = 'free', + y = 'free', + }, + endSection = { + x = 'free', + y = 'free', + }, + size = { + -- Tile size in pixels -- + width = 8, + height = 8, + }, + transform = { + move = false, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + }, + }, }, }, }, diff --git a/src/hardware_data/graphics/ppu_lr35902-sgb2.lua b/src/hardware_data/graphics/ppu_lr35902-sgb2.lua index 89d8fc4..7e3ad17 100644 --- a/src/hardware_data/graphics/ppu_lr35902-sgb2.lua +++ b/src/hardware_data/graphics/ppu_lr35902-sgb2.lua @@ -33,7 +33,7 @@ return { }, { total = 1, - type = 'tilePerPalette', + type = 'tilePerPaletteBySeccion', colours = 4, layers = false, }, @@ -109,7 +109,7 @@ return { maximum = 256, mirror = false, screenSections = { - main = { + main = { optional = false, moveSection = false, { @@ -135,6 +135,32 @@ return { }, }, }, + overlay0 = { + optional = true, + moveSection = true, + { + startSection = { + x = 'free', + y = 'free', + }, + endSection = { + x = 'free', + y = 'free', + }, + size = { + -- Tile size in pixels -- + width = 8, + height = 8, + }, + transform = { + move = false, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + }, + }, }, }, }, |