diff options
Diffstat (limited to 'src/hardware_data/graphics/ppu_lr35902-sgb.lua')
-rw-r--r-- | src/hardware_data/graphics/ppu_lr35902-sgb.lua | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/src/hardware_data/graphics/ppu_lr35902-sgb.lua b/src/hardware_data/graphics/ppu_lr35902-sgb.lua new file mode 100644 index 0000000..3ebb904 --- /dev/null +++ b/src/hardware_data/graphics/ppu_lr35902-sgb.lua @@ -0,0 +1,106 @@ +return { + screen = { + ntsc = { + width = 160, + height = 144, + fps = 29.97, + origin = { + x = 0, + y = -8, + }, + }, + pal = { + width = 160, + height = 144, + fps = 25, + origin = { + x = 0, + y = 0, + }, + }, + }, + colours = { + total = '15bpp', + limit = 10, + background = true, + 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 = 399, + limit = 192, + unique = true, + independent = false, + palettes = { + specify = true, + { + total = 4, + limit = 3, + keys = 1, + }, + }, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + }, + map = false, + }, + }, + }, +} |