summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-30 19:26:55 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2017-01-06 17:30:18 -0300
commit41d837d1e54e33ecb82c37f46cbdeecaed55d52d (patch)
tree80700f2e374712d46295978236346a0478f49dec
parent956bda68e3f3f16329e4fbcbba29b14c2df45116 (diff)
Update graphics modes: add more uze_atmega644_mode{4,5,6} descritions and minor fix
-rw-r--r--src/hardware_data/graphics/uze_atmega644_mode2_1-screen-section.lua2
-rw-r--r--src/hardware_data/graphics/uze_atmega644_mode2_2-screen-sections.lua2
-rw-r--r--src/hardware_data/graphics/uze_atmega644_mode4_default.lua19
-rw-r--r--src/hardware_data/graphics/uze_atmega644_mode5_default.lua19
-rw-r--r--src/hardware_data/graphics/uze_atmega644_mode6.lua23
5 files changed, 63 insertions, 2 deletions
diff --git a/src/hardware_data/graphics/uze_atmega644_mode2_1-screen-section.lua b/src/hardware_data/graphics/uze_atmega644_mode2_1-screen-section.lua
index a1eaf2f..f265eee 100644
--- a/src/hardware_data/graphics/uze_atmega644_mode2_1-screen-section.lua
+++ b/src/hardware_data/graphics/uze_atmega644_mode2_1-screen-section.lua
@@ -39,7 +39,7 @@
-- FRAME_LINES is changed. --
-- Can be changed by compilation. --
-- Default value is: --
--- FIRST_RENDER_LINE=20 --
+-- FIRST_RENDER_LINE=24 --
-- Sites:
-- http://uzebox.org/wiki/index.php?title=Video_Modes
diff --git a/src/hardware_data/graphics/uze_atmega644_mode2_2-screen-sections.lua b/src/hardware_data/graphics/uze_atmega644_mode2_2-screen-sections.lua
index a5086da..d489411 100644
--- a/src/hardware_data/graphics/uze_atmega644_mode2_2-screen-sections.lua
+++ b/src/hardware_data/graphics/uze_atmega644_mode2_2-screen-sections.lua
@@ -39,7 +39,7 @@
-- FRAME_LINES is changed. --
-- Can be changed by compilation. --
-- Default value is: --
--- FIRST_RENDER_LINE=20 --
+-- FIRST_RENDER_LINE=24 --
-- Sites:
-- http://uzebox.org/wiki/index.php?title=Video_Modes
diff --git a/src/hardware_data/graphics/uze_atmega644_mode4_default.lua b/src/hardware_data/graphics/uze_atmega644_mode4_default.lua
index a5f2eb7..afcfa89 100644
--- a/src/hardware_data/graphics/uze_atmega644_mode4_default.lua
+++ b/src/hardware_data/graphics/uze_atmega644_mode4_default.lua
@@ -1,6 +1,25 @@
-- Information: --
-- Video Mode 4 (official) --
-- --
+-- Vertical tiles on VRAM, --
+-- can be changed by compilation, --
+-- but is not recomended. --
+-- Default value is: --
+-- VRAM_TILES_V=32 --
+-- --
+-- Numbers of video lines to render, --
+-- can be changed by compilation, --
+-- but is not recommended, changes the --
+-- CPU cyles. --
+-- Default value is: --
+-- FRAME_LINES=SCREEN_TILES_V*TILE_HEIGHT --
+-- --
+-- First render line is used to adjust --
+-- vertical centering if the value --
+-- FRAME_LINES is changed. --
+-- Can not be changed by compilation. --
+-- Default value is: --
+-- FIRST_RENDER_LINE=24 --
-- Sites:
-- http://uzebox.org/wiki/index.php?title=Video_Modes
diff --git a/src/hardware_data/graphics/uze_atmega644_mode5_default.lua b/src/hardware_data/graphics/uze_atmega644_mode5_default.lua
index 4bd6112..582d98c 100644
--- a/src/hardware_data/graphics/uze_atmega644_mode5_default.lua
+++ b/src/hardware_data/graphics/uze_atmega644_mode5_default.lua
@@ -1,6 +1,25 @@
-- Information: --
-- Video Mode 5 (official) --
-- --
+-- Vertical tiles on VRAM, --
+-- can be changed by compilation, --
+-- but is not recomended. --
+-- Default value is: --
+-- VRAM_TILES_V=28 --
+-- --
+-- Numbers of video lines to render, --
+-- can be changed by compilation, --
+-- but is not recommended, changes the --
+-- CPU cyles. --
+-- Default value is: --
+-- FRAME_LINES=SCREEN_TILES_V*TILE_HEIGHT --
+-- --
+-- First render line is used to adjust --
+-- vertical centering if the value --
+-- FRAME_LINES is changed. --
+-- Can not be changed by compilation. --
+-- Default value is: --
+-- FIRST_RENDER_LINE=20 --
-- Sites:
-- http://uzebox.org/wiki/index.php?title=Video_Modes
diff --git a/src/hardware_data/graphics/uze_atmega644_mode6.lua b/src/hardware_data/graphics/uze_atmega644_mode6.lua
index 5c3626b..e85379c 100644
--- a/src/hardware_data/graphics/uze_atmega644_mode6.lua
+++ b/src/hardware_data/graphics/uze_atmega644_mode6.lua
@@ -1,3 +1,26 @@
+-- Information: --
+-- Video Mode 6 (official) --
+-- --
+-- Numbers of video lines to render, --
+-- can be changed by compilation, --
+-- but is not recommended, changes the --
+-- CPU cyles. --
+-- Default value is: --
+-- FRAME_LINES=SCREEN_TILES_V*TILE_HEIGHT --
+-- --
+-- First render line is used to adjust --
+-- vertical centering if the value --
+-- FRAME_LINES is changed. --
+-- Can be changed by compilation. --
+-- Default value is: --
+-- FIRST_RENDER_LINE=20 --
+
+-- Sites:
+-- http://uzebox.org/wiki/index.php?title=Video_Modes
+-- https://github.com/Uzebox/uzebox
+-- https://raw.githubusercontent.com/Uzebox/uzebox/master/kernel/videoMode6/videoMode6.def.h
+-- https://raw.githubusercontent.com/Uzebox/uzebox/master/kernel/videoMode6/videoMode6.s
+
return {
screen = {
mode240 = {