Herramientas de usuario

Herramientas del sitio


assembly_tutorial

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anterior Revisión previa
assembly_tutorial [13/02/2018 11:55]
zako [Sistema de vídeo]
assembly_tutorial [13/02/2018 11:56] (actual)
zako
Línea 222: Línea 222:
 ==== Video system ==== ==== Video system ====
  
-Gameboy video system is not a direct pixel-by-pixel access system like a framebuffer in a PC, but a system formed by blocks or "​tiles"​. It has a buffef ​of 256x256 pixels (32x32 tiles of 8x8 pixels) from what you can show 160x144 in screen (20x18 tiles). We have two registers SCROLLX and SCROLLY, that let us move the buffer around the screen. Also the buffer is circular, when you scroll the buffer to one of its limits, we start to see the data on the opposite side.+Gameboy video system is not a direct pixel-by-pixel access system like a framebuffer in a PC, but a system formed by blocks or "​tiles"​. It has a buffer ​of 256x256 pixels (32x32 tiles of 8x8 pixels) from what you can show 160x144 in screen (20x18 tiles). We have two registers SCROLLX and SCROLLY, that let us move the buffer around the screen. Also the buffer is circular, when you scroll the buffer to one of its limits, we start to see the data on the opposite side.
  
 <​code>​ <​code>​
assembly_tutorial.txt · Última modificación: 13/02/2018 11:56 por zako