diff options
Diffstat (limited to 'src/hardware_data')
-rw-r--r-- | src/hardware_data/graphics/uze_atmega644_mode1_6x8px-tile-size.lua | 4 | ||||
-rw-r--r-- | src/hardware_data/graphics/uze_atmega644_mode1_8x8px-tile-size.lua | 4 | ||||
l--------- | src/hardware_data/graphics/uze_atmega644_mode4.lua | 2 | ||||
-rw-r--r-- | src/hardware_data/graphics/uze_atmega644_mode4_default.lua (renamed from src/hardware_data/graphics/uze_atmega644_mode4-default.lua) | 0 | ||||
l---------[-rw-r--r--] | src/hardware_data/graphics/uze_atmega644_mode5.lua | 84 | ||||
-rw-r--r-- | src/hardware_data/graphics/uze_atmega644_mode5_default.lua | 97 |
6 files changed, 103 insertions, 88 deletions
diff --git a/src/hardware_data/graphics/uze_atmega644_mode1_6x8px-tile-size.lua b/src/hardware_data/graphics/uze_atmega644_mode1_6x8px-tile-size.lua index 91663b5..d847126 100644 --- a/src/hardware_data/graphics/uze_atmega644_mode1_6x8px-tile-size.lua +++ b/src/hardware_data/graphics/uze_atmega644_mode1_6x8px-tile-size.lua @@ -99,8 +99,8 @@ return { all = { Xtiles = 40, Ytiles = 28, - tiles = 1600, - pixels = 76800, + tiles = 1120, + pixels = 53760, }, }, tiles = 'screenSections', diff --git a/src/hardware_data/graphics/uze_atmega644_mode1_8x8px-tile-size.lua b/src/hardware_data/graphics/uze_atmega644_mode1_8x8px-tile-size.lua index a745a84..f07bc6c 100644 --- a/src/hardware_data/graphics/uze_atmega644_mode1_8x8px-tile-size.lua +++ b/src/hardware_data/graphics/uze_atmega644_mode1_8x8px-tile-size.lua @@ -99,8 +99,8 @@ return { all = { Xtiles = 30, Ytiles = 28, - tiles = 900, - pixels = 57600, + tiles = 840, + pixels = 53760, }, }, tiles = 'screenSections', diff --git a/src/hardware_data/graphics/uze_atmega644_mode4.lua b/src/hardware_data/graphics/uze_atmega644_mode4.lua index defcefe..0f6be98 120000 --- a/src/hardware_data/graphics/uze_atmega644_mode4.lua +++ b/src/hardware_data/graphics/uze_atmega644_mode4.lua @@ -1 +1 @@ -uze_atmega644_mode4-default.lua
\ No newline at end of file +uze_atmega644_mode4_default.lua
\ No newline at end of file diff --git a/src/hardware_data/graphics/uze_atmega644_mode4-default.lua b/src/hardware_data/graphics/uze_atmega644_mode4_default.lua index a5f2eb7..a5f2eb7 100644 --- a/src/hardware_data/graphics/uze_atmega644_mode4-default.lua +++ b/src/hardware_data/graphics/uze_atmega644_mode4_default.lua diff --git a/src/hardware_data/graphics/uze_atmega644_mode5.lua b/src/hardware_data/graphics/uze_atmega644_mode5.lua index 8ccc369..5adf5c9 100644..120000 --- a/src/hardware_data/graphics/uze_atmega644_mode5.lua +++ b/src/hardware_data/graphics/uze_atmega644_mode5.lua @@ -1,83 +1 @@ -return { - screen = { - { - width = 240, - height = 224, - refresh = 60, - origin = { - x = 0, - y = 0, - }, - }, - pixels = 12288, - texels = 256, - vertices = false, - }, - colours = { - total = 256, - limit = false, - background = true, - 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 = { - x = 40, - y = 28, - 1120, - }, - onScreen = { - { - 1120, - }, - }, - unique = 256, - screenSections = { - mirror = false, - main = { - optional = false, - { - startCut = { - x = 0, - y = 0, - }, - endCut = { - x = 0, - y = 0, - }, - sizes = { - { - width = 6, - height = 8, - }, - }, - transform = { - move = 'simulate', - rotate = false, - scale = false, - shear = false, - affine = false, - }, - }, - }, - }, - }, - }, - }, -} +uze_atmega644_mode5_default.lua
\ No newline at end of file diff --git a/src/hardware_data/graphics/uze_atmega644_mode5_default.lua b/src/hardware_data/graphics/uze_atmega644_mode5_default.lua new file mode 100644 index 0000000..4bd6112 --- /dev/null +++ b/src/hardware_data/graphics/uze_atmega644_mode5_default.lua @@ -0,0 +1,97 @@ +-- Information: -- +-- Video Mode 5 (official) -- +-- -- + +-- Sites: +-- http://uzebox.org/wiki/index.php?title=Video_Modes +-- https://github.com/Uzebox/uzebox +-- https://raw.githubusercontent.com/Uzebox/uzebox/master/kernel/videoMode5/videoMode5.def.h +-- https://raw.githubusercontent.com/Uzebox/uzebox/master/kernel/videoMode5/videoMode5.s + +return { + screen = { + width = 240, + height = 224, + vsync = 60, + origin = { + x = 0, + y = 0, + }, + -- Total of unique texels, pixels and vertices on VRAM -- + pixels = 12288, + texels = 256, + 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 = 40, + Ytiles = 28, + tiles = 1120, + pixels = 53760, + }, + }, + tiles = 'screenSections', + pixels = 'screenSections', + }, + -- Total tiles and pixels on screen (is same as VRAM) -- + onScreen = 'vram', + -- Total of unique tiles on VRAM -- + unique = 256, + screenSections = { + mirror = false, + main = { + optional = false, + moveSection = false, + { + startSection = { + x = 'startVRAM', + y = 'startVRAM', + }, + endSection = { + x = 'endVRAM', + y = 'endVRAM', + }, + size = { + -- Tile size in pixels -- + width = 6, + height = 8, + }, + transform = { + move = false, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + }, + }, + }, + }, + }, + }, +} |