summaryrefslogtreecommitdiff
path: root/src/hardware_data
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-19 02:30:26 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-19 02:30:26 -0300
commitb2a15e07cd514f27ec226f46693b6c0b7db33404 (patch)
tree47af55580e42707bb5ca30bfddcc89b3ed52e33e /src/hardware_data
parent2cc05e9e87265887cf586ede5043f5a0b5423205 (diff)
Update graphics modes
Diffstat (limited to 'src/hardware_data')
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-cgb+mbcx.lua174
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-dmg+mbcx.lua102
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-sgb+mbcx.lua111
3 files changed, 387 insertions, 0 deletions
diff --git a/src/hardware_data/graphics/ppu_lr35902-cgb+mbcx.lua b/src/hardware_data/graphics/ppu_lr35902-cgb+mbcx.lua
new file mode 100644
index 0000000..1146165
--- /dev/null
+++ b/src/hardware_data/graphics/ppu_lr35902-cgb+mbcx.lua
@@ -0,0 +1,174 @@
+return {
+ screen = {
+ {
+ width = 160,
+ height = 144,
+ refresh = 59.73,
+ origin = {
+ x = 0,
+ y = 0,
+ },
+ },
+ },
+ colours = {
+ total = '15bpp',
+ limit = 56,
+ background = false,
+ transparent = 'colourKey',
+ },
+ meshes = false,
+ shaders = {
+ api = false,
+ version = false,
+ fragment = false,
+ vectex = false,
+ geometry = false,
+ tessellation = false,
+ },
+ physic = false,
+ sprites = {
+ onScreen = 40,
+ onLine = 10,
+ palettes = {
+ specify = true,
+ {
+ total = 4,
+ limit = 3,
+ keys = 1,
+ },
+ {
+ total = 4,
+ limit = 3,
+ keys = 1,
+ },
+ {
+ total = 4,
+ limit = 3,
+ keys = 1,
+ },
+ {
+ total = 4,
+ limit = 3,
+ keys = 1,
+ },
+ {
+ total = 4,
+ limit = 3,
+ keys = 1,
+ },
+ {
+ total = 4,
+ limit = 3,
+ keys = 1,
+ },
+ {
+ total = 4,
+ limit = 3,
+ keys = 1,
+ },
+ {
+ total = 4,
+ limit = 3,
+ keys = 1,
+ },
+ },
+ transform = {
+ move = true,
+ rotate = false,
+ scale = 'flip',
+ shear = false,
+ affine = false,
+ },
+ sizes = {
+ {
+ width = 8,
+ height = 8,
+ },
+ {
+ width = 8,
+ height = 16,
+ },
+ },
+ },
+ tiles = {
+ layers = {
+ {
+ total = {
+ x = 32,
+ y = 32,
+ 1024,
+ },
+ onScreen = 399,
+ limit = false,
+ unique = 512,
+ independent = false,
+ palettes = {
+ specify = true,
+ {
+ total = 4,
+ limit = false,
+ keys = false,
+ map = false,
+ },
+ {
+ total = 4,
+ limit = false,
+ keys = false,
+ map = false,
+ },
+ {
+ total = 4,
+ limit = false,
+ keys = false,
+ map = false,
+ },
+ {
+ total = 4,
+ limit = false,
+ keys = false,
+ map = false,
+ },
+ {
+ total = 4,
+ limit = false,
+ keys = false,
+ map = false,
+ },
+ {
+ total = 4,
+ limit = false,
+ keys = false,
+ map = false,
+ },
+ {
+ total = 4,
+ limit = false,
+ keys = false,
+ map = false,
+ },
+ {
+ total = 4,
+ limit = false,
+ keys = false,
+ map = false,
+ },
+ },
+ mirror = true,
+ transform = {
+ individual = true,
+ move = true,
+ rotate = false,
+ scale = false,
+ shear = false,
+ affine = false,
+ },
+ sizes = {
+ {
+ width = 8,
+ height = 8,
+ },
+ },
+ },
+ },
+ },
+}
diff --git a/src/hardware_data/graphics/ppu_lr35902-dmg+mbcx.lua b/src/hardware_data/graphics/ppu_lr35902-dmg+mbcx.lua
new file mode 100644
index 0000000..25c31f6
--- /dev/null
+++ b/src/hardware_data/graphics/ppu_lr35902-dmg+mbcx.lua
@@ -0,0 +1,102 @@
+return {
+ screen = {
+ {
+ width = 160,
+ height = 144,
+ refresh = 59.73,
+ origin = {
+ x = 0,
+ y = 0,
+ },
+ },
+ },
+ colours = {
+ total = 4,
+ limit = false,
+ background = false,
+ transparent = 'colourKey',
+ },
+ meshes = false,
+ shaders = {
+ api = false,
+ version = false,
+ fragment = false,
+ vectex = false,
+ geometry = false,
+ tessellation = false,
+ },
+ physic = false,
+ sprites = {
+ onScreen = 40,
+ onLine = 10,
+ palettes = {
+ specify = true,
+ {
+ total = 4,
+ limit = 3,
+ keys = 1,
+ },
+ {
+ total = 4,
+ limit = 3,
+ keys = 1,
+ },
+ },
+ transform = {
+ move = true,
+ rotate = false,
+ scale = 'flip',
+ shear = false,
+ affine = false,
+ },
+ sizes = {
+ {
+ width = 8,
+ height = 8,
+ },
+ {
+ width = 8,
+ height = 16,
+ },
+ },
+ },
+ tiles = {
+ layers = {
+ {
+ total = {
+ x = 32,
+ y = 32,
+ 1024,
+ },
+ onScreen = 399,
+ limit = false,
+ unique = 512,
+ independent = false,
+ palettes = {
+ specify = true,
+ {
+ total = 4,
+ limit = false,
+ keys = false,
+ map = false,
+ },
+ },
+ mirror = true,
+ transform = {
+ individual = true,
+ move = true,
+ rotate = false,
+ scale = false,
+ shear = false,
+ affine = false,
+ },
+ sizes = {
+ {
+ width = 8,
+ height = 8,
+ },
+ },
+ },
+ },
+ },
+}
diff --git a/src/hardware_data/graphics/ppu_lr35902-sgb+mbcx.lua b/src/hardware_data/graphics/ppu_lr35902-sgb+mbcx.lua
new file mode 100644
index 0000000..9e3a6e5
--- /dev/null
+++ b/src/hardware_data/graphics/ppu_lr35902-sgb+mbcx.lua
@@ -0,0 +1,111 @@
+return {
+ screen = {
+ {
+ width = 160,
+ height = 144,
+ refresh = 61.17,
+ origin = {
+ x = 0,
+ y = 0,
+ },
+ },
+ {
+ width = 160,
+ height = 144,
+ refresh = 59.73,
+ origin = {
+ x = 0,
+ y = 0,
+ },
+ },
+ },
+ colours = {
+ total = '15bpp',
+ limit = 10,
+ background = false,
+ transparent = 'colourKey',
+ },
+ meshes = false,
+ shaders = {
+ api = false,
+ version = false,
+ fragment = false,
+ vectex = false,
+ geometry = false,
+ tessellation = false,
+ },
+ physic = false,
+ sprites = {
+ onScreen = 40,
+ onLine = 10,
+ palettes = {
+ specify = true,
+ {
+ total = 4,
+ limit = 3,
+ keys = 1,
+ },
+ {
+ total = 4,
+ limit = 3,
+ keys = 1,
+ },
+ },
+ transform = {
+ move = true,
+ rotate = false,
+ scale = 'flip',
+ shear = false,
+ affine = false,
+ },
+ sizes = {
+ {
+ width = 8,
+ height = 8,
+ },
+ {
+ width = 8,
+ height = 16,
+ },
+ },
+ },
+ tiles = {
+ layers = {
+ {
+ total = {
+ x = 32,
+ y = 32,
+ 1024,
+ },
+ onScreen = 399,
+ limit = false,
+ unique = 512,
+ independent = false,
+ palettes = {
+ specify = true,
+ {
+ total = 4,
+ limit = false,
+ keys = false,
+ map = false,
+ },
+ },
+ mirror = true,
+ transform = {
+ individual = true,
+ move = true,
+ rotate = false,
+ scale = false,
+ shear = false,
+ affine = false,
+ },
+ sizes = {
+ {
+ width = 8,
+ height = 8,
+ },
+ },
+ },
+ },
+ },
+}