diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-09 00:53:21 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-09 00:53:21 -0300 |
commit | c44f9b1ed4c7901d9c05b8e5c684d7f5e46e671d (patch) | |
tree | ac62bcb325b76a5d603aa73b5f54d3affaf28e6d /src/hardware_data/scripts/load/graphics/tms9918a_mode2.lua | |
parent | c0433073ebb32a053016c8a9516adc7e9ed09727 (diff) |
Update graphics modes
Diffstat (limited to 'src/hardware_data/scripts/load/graphics/tms9918a_mode2.lua')
-rw-r--r-- | src/hardware_data/scripts/load/graphics/tms9918a_mode2.lua | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/src/hardware_data/scripts/load/graphics/tms9918a_mode2.lua b/src/hardware_data/scripts/load/graphics/tms9918a_mode2.lua new file mode 100644 index 0000000..79d7f6b --- /dev/null +++ b/src/hardware_data/scripts/load/graphics/tms9918a_mode2.lua @@ -0,0 +1,92 @@ +return { + screen = { + ntsc = { + width = 256, + height = 192, + fps = 29.97, + origin = { + x = 0, + y = 0, + }, + }, + }, + colours = { + total = '15+1', + limit = '15+1', + background = false, + transparent = 'transparentColour', + }, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, + }, + physic = false, + sprites = { + onScreen = 32, + onLine = 4, + palettes = { + specify = true, + { + colours = 1, + keys = 1, + }, + animation = true, + transform = { + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + { + width = 16, + height = 16, + }, + }, + }, + tiles = { + layers = { + { + independent = false, + palettes = { + specify = true, + { + colours = 2, + keys = false, + }, + }, + mirror = false, + transform = { + individual = false, + move = false, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + }, + maps = { + { + width = 64, + height = 192, + }, + }, + }, + }, + }, +} |