summaryrefslogtreecommitdiff
path: root/src/hardware_data
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware_data')
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-cgb.lua28
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-dmg.lua30
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-sgb.lua30
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-sgb2.lua30
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,
+ },
+ },
+ },
},
},
},