diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-20 04:05:59 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-20 04:05:59 -0300 |
commit | 08222effa39b6680c0c75b6911c8b607b954960b (patch) | |
tree | 972600cad87831c286c857e3991434ebbd18645f /src/hardware_data | |
parent | b1aa49926c6d4ac66a4db7b3677ef07ef25d0b22 (diff) |
Add uze_atmega644 graphics modes
Diffstat (limited to 'src/hardware_data')
-rw-r--r-- | src/hardware_data/graphics/uze_atmega644_mode1.lua | 80 | ||||
-rw-r--r-- | src/hardware_data/graphics/uze_atmega644_mode2.lua | 99 | ||||
-rw-r--r-- | src/hardware_data/graphics/uze_atmega644_mode3.lua | 150 | ||||
-rw-r--r-- | src/hardware_data/graphics/uze_atmega644_mode4.lua | 113 | ||||
-rw-r--r-- | src/hardware_data/graphics/uze_atmega644_mode5.lua | 75 |
5 files changed, 517 insertions, 0 deletions
diff --git a/src/hardware_data/graphics/uze_atmega644_mode1.lua b/src/hardware_data/graphics/uze_atmega644_mode1.lua new file mode 100644 index 0000000..fe5c763 --- /dev/null +++ b/src/hardware_data/graphics/uze_atmega644_mode1.lua @@ -0,0 +1,80 @@ +return { + screen = { + { + width = 240, + height = 224, + refresh = 60, + origin = { + x = 0, + y = 0, + }, + }, + pxps = 53760, + txps = 8960, + plps = false, + }, + colours = { + total = 256, + limit = false, + background = false, + transparent = false, + }, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, + }, + physic = false, + sprites = false, + tiles = { + layers = { + { + total = { + x = 40, + y = 224, + 8960, + }, + onScreen = { + 8960, + 6720, + }, + unique = 65536, + independent = false, + palettes = { + specify = true, + { + total = 256, + limit = false, + keys = false, + map = false, + }, + }, + mirror = false, + transform = { + individual = true, + move = { + 'simulate', + }, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 6, + height = 'free', + }, + { + width = 8, + height = 'free', + }, + }, + }, + }, + }, +} diff --git a/src/hardware_data/graphics/uze_atmega644_mode2.lua b/src/hardware_data/graphics/uze_atmega644_mode2.lua new file mode 100644 index 0000000..23d450a --- /dev/null +++ b/src/hardware_data/graphics/uze_atmega644_mode2.lua @@ -0,0 +1,99 @@ +return { + screen = { + { + width = 144, + height = 224, + refresh = 60, + origin = { + x = 0, + y = 0, + }, + }, + pxps = 13824, + txps = 288, + plps = false, + }, + colours = { + total = 256, + limit = false, + background = false, + transparent = colourKey, + }, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, + }, + physic = false, + sprites = { + onScreen = 32, + onLine = 5, + palettes = { + specify = true, + { + total = 256, + limit = 255, + keys = 1, + }, + }, + transform = { + move = true, + rotate = false, + scale = 'verticalFlip', + shear = false, + affine = false, + }, + sizes = { + { + width = 6, + height = 8, + }, + }, + }, + tiles = { + layers = { + free = { + total = { + x = 32, + y = 32, + 1024, + }, + onScreen = { + 725, + }, + unique = 256, + independent = false, + palettes = { + specify = true, + { + total = 256, + limit = false, + keys = false, + map = false, + }, + }, + mirror = false, + transform = { + individual = true, + move = { + true, + }, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 6, + height = 8, + }, + }, + }, + }, + }, +} diff --git a/src/hardware_data/graphics/uze_atmega644_mode3.lua b/src/hardware_data/graphics/uze_atmega644_mode3.lua new file mode 100644 index 0000000..453fb18 --- /dev/null +++ b/src/hardware_data/graphics/uze_atmega644_mode3.lua @@ -0,0 +1,150 @@ +return { + screen = { + scrollMode = { + width = 224, + height = 224, + refresh = 60, + origin = { + x = 0, + y = 0, + }, + }, + staticMode = { + width = 240, + height = 224, + refresh = 60, + origin = { + x = 0, + y = 0, + }, + }, + pxps = 17664, + txps = 276, + plps = false, + }, + colours = { + total = 256, + limit = false, + background = false, + transparent = colourKey, + }, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, + }, + physic = false, + sprites = { + onScreen = 20, + onLine = '>=10?', + palettes = { + specify = true, + { + total = 256, + limit = 255, + keys = 1, + }, + }, + transform = { + move = true, + rotate = false, + scale = 'flip', + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + }, + }, + tiles = { + layers = { + { + total = { + x = 32, + y = 32, + 1024, + }, + onScreen = { + scrollMode = 841, + staticMode = 840, + }, + unique = 256, + independent = false, + palettes = { + specify = true, + { + total = 256, + limit = false, + keys = false, + map = false, + }, + }, + mirror = false, + transform = { + individual = true, + move = { + scrollMode = true, + staticMode = 'simulate', + }, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + }, + }, + ui = { + total = { + x = 32, + y = 32, + 1024, + }, + onScreen = { + scrollMode = 840, + staticMode = 840, + }, + unique = 256, + independent = false, + palettes = { + specify = true, + { + total = 256, + limit = false, + keys = false, + map = false, + }, + }, + mirror = false, + transform = { + individual = true, + move = { + scrollMode = 'simulate', + staticMode = 'simulate', + }, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + }, + }, + }, + }, +} diff --git a/src/hardware_data/graphics/uze_atmega644_mode4.lua b/src/hardware_data/graphics/uze_atmega644_mode4.lua new file mode 100644 index 0000000..4e58334 --- /dev/null +++ b/src/hardware_data/graphics/uze_atmega644_mode4.lua @@ -0,0 +1,113 @@ +return { + screen = { + { + width = 288, + height = 224, + refresh = 60, + origin = { + x = 0, + y = 0, + }, + }, + pxps = '?', + txps = '?', + plps = false, + }, + colours = { + total = 256, + limit = false, + background = false, + transparent = false, + }, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, + }, + physic = false, + sprites = false, + tiles = { + layers = { + { + total = { + x = '?', + y = '?', + '?', + }, + onScreen = { + 285, + }, + unique = '?', + independent = false, + palettes = { + specify = true, + { + total = 256, + limit = false, + keys = false, + map = false, + }, + }, + mirror = false, + transform = { + individual = true, + move = { + true, + }, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 16, + height = 16, + }, + }, + }, + text = { + total = { + x = '?', + y = '?', + '?', + }, + onScreen = { + 1008, + }, + unique = '?', + independent = false, + palettes = { + specify = true, + { + total = 256, + limit = false, + keys = false, + map = false, + }, + }, + mirror = false, + transform = { + individual = true, + move = { + 'simulate', + }, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + }, + }, + }, + }, +} diff --git a/src/hardware_data/graphics/uze_atmega644_mode5.lua b/src/hardware_data/graphics/uze_atmega644_mode5.lua new file mode 100644 index 0000000..fe03b15 --- /dev/null +++ b/src/hardware_data/graphics/uze_atmega644_mode5.lua @@ -0,0 +1,75 @@ +return { + screen = { + { + width = 240, + height = 224, + refresh = 60, + origin = { + x = 0, + y = 0, + }, + }, + pxps = 16384, + txps = 1120, + plps = false, + }, + colours = { + total = 256, + limit = false, + background = false, + transparent = false, + }, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, + }, + physic = false, + sprites = false, + tiles = { + layers = { + { + total = { + x = 40, + y = 28, + 1120, + }, + onScreen = { + 1120, + }, + unique = 256, + independent = false, + palettes = { + specify = true, + { + total = 256, + limit = false, + keys = false, + map = false, + }, + }, + mirror = false, + transform = { + individual = true, + move = { + 'simulate', + }, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 6, + height = 8, + }, + }, + }, + }, + }, +} |