diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-24 16:16:09 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2017-01-06 17:30:18 -0300 |
commit | 7cf582644d71801f07f4fa5e8a6556db83e1b283 (patch) | |
tree | 27e395a441256c6968593c56d47a0be8affc1fcd | |
parent | adf9e1d66133b007178d597ef40d32c7f9496a0b (diff) |
Update graphics modes
-rw-r--r-- | src/hardware_data/graphics/uze_atmega644_mode7.lua | 89 |
1 files changed, 53 insertions, 36 deletions
diff --git a/src/hardware_data/graphics/uze_atmega644_mode7.lua b/src/hardware_data/graphics/uze_atmega644_mode7.lua index 707f0e2..9258f8f 100644 --- a/src/hardware_data/graphics/uze_atmega644_mode7.lua +++ b/src/hardware_data/graphics/uze_atmega644_mode7.lua @@ -1,23 +1,35 @@ +-- Information: -- +-- Video Mode 7 - Video Player (official) -- +-- -- + +-- Sites: +-- http://uzebox.org/wiki/index.php?title=Video_Modes +-- https://github.com/Uzebox/uzebox +-- https://raw.githubusercontent.com/Uzebox/uzebox/master/kernel/videoMode7/videoMode7.def.h +-- https://raw.githubusercontent.com/Uzebox/uzebox/master/kernel/videoMode7/videoMode7.s + return { screen = { - { - width = 170, - height = 114, - refresh = 30, - origin = { - x = 0, - y = 0, - }, + width = 170, + height = 114, + vsync = 30, + origin = { + x = 0, + y = 0, }, - pixels = 19380, + -- Total of unique texels, pixels and vertices on VRAM -- + pixels = 24480, texels = 1, vertices = false, }, colours = { total = 256, limit = false, - background = false, - transparent = false, + transparent = { + sprite = false, + tile = false, + }, + palettes = false, }, meshes = false, shaders = { @@ -33,39 +45,44 @@ return { tiles = { layers = { { - total = { - x = 1, - y = 1, - 1, - }, - onScreen = { - { - 1, + -- Total tiles and pixels on VRAM -- + onVRAM = { + screenSections = { + all = { + Xtiles = 1, + Ytiles = 1, + tiles = 1, + pixels = 24480, + }, }, + tiles = 'screenSections', + pixels = 'screenSections', }, + -- Total tiles and pixels on screen (is same as VRAM) -- + onScreen = 'vram', + -- Total of unique tiles on VRAM -- unique = 1, screenSections = { - mirror = false, - main = { - optional = false, + mirror = false, + main = { + optional = false, + moveSection = false, { - startCut = { - x = 0, - y = 0, + startSection = { + x = 'startVRAM', + y = 'startVRAM', }, - endCut = { - x = 0, - y = 0, + endSection = { + x = 'endVRAM', + y = 'endVRAM', }, - palettes = false, - sizes = { - { - width = 170, - height = 114, - }, + size = { + -- Tile size in pixels -- + width = 170, + height = 114, }, - transform = { - move = 'simulate', + transform = { + move = false, rotate = false, scale = false, shear = false, |