diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-17 21:20:32 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-17 21:20:32 -0300 |
commit | 52ce3e69e97aed2a5db7f6a7e4209961a145cdcc (patch) | |
tree | f01a2e214be3782b6c4d07d553788b9974333464 /src/hardware_data | |
parent | 5409b18096a10cb621e8692b17c0b67e7f0b3624 (diff) |
Update graphics modes
Diffstat (limited to 'src/hardware_data')
-rw-r--r-- | src/hardware_data/scripts/load/graphics/ppu_cgb.lua | 153 | ||||
-rw-r--r-- | src/hardware_data/scripts/load/graphics/ppu_gb.lua | 101 | ||||
-rw-r--r-- | src/hardware_data/scripts/load/graphics/ppu_rp2c02.lua | 3 | ||||
-rw-r--r-- | src/hardware_data/scripts/load/graphics/ppu_sgb.lua | 101 | ||||
-rw-r--r-- | src/hardware_data/scripts/load/graphics/vdp_gg_mode4.lua (renamed from src/hardware_data/scripts/load/graphics/vdp_gg-tms9918_mode4.lua) | 5 | ||||
-rw-r--r-- | src/hardware_data/scripts/load/graphics/vdp_upd9004g-224_mode4.lua | 101 | ||||
-rw-r--r-- | src/hardware_data/scripts/load/graphics/vdp_upd9004g-240_mode4.lua | 101 | ||||
-rw-r--r-- | src/hardware_data/scripts/load/graphics/vdp_ym2602_mode4.lua (renamed from src/hardware_data/scripts/load/graphics/vdp_ms-tms9918_mode4.lua) | 5 |
8 files changed, 563 insertions, 7 deletions
diff --git a/src/hardware_data/scripts/load/graphics/ppu_cgb.lua b/src/hardware_data/scripts/load/graphics/ppu_cgb.lua new file mode 100644 index 0000000..85cdb8a --- /dev/null +++ b/src/hardware_data/scripts/load/graphics/ppu_cgb.lua @@ -0,0 +1,153 @@ +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 = 49, + 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, + { + colours = 3, + keys = 1, + }, + { + colours = 3, + keys = 1, + }, + { + colours = 3, + keys = 1, + }, + { + colours = 3, + keys = 1, + }, + { + colours = 3, + keys = 1, + }, + { + colours = 3, + keys = 1, + }, + { + colours = 3, + keys = 1, + }, + { + colours = 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 = { + { + unique = 192, + independent = false, + palettes = { + specify = true, + { + colours = 3, + keys = 1, + }, + { + colours = 3, + keys = 1, + }, + { + colours = 3, + keys = 1, + }, + { + colours = 3, + keys = 1, + }, + { + colours = 3, + keys = 1, + }, + { + colours = 3, + keys = 1, + }, + { + colours = 3, + keys = 1, + }, + { + colours = 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, + }, + }, + }, +} diff --git a/src/hardware_data/scripts/load/graphics/ppu_gb.lua b/src/hardware_data/scripts/load/graphics/ppu_gb.lua new file mode 100644 index 0000000..44147f6 --- /dev/null +++ b/src/hardware_data/scripts/load/graphics/ppu_gb.lua @@ -0,0 +1,101 @@ +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 = 4, + limit = false, + 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, + { + colours = 3, + keys = 1, + }, + { + colours = 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 = { + { + unique = 192, + independent = false, + palettes = { + specify = true, + { + colours = 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, + }, + }, + }, +} diff --git a/src/hardware_data/scripts/load/graphics/ppu_rp2c02.lua b/src/hardware_data/scripts/load/graphics/ppu_rp2c02.lua index 39913ad..fba618f 100644 --- a/src/hardware_data/scripts/load/graphics/ppu_rp2c02.lua +++ b/src/hardware_data/scripts/load/graphics/ppu_rp2c02.lua @@ -60,7 +60,7 @@ return { transform = { move = true, rotate = false, - scale = false, + scale = 'flip', shear = false, affine = false, }, @@ -78,6 +78,7 @@ return { tiles = { layers = { { + unique = 256, independent = false, palettes = { specify = true, diff --git a/src/hardware_data/scripts/load/graphics/ppu_sgb.lua b/src/hardware_data/scripts/load/graphics/ppu_sgb.lua new file mode 100644 index 0000000..df17813 --- /dev/null +++ b/src/hardware_data/scripts/load/graphics/ppu_sgb.lua @@ -0,0 +1,101 @@ +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, + { + colours = 3, + keys = 1, + }, + { + colours = 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 = { + { + unique = 192, + independent = false, + palettes = { + specify = true, + { + colours = 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, + }, + }, + }, +} diff --git a/src/hardware_data/scripts/load/graphics/vdp_gg-tms9918_mode4.lua b/src/hardware_data/scripts/load/graphics/vdp_gg_mode4.lua index 8d5b3b1..3d51763 100644 --- a/src/hardware_data/scripts/load/graphics/vdp_gg-tms9918_mode4.lua +++ b/src/hardware_data/scripts/load/graphics/vdp_gg_mode4.lua @@ -81,8 +81,8 @@ return { }, mirror = true, transform = { - individual = false, - move = false, + individual = true, + move = true, rotate = false, scale = '2x,flip', shear = false, @@ -95,7 +95,6 @@ return { }, }, map = false, - }, }, }, }, diff --git a/src/hardware_data/scripts/load/graphics/vdp_upd9004g-224_mode4.lua b/src/hardware_data/scripts/load/graphics/vdp_upd9004g-224_mode4.lua new file mode 100644 index 0000000..312d849 --- /dev/null +++ b/src/hardware_data/scripts/load/graphics/vdp_upd9004g-224_mode4.lua @@ -0,0 +1,101 @@ +return { + screen = { + ntsc = { + width = 256, + height = 224, + fps = 29.97, + origin = { + x = 0, + y = 0, + }, + }, + pal = { + width = 256, + height = 224, + fps = 25, + origin = { + x = 0, + y = 0, + }, + }, + }, + colours = { + total = 64, + limit = 31, + background = false, + transparent = 'transparentColour', + }, + 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, + { + colours = 15, + keys = 1, + }, + }, + transform = { + move = true, + rotate = false, + scale = '2x,flip', + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + { + width = 16, + height = 16, + }, + }, + }, + tiles = { + layers = { + { + unique = 488, + independent = false, + palettes = { + specify = true, + { + colours = 15, + keys = 1, + }, + sprite = { + colours = 15, + keys = 1, + }, + }, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = '2x,flip', + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + }, + map = false, + }, + }, + }, +} diff --git a/src/hardware_data/scripts/load/graphics/vdp_upd9004g-240_mode4.lua b/src/hardware_data/scripts/load/graphics/vdp_upd9004g-240_mode4.lua new file mode 100644 index 0000000..8960b75 --- /dev/null +++ b/src/hardware_data/scripts/load/graphics/vdp_upd9004g-240_mode4.lua @@ -0,0 +1,101 @@ +return { + screen = { + ntsc = { + width = 256, + height = 240, + fps = 29.97, + origin = { + x = 0, + y = 0, + }, + }, + pal = { + width = 256, + height = 240, + fps = 25, + origin = { + x = 0, + y = 0, + }, + }, + }, + colours = { + total = 64, + limit = 31, + background = false, + transparent = 'transparentColour', + }, + 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, + { + colours = 15, + keys = 1, + }, + }, + transform = { + move = true, + rotate = false, + scale = '2x,flip', + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + { + width = 16, + height = 16, + }, + }, + }, + tiles = { + layers = { + { + unique = 488, + independent = false, + palettes = { + specify = true, + { + colours = 15, + keys = 1, + }, + sprite = { + colours = 15, + keys = 1, + }, + }, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = '2x,flip', + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + }, + map = false, + }, + }, + }, +} diff --git a/src/hardware_data/scripts/load/graphics/vdp_ms-tms9918_mode4.lua b/src/hardware_data/scripts/load/graphics/vdp_ym2602_mode4.lua index 4a702b6..b988a2e 100644 --- a/src/hardware_data/scripts/load/graphics/vdp_ms-tms9918_mode4.lua +++ b/src/hardware_data/scripts/load/graphics/vdp_ym2602_mode4.lua @@ -81,8 +81,8 @@ return { }, mirror = true, transform = { - individual = false, - move = false, + individual = true, + move = true, rotate = false, scale = '2x,flip', shear = false, @@ -95,7 +95,6 @@ return { }, }, map = false, - }, }, }, }, |