summaryrefslogtreecommitdiff
path: root/src/hardware_data/scripts/load/graphics/ppu_rp2c0x.lua
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-18 20:44:24 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-18 20:44:24 -0300
commit665279e7da942568fb7883a6d72cff219c6607f9 (patch)
tree3417809e5241e46ca25aa07fbae8e790b6b45515 /src/hardware_data/scripts/load/graphics/ppu_rp2c0x.lua
parent7114f66b0e931a16613b503f38e8febc7abc925b (diff)
Update ppu_rp2c0x mode
Diffstat (limited to 'src/hardware_data/scripts/load/graphics/ppu_rp2c0x.lua')
-rw-r--r--src/hardware_data/scripts/load/graphics/ppu_rp2c0x.lua143
1 files changed, 143 insertions, 0 deletions
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,
+ },
+ },
+ },
+}