![]() |
PicoVGA
1.0-cmake
VGA/TV display on Raspberry Pico
|
VGA common definitions of C and ASM.
#include "vga_config.h"
Go to the source code of this file.
Macros | |
#define | LAYERS_MAX 4 |
#define | BLACK_MAX MAXX |
#define | BASE_OFFSET 17 |
Offset of base layer PIO program. | |
#define | LAYER_OFFSET 0 |
Offset of overlapped layer PIO program. | |
#define | LAYERPROG_BASE 0 |
Program of base layer (overlapped layers are OFF) | |
#define | LAYERPROG_KEY 1 |
Layer with key color. | |
#define | LAYERPROG_BLACK 2 |
Layer with black key color. | |
#define | LAYERPROG_WHITE 3 |
Layer with white key color. | |
#define | LAYERPROG_MONO 4 |
Layer with mono pattern or simple color. | |
#define | LAYERPROG_RLE 5 |
Layer with RLE compression. | |
#define | LAYERPROG_NUM 6 |
Number of layer programs. | |
#define | LAYERMODE_BASE 0 |
Base layer. | |
#define | LAYERMODE_KEY 1 |
Layer with key color. | |
#define | LAYERMODE_BLACK 2 |
layer with black key color | |
#define | LAYERMODE_WHITE 3 |
Layer with white key color. | |
#define | LAYERMODE_MONO 4 |
Layer with mono pattern. | |
#define | LAYERMODE_COLOR 5 |
layer with simple color | |
#define | LAYERMODE_RLE 6 |
Layer with RLE compression. | |
#define | LAYERMODE_SPRITEKEY 7 |
Layer with sprites with key color. | |
#define | LAYERMODE_SPRITEBLACK 8 |
Layer with sprites with black key color. | |
#define | LAYERMODE_SPRITEWHITE 9 |
Layer with sprites with white key color. | |
#define | LAYERMODE_FASTSPRITEKEY 10 |
Layer with fast sprites with key color. | |
#define | LAYERMODE_FASTSPRITEBLACK 11 |
Layer with fast sprites with black key color. | |
#define | LAYERMODE_FASTSPRITEWHITE 12 |
Layer with fast sprites with white key color. | |
#define | LAYERMODE_PERSPKEY 13 |
Layer with key color and image with transformation matrix. | |
#define | LAYERMODE_PERSPBLACK 14 |
Layer with black key color and image with transformation matrix. | |
#define | LAYERMODE_PERSPWHITE 15 |
Layer with white key color and image with transformation matrix. | |
#define | LAYERMODE_PERSP2KEY 16 |
Layer with key color and double-pixel image with transformation matrix. | |
#define | LAYERMODE_PERSP2BLACK 17 |
Layer with black key color and double-pixel image with transformation matrix. | |
#define | LAYERMODE_PERSP2WHITE 18 |
Layer with white key color and double-pixel image with transformation matrix. | |
#define | LAYERMODE_NUM 19 |
Number of overlapped layer modes. | |
#define | SSPRITE_IMG 0 |
#define | SSPRITE_X0 4 |
#define | SSPRITE_W0 8 |
#define | SSPRITE_KEYCOL 12 |
#define | SSPRITE_X 16 |
#define | SSPRITE_Y 18 |
#define | SSPRITE_W 20 |
#define | SSPRITE_H 22 |
#define | SSPRITE_WB 24 |
#define | SSPRITE_SIZE 28 |
#define | SLAYER_IMG 0 |
#define | SLAYER_PAR 4 |
#define | SLAYER_INIT 8 |
#define | SLAYER_KEYCOL 12 |
#define | SLAYER_TRANS 16 |
#define | SLAYER_X 18 |
#define | SLAYER_Y 20 |
#define | SLAYER_W 22 |
#define | SLAYER_H 24 |
#define | SLAYER_WB 26 |
#define | SLAYER_MODE 28 |
#define | SLAYER_HORIZ 29 |
#define | SLAYER_XBITS 30 |
#define | SLAYER_YBITS 31 |
#define | SLAYER_SPRITENUM 32 |
#define | SLAYER_ON 34 |
#define | SLAYER_CPP 35 |
#define | SLAYER_SIZE 36 |
#define | SSEGM_WIDTH 0 |
#define | SSEGM_WB 2 |
#define | SSEGM_OFFX 4 |
#define | SSEGM_OFFY 6 |
#define | SSEGM_WRAPX 8 |
#define | SSEGM_WRAPY 10 |
#define | SSEGM_DATA 12 |
#define | SSEGM_FORM 16 |
#define | SSEGM_DBLY 17 |
#define | SSEGM_PAR3 18 |
#define | SSEGM_PAR 20 |
#define | SSEGM_PAR2 24 |
#define | SSEGM_SIZE 28 |
#define | SSTRIP_HEIGHT 0 |
#define | SSTRIP_NUM 2 |
#define | SSTRIP_SEG 4 |
#define | SSTRIP_SIZE (4+SSEGM_SIZE*SEGMAX) |
#define | SSCREEN_NUM 0 |
#define | SSCREEN_BACKUP 2 |
#define | SSCREEN_STRIP 4 |
#define | SSCREEN_SIZE (4+SSTRIP_SIZE*STRIPMAX) |
#define | GF_COLOR 0 |
#define | GF_GRAPH8 1 |
#define | GF_TILE 2 |
#define | GF_TILE2 3 |
#define | GF_PROGRESS 4 |
#define | GF_GRAD1 5 |
#define | GF_GRAD2 6 |
#define | GF_GRP2MIN GF_GRAPH8 |
#define | GF_GRP2MAX GF_GRAD2 |
#define | GF_GRAPH4 7 |
#define | GF_GRAPH2 8 |
#define | GF_GRAPH1 9 |
#define | GF_MTEXT 10 |
#define | GF_ATEXT 11 |
#define | GF_FTEXT 12 |
#define | GF_CTEXT 13 |
#define | GF_GTEXT 14 |
#define | GF_DTEXT 15 |
#define | GF_LEVEL 16 |
#define | GF_LEVELGRAD 17 |
#define | GF_OSCIL 18 |
#define | GF_OSCLINE 19 |
#define | GF_PLANE2 20 |
#define | GF_ATTRIB8 21 |
#define | GF_GRAPH8MAT 22 |
#define | GF_GRAPH8PERSP 23 |
#define | GF_TILEPERSP 24 |
#define | GF_TILEPERSP15 25 |
#define | GF_TILEPERSP2 26 |
#define | GF_TILEPERSP3 27 |
#define | GF_TILEPERSP4 28 |
#define | GF_GRP3MIN GF_GRAPH4 |
#define | GF_GRP3MAX GF_TILEPERSP4 |
#define | FRACT 12 |
#define | FRACTMUL (1<<FRACT) |