From 665279e7da942568fb7883a6d72cff219c6607f9 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sun, 18 Dec 2016 20:44:24 -0300 Subject: Update ppu_rp2c0x mode --- .../scripts/load/graphics/ppu_rp2c0x.lua | 143 +++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 src/hardware_data/scripts/load/graphics/ppu_rp2c0x.lua (limited to 'src/hardware_data/scripts/load/graphics/ppu_rp2c0x.lua') diff --git a/src/hardware_data/scripts/load/graphics/ppu_rp2c0x.lua b/src/hardware_data/scripts/load/graphics/ppu_rp2c0x.lua new file mode 100644 index 0000000..a2c1c5f --- /dev/null +++ b/src/hardware_data/scripts/load/graphics/ppu_rp2c0x.lua @@ -0,0 +1,143 @@ +return { + screen = { + ntsc = { + width = 256, + height = 224, + refresh = 60.0988, + origin = { + x = 0, + y = -8, + }, + }, + pal = { + width = 256, + height = 240, + refresh = 50.0070, + origin = { + x = 0, + y = 0, + }, + }, + ntsc-vs = { + width = 256, + height = 224, + refresh = 60.0985, + origin = { + x = 0, + y = -8, + }, + }, + pxps = '72Ki', + txps = 320, + plps = false, + }, + colours = { + total = 64, + limit = 25, + background = true, + transparent = 'colourKey', + }, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, + }, + physic = false, + sprites = { + onScreen = 64, + onLine = 8, + 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, + }, + }, + transform = { + move = true, + rotate = false, + scale = 'flip', + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + { + width = 8, + height = 16, + }, + }, + }, + tiles = { + layers = { + { + total = 272, + limit = 256, + unique = true, + independent = false, + 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, + }, + }, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 16, + height = 16, + }, + }, + map = false, + }, + }, + }, +} -- cgit v1.2.3-54-g00ecf