diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-24 15:57:19 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2017-01-06 17:30:18 -0300 |
commit | adf9e1d66133b007178d597ef40d32c7f9496a0b (patch) | |
tree | 1a8beaa69c6a6ce9ea641134e20b8c587382657b /src/hardware_data/graphics/uze_atmega644_mode4_default.lua | |
parent | cd119485a45e87cbe2cda27c60d141eaca556974 (diff) |
Update graphics modes
Diffstat (limited to 'src/hardware_data/graphics/uze_atmega644_mode4_default.lua')
-rw-r--r-- | src/hardware_data/graphics/uze_atmega644_mode4_default.lua | 147 |
1 files changed, 147 insertions, 0 deletions
diff --git a/src/hardware_data/graphics/uze_atmega644_mode4_default.lua b/src/hardware_data/graphics/uze_atmega644_mode4_default.lua new file mode 100644 index 0000000..a5f2eb7 --- /dev/null +++ b/src/hardware_data/graphics/uze_atmega644_mode4_default.lua @@ -0,0 +1,147 @@ +-- Information: -- +-- Video Mode 4 (official) -- +-- -- + +-- Sites: +-- http://uzebox.org/wiki/index.php?title=Video_Modes +-- https://github.com/Uzebox/uzebox +-- https://raw.githubusercontent.com/Uzebox/uzebox/master/kernel/videoMode4/videoMode4.def.h +-- https://raw.githubusercontent.com/Uzebox/uzebox/master/kernel/videoMode4/videomode4.s + +return { + screen = { + width = 288, + height = 224, + vsync = 60, + origin = { + x = 0, + y = 0, + }, + -- Total of unique texels, pixels and vertices on VRAM -- + pixels = '?', + texels = '?', + vertices = false, + }, + colours = { + total = 256, + limit = false, + transparent = { + sprite = false, + tile = false, + }, + palettes = false, + }, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, + }, + physic = false, + sprites = false, + tiles = { + layers = { + { + -- Total tiles and pixels on VRAM -- + onVRAM = { + screenSections = { + all = { + Xtiles = 32, + Ytiles = 32, + tiles = 1024, + pixels = 262144, + }, + }, + tiles = 'screenSections', + pixels = 'screenSections', + }, + -- Total tiles and pixels on screen -- + onScreen = { + screenSections = { + -- On screen section with support scrolling X and/or Y, -- + -- will be include one tile by axis -- + all = { + Xtiles = false, + Ytiles = false, + tiles = 198+18+11+1+72, + pixels = 50688+4608, + main = { + Xtiles = 18+1, + Ytiles = 11+1, + tiles = 198+18+11+1, + pixels = 50688, + }, + text = { + Xtiles = 36, + Ytiles = 2, + tiles = 72, + pixels = 4608, + }, + }, + tiles = 'screenSections', + pixels = 'screenSections', + }, + -- Total of unique tiles on VRAM -- + unique = '?', + screenSections = { + mirror = false, + main = { + optional = false, + moveSection = true, + { + startSection = { + x = 'startVRAM', + y = 'startVRAM', + }, + endSection = { + x = 'endVRAM', + y = 'endVRAM', + }, + size = { + -- Tile size in pixels -- + width = 16, + height = 16, + }, + transform = { + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + }, + }, + text = { + optional = false, + moveSection = false, + { + startSection = { + x = 'startVRAM', + y = -272, + }, + endSection = { + x = 'endScreen', + y = 'endScreen', + }, + size = { + -- Tile size in pixels -- + width = 8, + height = 8, + }, + transform = { + move = false, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + }, + }, + }, + }, + }, + }, +} |