From 8aa4fe87be91c8e6518d30d55fddbb4b5248e39a Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Wed, 28 Dec 2016 10:27:09 -0300 Subject: Update graphics modes --- .../uze_atmega644_mode1_6x8px-tile-size.lua | 16 +++--- .../uze_atmega644_mode1_8x8px-tile-size.lua | 16 +++--- .../graphics/uze_atmega644_mode3_scroll-mode.lua | 64 ++++++++++++++++++++++ .../graphics/uze_atmega644_mode3_static-mode.lua | 64 ++++++++++++++++++++++ 4 files changed, 144 insertions(+), 16 deletions(-) (limited to 'src') 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 d847126..d87b200 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 @@ -1,18 +1,18 @@ -- Information: -- -- Video Mode 1 (official) -- -- -- --- Vertical tiles on screen and VRAM, -- --- can be changed by compilation, -- --- but is not recomended. -- --- Default value is: -- --- {VRAM,SCREEN}_TILES_V=224/TILE_HEIGHT -- --- -- --- Horizontal tiles on screen and VRAM, -- +-- Horizontal tiles on screen and/or VRAM, -- -- can not be changed by compilation. -- -- Default value is: -- -- {VRAM,SCREEN}_TILES_H=40 if TILE_WIDTH=6 -- -- {VRAM,SCREEN}_TILES_H=30 if TILE_WIDTH=8 -- -- -- +-- Vertical tiles on screen and/or VRAM, -- +-- can be changed by compilation, -- +-- but is not recomended. -- +-- Default value is: -- +-- {VRAM,SCREEN}_TILES_V=224/TILE_HEIGHT -- +-- -- -- Tile width size in pixels, -- -- can be changed by compilation. -- -- Default value is: -- @@ -26,7 +26,7 @@ -- Default value is: -- -- TILE_HEIGHT=8 -- -- Available value is: -- --- TILE_WIDTH=1 to TILE_WIDTH=224 -- +-- TILE_HEIGHT=1 to TILE_HEIGHT=224 or more -- -- -- -- Vertical synchronization, -- -- can be changed by compilation. -- 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 f07bc6c..a7ab713 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 @@ -1,18 +1,18 @@ -- Information: -- -- Video Mode 1 (official) -- -- -- --- Vertical tiles on screen and VRAM, -- --- can be changed by compilation, -- --- but is not recomended. -- --- Default value is: -- --- {VRAM,SCREEN}_TILES_V=224/TILE_HEIGHT -- --- -- --- Horizontal tiles on screen and VRAM, -- +-- Horizontal tiles on screen and/or VRAM, -- -- can not be changed by compilation. -- -- Default value is: -- -- {VRAM,SCREEN}_TILES_H=40 if TILE_WIDTH=6 -- -- {VRAM,SCREEN}_TILES_H=30 if TILE_WIDTH=8 -- -- -- +-- Vertical tiles on screen and/or VRAM, -- +-- can be changed by compilation, -- +-- but is not recomended. -- +-- Default value is: -- +-- {VRAM,SCREEN}_TILES_V=224/TILE_HEIGHT -- +-- -- -- Tile width size in pixels, -- -- can be changed by compilation. -- -- Default value is: -- @@ -26,7 +26,7 @@ -- Default value is: -- -- TILE_HEIGHT=8 -- -- Available value is: -- --- TILE_WIDTH=1 to TILE_WIDTH=224 -- +-- TILE_HEIGHT=1 to TILE_HEIGHT=224 or more -- -- -- -- Vertical synchronization, -- -- can be changed by compilation. -- diff --git a/src/hardware_data/graphics/uze_atmega644_mode3_scroll-mode.lua b/src/hardware_data/graphics/uze_atmega644_mode3_scroll-mode.lua index 978db4a..17e8678 100644 --- a/src/hardware_data/graphics/uze_atmega644_mode3_scroll-mode.lua +++ b/src/hardware_data/graphics/uze_atmega644_mode3_scroll-mode.lua @@ -1,6 +1,70 @@ -- Information: -- -- Video Mode 3 (official) -- -- -- +-- Scroll Mode and Static Mode, -- +-- can be changed by compilation. -- +-- Default value is: -- +-- SCROLLING=0 (Static Mode) -- +-- Available values are: -- +-- SCROLLING=0 (Static Mode) -- +-- SCROLLING=1 (Scroll Mode) -- +-- -- +-- Horizontal tiles on screen and/or VRAM, -- +-- can be changed by compilation, -- +-- but is not recomended. -- +-- Default value is: -- +-- {SCREEN,VRAM}_TILES_H=30 if SCROLLING=0 -- +-- and SCREEN_TILES_H == VRAM_TILES_H -- +-- SCREEN_TILES_H=28 if SCROLLING=1 -- +-- VRAM_TILES_H=32 if SCROLLING=1 -- +-- -- +-- Vertical tiles on screen and/or VRAM, -- +-- can be changed by compilation, -- +-- but is not recomended. -- +-- Default value is: -- +-- {SCREEN,VRAM}_TILES_V=28 if SCROLLING=0 -- +-- and SCREEN_TILES_V == VRAM_TILES_V -- +-- SCREEN_TILES_V=28 if SCROLLING=1 -- +-- VRAM_TILES_V=32 if SCROLLING=1 -- +-- Available value is: -- +-- VRAM_TILES_V=32 if SCROLLING=1 -- +-- VRAM_TILES_V=24 if SCROLLING=1 -- +-- VRAM_TILES_V=16 if SCROLLING=1 -- +-- -- +-- Tile width size in pixels, -- +-- can be changed by compilation, -- +-- more that 224 pixels is not recommended. -- +-- Default value is: -- +-- TILE_WIDTH=8 -- +-- Available value is: -- +-- TILE_WIDTH=1 to TILE_WIDTH=224 or more -- +-- -- +-- Tile height size in pixels, -- +-- can be changed by compilation, -- +-- more that 224 pixels with scrolling or -- +-- 240 pixels without scrolling is not -- +-- recommended. -- +-- Default value is: -- +-- TILE_HEIGHT=8 -- +-- Available value is: -- +-- TILE_HEIGHT=1 to TILE_HEIGHT=224 or more -- +-- if SCROLLING=1 -- +-- TILE_HEIGHT=1 to TILE_HEIGHT=240 or more -- +-- if SCROLLING=0 -- +-- -- +-- 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 diff --git a/src/hardware_data/graphics/uze_atmega644_mode3_static-mode.lua b/src/hardware_data/graphics/uze_atmega644_mode3_static-mode.lua index 7eb3e44..09acde8 100644 --- a/src/hardware_data/graphics/uze_atmega644_mode3_static-mode.lua +++ b/src/hardware_data/graphics/uze_atmega644_mode3_static-mode.lua @@ -1,6 +1,70 @@ -- Information: -- -- Video Mode 3 (official) -- -- -- +-- Scroll Mode and Static Mode, -- +-- can be changed by compilation. -- +-- Default value is: -- +-- SCROLLING=0 (Static Mode) -- +-- Available values are: -- +-- SCROLLING=0 (Static Mode) -- +-- SCROLLING=1 (Scroll Mode) -- +-- -- +-- Horizontal tiles on screen and/or VRAM, -- +-- can be changed by compilation, -- +-- but is not recomended. -- +-- Default value is: -- +-- {SCREEN,VRAM}_TILES_H=30 if SCROLLING=0 -- +-- and SCREEN_TILES_H == VRAM_TILES_H -- +-- SCREEN_TILES_H=28 if SCROLLING=1 -- +-- VRAM_TILES_H=32 if SCROLLING=1 -- +-- -- +-- Vertical tiles on screen and/or VRAM, -- +-- can be changed by compilation, -- +-- but is not recomended. -- +-- Default value is: -- +-- {SCREEN,VRAM}_TILES_V=28 if SCROLLING=0 -- +-- and SCREEN_TILES_V == VRAM_TILES_V -- +-- SCREEN_TILES_V=28 if SCROLLING=1 -- +-- VRAM_TILES_V=32 if SCROLLING=1 -- +-- Available value is: -- +-- VRAM_TILES_V=32 if SCROLLING=1 -- +-- VRAM_TILES_V=24 if SCROLLING=1 -- +-- VRAM_TILES_V=16 if SCROLLING=1 -- +-- -- +-- Tile width size in pixels, -- +-- can be changed by compilation, -- +-- more that 224 pixels is not recommended. -- +-- Default value is: -- +-- TILE_WIDTH=8 -- +-- Available value is: -- +-- TILE_WIDTH=1 to TILE_WIDTH=224 or more -- +-- -- +-- Tile height size in pixels, -- +-- can be changed by compilation, -- +-- more that 224 pixels with scrolling or -- +-- 240 pixels without scrolling is not -- +-- recommended. -- +-- Default value is: -- +-- TILE_HEIGHT=8 -- +-- Available value is: -- +-- TILE_HEIGHT=1 to TILE_HEIGHT=224 or more -- +-- if SCROLLING=1 -- +-- TILE_HEIGHT=1 to TILE_HEIGHT=240 or more -- +-- if SCROLLING=0 -- +-- -- +-- 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 -- cgit v1.2.3-54-g00ecf