summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-24 15:38:44 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2017-01-06 17:30:18 -0300
commitcd119485a45e87cbe2cda27c60d141eaca556974 (patch)
tree97cb4c4f11736b8bb53e2b937d5c1d546198ef75
parent8864f19b5bfc73165006a8dcf15cc9f993cb3b43 (diff)
Update graphics modes
-rw-r--r--src/hardware_data/graphics/uze_atmega644_mode13_scroll-mode-with-extended-palette.lua8
-rw-r--r--src/hardware_data/graphics/uze_atmega644_mode13_scroll-mode-without-extended-palette.lua8
-rw-r--r--src/hardware_data/graphics/uze_atmega644_mode4-default.lua147
l---------[-rw-r--r--]src/hardware_data/graphics/uze_atmega644_mode4.lua110
4 files changed, 156 insertions, 117 deletions
diff --git a/src/hardware_data/graphics/uze_atmega644_mode13_scroll-mode-with-extended-palette.lua b/src/hardware_data/graphics/uze_atmega644_mode13_scroll-mode-with-extended-palette.lua
index 1449a8f..1e7275e 100644
--- a/src/hardware_data/graphics/uze_atmega644_mode13_scroll-mode-with-extended-palette.lua
+++ b/src/hardware_data/graphics/uze_atmega644_mode13_scroll-mode-with-extended-palette.lua
@@ -93,10 +93,10 @@ return {
-- On screen section with support scrolling X and/or Y, --
-- will be include one tile by axis --
all = {
- Xtiles = 29,
- Ytiles = 29,
- tiles = 841,
- pixels = 53824,
+ Xtiles = 28+1,
+ Ytiles = 28+1,
+ tiles = 784+28+28+1,
+ pixels = 50176,
},
},
tiles = 'screenSections',
diff --git a/src/hardware_data/graphics/uze_atmega644_mode13_scroll-mode-without-extended-palette.lua b/src/hardware_data/graphics/uze_atmega644_mode13_scroll-mode-without-extended-palette.lua
index 4e2ff64..2f44e3b 100644
--- a/src/hardware_data/graphics/uze_atmega644_mode13_scroll-mode-without-extended-palette.lua
+++ b/src/hardware_data/graphics/uze_atmega644_mode13_scroll-mode-without-extended-palette.lua
@@ -93,10 +93,10 @@ return {
-- On screen section with support scrolling X and/or Y, --
-- will be include one tile by axis --
all = {
- Xtiles = 29,
- Ytiles = 29,
- tiles = 841,
- pixels = 53824,
+ Xtiles = 28+1,
+ Ytiles = 28+1,
+ tiles = 784+28+28+1,
+ pixels = 50176,
},
},
tiles = 'screenSections',
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,
+ },
+ },
+ },
+ },
+ },
+ },
+ },
+}
diff --git a/src/hardware_data/graphics/uze_atmega644_mode4.lua b/src/hardware_data/graphics/uze_atmega644_mode4.lua
index 2d9d592..defcefe 100644..120000
--- a/src/hardware_data/graphics/uze_atmega644_mode4.lua
+++ b/src/hardware_data/graphics/uze_atmega644_mode4.lua
@@ -1,109 +1 @@
-return {
- screen = {
- {
- width = 288,
- height = 224,
- refresh = 60,
- origin = {
- x = 0,
- y = 0,
- },
- },
- pixels = '?',
- texels = '?',
- 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 = '?',
- y = '?',
- '?',
- },
- onScreen = {
- {
- 285,
- },
- },
- unique = '?',
- screenSections = {
- mirror = false,
- main = {
- optional = false,
- {
- startCut = {
- x = 0,
- y = 0,
- },
- endCut = {
- x = 0,
- y = 0,
- },
- sizes = {
- {
- width = 16,
- height = 16,
- },
- },
- transform = {
- move = true,
- rotate = false,
- scale = false,
- shear = false,
- affine = false,
- },
- },
- },
- text = {
- optional = false,
- {
- startCut = {
- x = 0,
- y = 192,
- },
- endCut = {
- x = 0,
- y = -32,
- },
- sizes = {
- {
- width = 8,
- height = 8,
- },
- },
- transform = {
- move = 'simulate',
- rotate = false,
- scale = false,
- shear = false,
- affine = false,
- },
- },
- },
- },
- },
- },
- },
-}
+uze_atmega644_mode4-default.lua \ No newline at end of file