summaryrefslogtreecommitdiff
path: root/src/hardware_data/graphics/uze_atmega644_mode1_tile-size-8x8px.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware_data/graphics/uze_atmega644_mode1_tile-size-8x8px.lua')
-rw-r--r--src/hardware_data/graphics/uze_atmega644_mode1_tile-size-8x8px.lua63
1 files changed, 43 insertions, 20 deletions
diff --git a/src/hardware_data/graphics/uze_atmega644_mode1_tile-size-8x8px.lua b/src/hardware_data/graphics/uze_atmega644_mode1_tile-size-8x8px.lua
index 1e047e4..3520733 100644
--- a/src/hardware_data/graphics/uze_atmega644_mode1_tile-size-8x8px.lua
+++ b/src/hardware_data/graphics/uze_atmega644_mode1_tile-size-8x8px.lua
@@ -1,4 +1,5 @@
-- Information: --
+-- Video Mode 1 (official) --
-- --
-- Vertical tiles on screen and VRAM, --
-- can be changed by compilation, --
@@ -35,9 +36,27 @@
-- MODE1_FAST_VSYNC=1 (60Mhz) --
-- MODE1_FAST_VSYNC=0 (30Mhz) --
-- --
--- More options: --
--- FIRST_RENDER_LINE=20 --
+-- Only one screen section support. --
+-- --
+-- 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 --
+-- --
+-- Fist 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/videoMode1/videoMode1.def.h
+-- https://raw.githubusercontent.com/Uzebox/uzebox/master/kernel/videoMode1/videoMode1.s
return {
screen = {
@@ -48,7 +67,8 @@ return {
x = 0,
y = 0,
},
- pixels = 3145728,
+ -- Total of unique texels, pixels and vertices on VRAM --
+ pixels = 4194304,
texels = 65536,
vertices = false,
},
@@ -75,40 +95,43 @@ return {
tiles = {
layers = {
{
- -- Total tiles on VRAM --
+ -- Total tiles and pixels on VRAM --
onVRAM = {
screenSections = {
all = {
- x = 30,
- y = 28,
- total = 900,
+ Xtiles = 30,
+ Ytiles = 28,
+ tiles = 900,
+ pixels = 57600,
},
},
- total = 'screenSections',
+ tiles = 'screenSections',
+ pixels = 'screenSections',
},
- -- Total tiles on screen is same as VRAM tiles --
+ -- Total tiles and pixels on screen (is same as VRAM) --
onScreen = 'vram',
-- Total of unique tiles on VRAM --
unique = 65536,
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',
},
- size = {
+ size = {
-- Tile size in pixels --
width = 8,
height = 8,
},
- transform = {
+ transform = {
move = 'simulate',
rotate = false,
scale = false,