diff options
-rw-r--r-- | src/hardware_data/graphics/uze_atmega644_mode3-default.lua | 198 | ||||
-rw-r--r-- | src/hardware_data/graphics/uze_atmega644_mode3.lua | 44 |
2 files changed, 232 insertions, 10 deletions
diff --git a/src/hardware_data/graphics/uze_atmega644_mode3-default.lua b/src/hardware_data/graphics/uze_atmega644_mode3-default.lua new file mode 100644 index 0000000..5ca0515 --- /dev/null +++ b/src/hardware_data/graphics/uze_atmega644_mode3-default.lua @@ -0,0 +1,198 @@ +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, + }, + }, + pixels = 17664, + texels = 276, + vertices = 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 = { + { + total = 256, + limit = 255, + keys = 1, + byPixels = false, + colours = false, + }, + }, + transform = { + move = true, + rotate = false, + scale = 'flip', + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + }, + }, + tiles = { + layers = { + { + total = { + scrollMode = { + x = 32, + y = 32, + 1024, + staticMode = { + x = 30, + y = 28, + 840, + }, + }, + onScreen = { + scrollMode = { + 841, + }, + staticMode = { + 840, + }, + }, + unique = 256, + screenSections = { + mirror = false, + main = { + optional = false, + scrollMode = { + startCut = { + x = 0, + y = 0, + }, + endCut = { + x = 0, + y = 0, + }, + palettes = false, + sizes = { + { + width = 8, + height = 8, + }, + }, + transform = { + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + }, + staticMode = { + startCut = { + x = 0, + y = 0, + }, + endCut = { + x = 0, + y = 0, + }, + palettes = false, + sizes = { + { + width = 8, + height = 8, + }, + }, + transform = { + move = 'simulate', + rotate = false, + scale = false, + shear = false, + affine = false, + }, + }, + }, + overlay = { + optional = true, + scrollMode = { + startCut = { + x = 'free', + y = 'free', + }, + endCut = { + x = 'free', + y = 'free', + }, + palettes = false, + sizes = { + { + width = 8, + height = 8, + }, + }, + transform = { + move = 'simulate', + rotate = false, + scale = false, + shear = false, + affine = false, + }, + }, + staticMode = { + startCup = { + x = 'free', + y = 'free', + }, + endCut = { + x = 'free', + y = 'free', + }, + palettes = false, + sizes = { + { + width = 8, + height = 8, + }, + }, + transform = { + move = 'simulate', + rotate = false, + scale = false, + shear = false, + affine = false, + }, + }, + }, + }, + }, + }, + }, +} diff --git a/src/hardware_data/graphics/uze_atmega644_mode3.lua b/src/hardware_data/graphics/uze_atmega644_mode3.lua index 2bc1f52..6e89308 100644 --- a/src/hardware_data/graphics/uze_atmega644_mode3.lua +++ b/src/hardware_data/graphics/uze_atmega644_mode3.lua @@ -1,6 +1,8 @@ return { screen = { -- Scroll Mode and Static Mode can be changed by compilation -- + -- Default value is SCROLLING=0 (Static Mode) -- + -- Available values are 0 or 1 -- scrollMode = { width = 224, height = 224, @@ -40,9 +42,14 @@ return { }, physic = false, sprites = { - -- Max sprites on screen can be changed by compilation -- + -- Max sprites on screen can be changed by compilation -- + -- Default is 20 sprites for 4kB RAM and 20Mhz CPU -- + -- It needs ajust ramtiles in compilation for -- + -- implement more tiles in a megatile -- + -- 1 ramtiles consumes 64B RAM -- + -- Defaut values are MAX_SPRITES=20 and RAM_TILE_COUNT=0 -- onScreen = '>=20=<', - -- Max sprites on line are undocumented, but is visible 10 or more -- + -- Max sprites on line are undocumented, but is visible with 10 or more sprites on line without flickering -- onLine = '>=10', palettes = { { @@ -63,7 +70,9 @@ return { sizes = { { width = 8, - height = 8, + -- Vetical (Y) pixels sprites and tiles can be changed by compilation (on Scroll Mode only) -- + -- Default value is TILE_HEIGHT=8 -- + height = '>=8=<', }, }, }, @@ -71,16 +80,27 @@ return { layers = { { total = { - x = 32, - y = 32, - 1024, + scrollMode = { + x = 32, + -- Vetical (Y) VRAM tiles can be changed by compilation (on Scroll Mode only) -- + -- Default values are VRAM_TILES_V=32 and SCROLLING=1 -- + -- Avaiable values are 32, 24 or 16 -- + y = '32, 24 or 16', + '1024, 768 or 512', + staticMode = { + -- Horizontal (X) VRAM tiles can be changed by compilation (on Static Mode only) -- + -- Default values are VRAM_TILES_V=30 and SCROLLING=0 -- + x = '>=30=<', + y = 28, + '>=840=<', + }, }, onScreen = { scrollMode = { - 841, + '841=<', }, staticMode = { - 840, + '>=840=<', }, }, unique = 256, @@ -101,7 +121,9 @@ return { sizes = { { width = 8, - height = 8, + -- Vetical (Y) pixels sprites and tiles can be changed by compilation (on Scroll Mode only) -- + -- Default value is TILE_HEIGHT=8 -- + height = '>=8=<', }, }, transform = { @@ -176,7 +198,9 @@ return { sizes = { { width = 8, - height = 8, + -- Vetical (Y) pixels sprites and tiles can be changed by compilation (on Scroll Mode only) -- + -- Default value is TILE_HEIGHT=8 -- + height = '>=8=<', }, }, transform = { |