summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2017-01-12 16:45:33 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2017-01-12 16:45:33 -0300
commit591c047d59da7415234bb60b6cf651d54dbe7d9a (patch)
tree477073205d6db04d444b428c48f3053b4ede7a3d
parentf92584c7a74c277a707ea2799a07b07ffe406647 (diff)
Update graphics modes
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-cgb+mbcx.lua168
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-cgb.lua17
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-dmg+mbcx.lua168
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-dmg.lua17
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-sgb+mbcx.lua168
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-sgb.lua17
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-sgb2+mbcx.lua168
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-sgb2.lua17
-rw-r--r--src/hardware_data/graphics/ppu_rp2c02+129.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c02+mmc1.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c02+mmc2.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c02+mmc3-4screen.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c02+mmc3.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c02+mmc5.lua7
-rw-r--r--src/hardware_data/graphics/ppu_rp2c02+vrc6.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c02.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c03+129.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c03+mmc1.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c03+mmc2.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c03+mmc3-4screen.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c03+mmc3.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c03+mmc5.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c03+vrc6.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c03.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c07+129.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c07+mmc1.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c07+mmc2.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c07+mmc3-4screen.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c07+mmc3.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c07+mmc5.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c07+vrc6.lua5
-rw-r--r--src/hardware_data/graphics/ppu_rp2c07.lua5
32 files changed, 149 insertions, 713 deletions
diff --git a/src/hardware_data/graphics/ppu_lr35902-cgb+mbcx.lua b/src/hardware_data/graphics/ppu_lr35902-cgb+mbcx.lua
deleted file mode 100644
index e2c3d23..0000000
--- a/src/hardware_data/graphics/ppu_lr35902-cgb+mbcx.lua
+++ /dev/null
@@ -1,168 +0,0 @@
--- Information: --
--- PPU (Picture processing unit) --
--- LR35902 (CGB) with MBC1/MBC2/MBC3/MBC5 --
-
-return {
- screen = {
- width = 160,
- height = 144,
- vsync = 59.73,
- origin = {
- x = 0,
- y = 0,
- },
- -- Total of unique texels, pixels and vertices on VRAM --
- pixels = 37888,
- texels = 552,
- vertices = false,
- },
- colours = {
- total = '15bpp',
- limit = 56,
- transparent = {
- sprite = 'colourKey',
- tile = false,
- },
- tileDepth = 'colourKey',
- palettes = {
- {
- total = 8,
- type = 'spritePerPalette',
- colours = 4,
- layers = false,
- },
- {
- total = 8,
- type = 'tilePerPalette',
- colours = 4,
- layers = false,
- },
- },
- },
- meshes = false,
- shaders = {
- api = false,
- version = false,
- fragment = false,
- vectex = false,
- geometry = false,
- tessellation = false,
- },
- physic = false,
- sprites = {
- -- Limit sprites on screen --
- onScreen = 40,
- -- Limit sprites on line (scanline) without flickering --
- onLine = 10,
- transform = {
- move = true,
- rotate = false,
- scale = 'flip',
- shear = false,
- affine = false,
- },
- -- Sprite sizes in pixels --
- sizes = {
- {
- width = 8,
- height = 8,
- },
- {
- width = 8,
- height = 16,
- },
- },
- },
- tiles = {
- layers = {
- {
- -- Total tiles and pixels on VRAM --
- onVRAM = {
- screenSections = {
- all = {
- Xtiles = 32,
- Ytiles = 32,
- tiles = 1024,
- pixels = 65536,
- },
- },
- tiles = 'screenSections',
- pixels = 'screenSections',
- },
- -- Total tiles and pixels on screen --
- onScreen = {
- screenSections = {
- -- On screen section with support scrolling X and/or Y, --
- -- will be include one tile by axis --
- all = {
- Xtiles = 20+1,
- Ytiles = 18+1,
- tiles = 360+20+18+1,
- pixels = 23040,
- },
- },
- tiles = 'screenSections',
- pixels = 'screenSections',
- },
- -- Total of tiles on VRAM --
- unique = false,
- maximum = 512,
- mirror = false,
- screenSections = {
- main = {
- optional = false,
- moveSection = false,
- {
- startSection = {
- x = 'startVRAM',
- y = 'startVRAM',
- },
- endSection = {
- x = 'endVRAM',
- y = 'endVRAM',
- },
- size = {
- -- Tile size in pixels --
- width = 8,
- height = 8,
- },
- transform = {
- move = true,
- rotate = false,
- scale = false,
- shear = false,
- affine = false,
- },
- },
- },
- 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-cgb.lua b/src/hardware_data/graphics/ppu_lr35902-cgb.lua
index 18084f3..21e015e 100644
--- a/src/hardware_data/graphics/ppu_lr35902-cgb.lua
+++ b/src/hardware_data/graphics/ppu_lr35902-cgb.lua
@@ -1,6 +1,6 @@
-- Information: --
-- PPU (Picture processing unit) --
--- LR35902 (CGB) without mapper --
+-- LR35902 (CGB) --
return {
screen = {
@@ -54,6 +54,7 @@ return {
onScreen = 40,
-- Limit sprites on line (scanline) without flickering --
onLine = 10,
+ unique = 256,
transform = {
move = true,
rotate = false,
@@ -105,9 +106,17 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
- maximum = 256,
- mirror = false,
+ unique = {
+ data = 384,
+ background = 256,
+ total = 640,
+ },
+ maximum = 1024,
+ mirror = {
+ switchable = false,
+ nametables = 1,
+ 'custom',
+ },
screenSections = {
main = {
optional = false,
diff --git a/src/hardware_data/graphics/ppu_lr35902-dmg+mbcx.lua b/src/hardware_data/graphics/ppu_lr35902-dmg+mbcx.lua
deleted file mode 100644
index d94b51a..0000000
--- a/src/hardware_data/graphics/ppu_lr35902-dmg+mbcx.lua
+++ /dev/null
@@ -1,168 +0,0 @@
--- Information: --
--- PPU (Picture processing unit) --
--- LR35902 (DMG) with MBC1/MBC2/MBC3/MBC5 --
-
-return {
- screen = {
- width = 160,
- height = 144,
- vsync = 59.73,
- origin = {
- x = 0,
- y = 0,
- },
- -- Total of unique texels, pixels and vertices on VRAM --
- pixels = 37888,
- texels = 552,
- vertices = false,
- },
- colours = {
- total = 4,
- limit = false,
- transparent = {
- sprite = 'colourKey',
- tile = false,
- },
- tileDepth = 'colourKey',
- palettes = {
- {
- total = 2,
- type = 'spritePerPalette',
- colours = 4,
- layers = false,
- },
- {
- total = 1,
- type = 'tilePerPalette',
- colours = 4,
- layers = false,
- },
- },
- },
- meshes = false,
- shaders = {
- api = false,
- version = false,
- fragment = false,
- vectex = false,
- geometry = false,
- tessellation = false,
- },
- physic = false,
- sprites = {
- -- Limit sprites on screen --
- onScreen = 40,
- -- Limit sprites on line (scanline) without flickering --
- onLine = 10,
- transform = {
- move = true,
- rotate = false,
- scale = 'flip',
- shear = false,
- affine = false,
- },
- -- Sprite sizes in pixels --
- sizes = {
- {
- width = 8,
- height = 8,
- },
- {
- width = 8,
- height = 16,
- },
- },
- },
- tiles = {
- layers = {
- {
- -- Total tiles and pixels on VRAM --
- onVRAM = {
- screenSections = {
- all = {
- Xtiles = 32,
- Ytiles = 32,
- tiles = 1024,
- pixels = 65536,
- },
- },
- tiles = 'screenSections',
- pixels = 'screenSections',
- },
- -- Total tiles and pixels on screen --
- onScreen = {
- screenSections = {
- -- On screen section with support scrolling X and/or Y, --
- -- will be include one tile by axis --
- all = {
- Xtiles = 20+1,
- Ytiles = 18+1,
- tiles = 360+20+18+1,
- pixels = 23040,
- },
- },
- tiles = 'screenSections',
- pixels = 'screenSections',
- },
- -- Total of tiles on VRAM --
- unique = false,
- maximum = 512,
- mirror = false,
- screenSections = {
- main = {
- optional = false,
- moveSection = false,
- {
- startSection = {
- x = 'startVRAM',
- y = 'startVRAM',
- },
- endSection = {
- x = 'endVRAM',
- y = 'endVRAM',
- },
- size = {
- -- Tile size in pixels --
- width = 8,
- height = 8,
- },
- transform = {
- move = true,
- rotate = false,
- scale = false,
- shear = false,
- affine = false,
- },
- },
- },
- 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 6aa9b53..bd7b67d 100644
--- a/src/hardware_data/graphics/ppu_lr35902-dmg.lua
+++ b/src/hardware_data/graphics/ppu_lr35902-dmg.lua
@@ -1,6 +1,6 @@
-- Information: --
-- PPU (Picture processing unit) --
--- LR35902 (DMG) without mapper --
+-- LR35902 (DMG) --
return {
screen = {
@@ -54,6 +54,7 @@ return {
onScreen = 40,
-- Limit sprites on line (scanline) without flickering --
onLine = 10,
+ unique = 256,
transform = {
move = true,
rotate = false,
@@ -105,9 +106,17 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
- maximum = 256,
- mirror = false,
+ unique = {
+ data = 192,
+ background = 256,
+ total = 448,
+ },
+ maximum = false,
+ mirror = {
+ switchable = false,
+ nametables = 1,
+ 'custom',
+ },
screenSections = {
main = {
optional = false,
diff --git a/src/hardware_data/graphics/ppu_lr35902-sgb+mbcx.lua b/src/hardware_data/graphics/ppu_lr35902-sgb+mbcx.lua
deleted file mode 100644
index 3b58129..0000000
--- a/src/hardware_data/graphics/ppu_lr35902-sgb+mbcx.lua
+++ /dev/null
@@ -1,168 +0,0 @@
--- Information: --
--- PPU (Picture processing unit) --
--- LR35902 (SGBv1) with MBC1/MBC2/MBC3/MBC5 --
-
-return {
- screen = {
- width = 160,
- height = 144,
- vsync = 61.17,
- origin = {
- x = 0,
- y = 0,
- },
- -- Total of unique texels, pixels and vertices on VRAM --
- pixels = 37888,
- texels = 552,
- vertices = false,
- },
- colours = {
- total = '15bpp',
- limit = 10,
- transparent = {
- sprite = 'colourKey',
- tile = false,
- },
- tileDepth = 'colourKey',
- palettes = {
- {
- total = 2,
- type = 'spritePerPalette',
- colours = 4,
- layers = false,
- },
- {
- total = 1,
- type = 'tilePerPalette',
- colours = 4,
- layers = false,
- },
- },
- },
- meshes = false,
- shaders = {
- api = false,
- version = false,
- fragment = false,
- vectex = false,
- geometry = false,
- tessellation = false,
- },
- physic = false,
- sprites = {
- -- Limit sprites on screen --
- onScreen = 40,
- -- Limit sprites on line (scanline) without flickering --
- onLine = 10,
- transform = {
- move = true,
- rotate = false,
- scale = 'flip',
- shear = false,
- affine = false,
- },
- -- Sprite sizes in pixels --
- sizes = {
- {
- width = 8,
- height = 8,
- },
- {
- width = 8,
- height = 16,
- },
- },
- },
- tiles = {
- layers = {
- {
- -- Total tiles and pixels on VRAM --
- onVRAM = {
- screenSections = {
- all = {
- Xtiles = 32,
- Ytiles = 32,
- tiles = 1024,
- pixels = 65536,
- },
- },
- tiles = 'screenSections',
- pixels = 'screenSections',
- },
- -- Total tiles and pixels on screen --
- onScreen = {
- screenSections = {
- -- On screen section with support scrolling X and/or Y, --
- -- will be include one tile by axis --
- all = {
- Xtiles = 20+1,
- Ytiles = 18+1,
- tiles = 360+20+18+1,
- pixels = 23040,
- },
- },
- tiles = 'screenSections',
- pixels = 'screenSections',
- },
- -- Total of tiles on VRAM --
- unique = false,
- maximum = 512,
- mirror = false,
- screenSections = {
- main = {
- optional = false,
- moveSection = false,
- {
- startSection = {
- x = 'startVRAM',
- y = 'startVRAM',
- },
- endSection = {
- x = 'endVRAM',
- y = 'endVRAM',
- },
- size = {
- -- Tile size in pixels --
- width = 8,
- height = 8,
- },
- transform = {
- move = true,
- rotate = false,
- scale = false,
- shear = false,
- affine = false,
- },
- },
- },
- 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 240315e..921e17f 100644
--- a/src/hardware_data/graphics/ppu_lr35902-sgb.lua
+++ b/src/hardware_data/graphics/ppu_lr35902-sgb.lua
@@ -1,6 +1,6 @@
-- Information: --
-- PPU (Picture processing unit) --
--- LR35902 (SGBv1) without mapper --
+-- LR35902 (SGBv1) --
return {
screen = {
@@ -54,6 +54,7 @@ return {
onScreen = 40,
-- Limit sprites on line (scanline) without flickering --
onLine = 10,
+ unique = 256,
transform = {
move = true,
rotate = false,
@@ -105,9 +106,17 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
- maximum = 256,
- mirror = false,
+ unique = {
+ data = 192,
+ background = 256,
+ total = 448,
+ },
+ maximum = 1024,
+ mirror = {
+ switchable = false,
+ nametables = 1,
+ 'custom',
+ },
screenSections = {
main = {
optional = false,
diff --git a/src/hardware_data/graphics/ppu_lr35902-sgb2+mbcx.lua b/src/hardware_data/graphics/ppu_lr35902-sgb2+mbcx.lua
deleted file mode 100644
index ae375db..0000000
--- a/src/hardware_data/graphics/ppu_lr35902-sgb2+mbcx.lua
+++ /dev/null
@@ -1,168 +0,0 @@
--- Information: --
--- PPU (Picture processing unit) --
--- LR35902 (SGBv2) with MBC1/MBC2/MBC3/MBC5 --
-
-return {
- screen = {
- width = 160,
- height = 144,
- vsync = 59.73,
- origin = {
- x = 0,
- y = 0,
- },
- -- Total of unique texels, pixels and vertices on VRAM --
- pixels = 37888,
- texels = 552,
- vertices = false,
- },
- colours = {
- total = '15bpp',
- limit = 10,
- transparent = {
- sprite = 'colourKey',
- tile = false,
- },
- tileDepth = 'colourKey',
- palettes = {
- {
- total = 2,
- type = 'spritePerPalette',
- colours = 4,
- layers = false,
- },
- {
- total = 1,
- type = 'tilePerPalette',
- colours = 4,
- layers = false,
- },
- },
- },
- meshes = false,
- shaders = {
- api = false,
- version = false,
- fragment = false,
- vectex = false,
- geometry = false,
- tessellation = false,
- },
- physic = false,
- sprites = {
- -- Limit sprites on screen --
- onScreen = 40,
- -- Limit sprites on line (scanline) without flickering --
- onLine = 10,
- transform = {
- move = true,
- rotate = false,
- scale = 'flip',
- shear = false,
- affine = false,
- },
- -- Sprite sizes in pixels --
- sizes = {
- {
- width = 8,
- height = 8,
- },
- {
- width = 8,
- height = 16,
- },
- },
- },
- tiles = {
- layers = {
- {
- -- Total tiles and pixels on VRAM --
- onVRAM = {
- screenSections = {
- all = {
- Xtiles = 32,
- Ytiles = 32,
- tiles = 1024,
- pixels = 65536,
- },
- },
- tiles = 'screenSections',
- pixels = 'screenSections',
- },
- -- Total tiles and pixels on screen --
- onScreen = {
- screenSections = {
- -- On screen section with support scrolling X and/or Y, --
- -- will be include one tile by axis --
- all = {
- Xtiles = 20+1,
- Ytiles = 18+1,
- tiles = 360+20+18+1,
- pixels = 23040,
- },
- },
- tiles = 'screenSections',
- pixels = 'screenSections',
- },
- -- Total of tiles on VRAM --
- unique = false,
- maximum = 512,
- mirror = false,
- screenSections = {
- main = {
- optional = false,
- moveSection = false,
- {
- startSection = {
- x = 'startVRAM',
- y = 'startVRAM',
- },
- endSection = {
- x = 'endVRAM',
- y = 'endVRAM',
- },
- size = {
- -- Tile size in pixels --
- width = 8,
- height = 8,
- },
- transform = {
- move = true,
- rotate = false,
- scale = false,
- shear = false,
- affine = false,
- },
- },
- },
- 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 7e3ad17..53f71aa 100644
--- a/src/hardware_data/graphics/ppu_lr35902-sgb2.lua
+++ b/src/hardware_data/graphics/ppu_lr35902-sgb2.lua
@@ -1,6 +1,6 @@
-- Information: --
-- PPU (Picture processing unit) --
--- LR35902 (SGBv2) without mapper --
+-- LR35902 (SGBv2) --
return {
screen = {
@@ -54,6 +54,7 @@ return {
onScreen = 40,
-- Limit sprites on line (scanline) without flickering --
onLine = 10,
+ unique = 256,
transform = {
move = true,
rotate = false,
@@ -105,9 +106,17 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
- maximum = 256,
- mirror = false,
+ unique = {
+ data = 192,
+ background = 256,
+ total = 448,
+ },
+ maximum = 1024,
+ mirror = {
+ switchable = false,
+ nametables = 1,
+ 'custom',
+ },
screenSections = {
main = {
optional = false,
diff --git a/src/hardware_data/graphics/ppu_rp2c02+129.lua b/src/hardware_data/graphics/ppu_rp2c02+129.lua
index ee9e587..8d98282 100644
--- a/src/hardware_data/graphics/ppu_rp2c02+129.lua
+++ b/src/hardware_data/graphics/ppu_rp2c02+129.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c02+mmc1.lua b/src/hardware_data/graphics/ppu_rp2c02+mmc1.lua
index 18721b1..d253750 100644
--- a/src/hardware_data/graphics/ppu_rp2c02+mmc1.lua
+++ b/src/hardware_data/graphics/ppu_rp2c02+mmc1.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c02+mmc2.lua b/src/hardware_data/graphics/ppu_rp2c02+mmc2.lua
index 0c7b053..b7888da 100644
--- a/src/hardware_data/graphics/ppu_rp2c02+mmc2.lua
+++ b/src/hardware_data/graphics/ppu_rp2c02+mmc2.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 1024,
+ },
maximum = 512,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c02+mmc3-4screen.lua b/src/hardware_data/graphics/ppu_rp2c02+mmc3-4screen.lua
index bc5bb4c..eac45fe 100644
--- a/src/hardware_data/graphics/ppu_rp2c02+mmc3-4screen.lua
+++ b/src/hardware_data/graphics/ppu_rp2c02+mmc3-4screen.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = false,
diff --git a/src/hardware_data/graphics/ppu_rp2c02+mmc3.lua b/src/hardware_data/graphics/ppu_rp2c02+mmc3.lua
index 6dc511d..f29a782 100644
--- a/src/hardware_data/graphics/ppu_rp2c02+mmc3.lua
+++ b/src/hardware_data/graphics/ppu_rp2c02+mmc3.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c02+mmc5.lua b/src/hardware_data/graphics/ppu_rp2c02+mmc5.lua
index 287caab..781fe90 100644
--- a/src/hardware_data/graphics/ppu_rp2c02+mmc5.lua
+++ b/src/hardware_data/graphics/ppu_rp2c02+mmc5.lua
@@ -46,9 +46,10 @@ return {
physic = false,
sprites = {
-- Limit sprites on screen --
- onScreen = 256,
+ onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 256,
transform = {
move = true,
rotate = false,
@@ -100,7 +101,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 16384,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c02+vrc6.lua b/src/hardware_data/graphics/ppu_rp2c02+vrc6.lua
index 9a0b0fb..30bb591 100644
--- a/src/hardware_data/graphics/ppu_rp2c02+vrc6.lua
+++ b/src/hardware_data/graphics/ppu_rp2c02+vrc6.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c02.lua b/src/hardware_data/graphics/ppu_rp2c02.lua
index ed8e08c..431f1a6 100644
--- a/src/hardware_data/graphics/ppu_rp2c02.lua
+++ b/src/hardware_data/graphics/ppu_rp2c02.lua
@@ -54,6 +54,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -105,7 +106,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = false,
diff --git a/src/hardware_data/graphics/ppu_rp2c03+129.lua b/src/hardware_data/graphics/ppu_rp2c03+129.lua
index f381f20..28406a4 100644
--- a/src/hardware_data/graphics/ppu_rp2c03+129.lua
+++ b/src/hardware_data/graphics/ppu_rp2c03+129.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c03+mmc1.lua b/src/hardware_data/graphics/ppu_rp2c03+mmc1.lua
index 1846e1b..bca3f13 100644
--- a/src/hardware_data/graphics/ppu_rp2c03+mmc1.lua
+++ b/src/hardware_data/graphics/ppu_rp2c03+mmc1.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c03+mmc2.lua b/src/hardware_data/graphics/ppu_rp2c03+mmc2.lua
index c0eab23..2a07b5a 100644
--- a/src/hardware_data/graphics/ppu_rp2c03+mmc2.lua
+++ b/src/hardware_data/graphics/ppu_rp2c03+mmc2.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 1024,
+ },
maximum = 512,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c03+mmc3-4screen.lua b/src/hardware_data/graphics/ppu_rp2c03+mmc3-4screen.lua
index 805e690..2f54375 100644
--- a/src/hardware_data/graphics/ppu_rp2c03+mmc3-4screen.lua
+++ b/src/hardware_data/graphics/ppu_rp2c03+mmc3-4screen.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = false,
diff --git a/src/hardware_data/graphics/ppu_rp2c03+mmc3.lua b/src/hardware_data/graphics/ppu_rp2c03+mmc3.lua
index b418e9f..47fc656 100644
--- a/src/hardware_data/graphics/ppu_rp2c03+mmc3.lua
+++ b/src/hardware_data/graphics/ppu_rp2c03+mmc3.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c03+mmc5.lua b/src/hardware_data/graphics/ppu_rp2c03+mmc5.lua
index e5646b2..c28079d 100644
--- a/src/hardware_data/graphics/ppu_rp2c03+mmc5.lua
+++ b/src/hardware_data/graphics/ppu_rp2c03+mmc5.lua
@@ -49,6 +49,7 @@ return {
onScreen = 256,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 256,
transform = {
move = true,
rotate = false,
@@ -100,7 +101,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 16384,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c03+vrc6.lua b/src/hardware_data/graphics/ppu_rp2c03+vrc6.lua
index a16bf11..afff0e0 100644
--- a/src/hardware_data/graphics/ppu_rp2c03+vrc6.lua
+++ b/src/hardware_data/graphics/ppu_rp2c03+vrc6.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c03.lua b/src/hardware_data/graphics/ppu_rp2c03.lua
index 0ccfb25..dd03ffd 100644
--- a/src/hardware_data/graphics/ppu_rp2c03.lua
+++ b/src/hardware_data/graphics/ppu_rp2c03.lua
@@ -54,6 +54,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -105,7 +106,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = false,
diff --git a/src/hardware_data/graphics/ppu_rp2c07+129.lua b/src/hardware_data/graphics/ppu_rp2c07+129.lua
index bbd9c78..01aa868 100644
--- a/src/hardware_data/graphics/ppu_rp2c07+129.lua
+++ b/src/hardware_data/graphics/ppu_rp2c07+129.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c07+mmc1.lua b/src/hardware_data/graphics/ppu_rp2c07+mmc1.lua
index c285b0f..28d9847 100644
--- a/src/hardware_data/graphics/ppu_rp2c07+mmc1.lua
+++ b/src/hardware_data/graphics/ppu_rp2c07+mmc1.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c07+mmc2.lua b/src/hardware_data/graphics/ppu_rp2c07+mmc2.lua
index 7adaac4..877c80b 100644
--- a/src/hardware_data/graphics/ppu_rp2c07+mmc2.lua
+++ b/src/hardware_data/graphics/ppu_rp2c07+mmc2.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 1024,
+ },
maximum = 512,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c07+mmc3-4screen.lua b/src/hardware_data/graphics/ppu_rp2c07+mmc3-4screen.lua
index fdc7e18..e1d3f78 100644
--- a/src/hardware_data/graphics/ppu_rp2c07+mmc3-4screen.lua
+++ b/src/hardware_data/graphics/ppu_rp2c07+mmc3-4screen.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = false,
diff --git a/src/hardware_data/graphics/ppu_rp2c07+mmc3.lua b/src/hardware_data/graphics/ppu_rp2c07+mmc3.lua
index cafa591..6aa552c 100644
--- a/src/hardware_data/graphics/ppu_rp2c07+mmc3.lua
+++ b/src/hardware_data/graphics/ppu_rp2c07+mmc3.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c07+mmc5.lua b/src/hardware_data/graphics/ppu_rp2c07+mmc5.lua
index f4e5bd4..4a8888b 100644
--- a/src/hardware_data/graphics/ppu_rp2c07+mmc5.lua
+++ b/src/hardware_data/graphics/ppu_rp2c07+mmc5.lua
@@ -49,6 +49,7 @@ return {
onScreen = 256,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 256,
transform = {
move = true,
rotate = false,
@@ -100,7 +101,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 16384,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c07+vrc6.lua b/src/hardware_data/graphics/ppu_rp2c07+vrc6.lua
index 2460834..8d2ad60 100644
--- a/src/hardware_data/graphics/ppu_rp2c07+vrc6.lua
+++ b/src/hardware_data/graphics/ppu_rp2c07+vrc6.lua
@@ -55,6 +55,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -106,7 +107,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = true,
diff --git a/src/hardware_data/graphics/ppu_rp2c07.lua b/src/hardware_data/graphics/ppu_rp2c07.lua
index 82d4d80..93cb5dc 100644
--- a/src/hardware_data/graphics/ppu_rp2c07.lua
+++ b/src/hardware_data/graphics/ppu_rp2c07.lua
@@ -54,6 +54,7 @@ return {
onScreen = 64,
-- Limit sprites on line (scanline) without flickering --
onLine = 8,
+ unique = 'tiles',
transform = {
move = true,
rotate = false,
@@ -105,7 +106,9 @@ return {
pixels = 'screenSections',
},
-- Total of tiles on VRAM --
- unique = false,
+ unique = {
+ total = 512,
+ },
maximum = 256,
mirror = {
switchable = false,