diff --git a/docs/annotated.html b/docs/annotated.html index 2f42fae..fd9c23e 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -3,7 +3,7 @@ - + PicoVGA: Data Structures @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -92,22 +92,27 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();
Here are the data structures with brief descriptions:
- - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + +
 CcGaussDRandomGaussian random double number generator
 CcGaussFRandomGaussian random float number generator
 CcMat2DTransformation matrix
 CcMat2Df2D Transformation Matrix
 CcRandomRandom Generator
 CsCanvasCanvas descriptor
 CsLayerLayer screen descriptor (on change update SLAYER_* in define.h)
 CsLayerMode
 CsLayerProg
 CsScreenVideo screen (on change update SSCREEN_* in define.h)
 CsSegmVideo segment (on change update SSEGM_* in define.h)
 CsSpriteSprite (on change update SSPRITE_* in define.h)
 CsStripVideo strip (on change update SSTRIP_* in define.h)
 CsVgaCfgRequired configuration to initialize VGA output
 CsVideoVideo timings structure
 CsVmodeVideomode table - used to setup video driver
 C_bmpBITMAPFILEHEADER
 C_bmpBITMAPINFOHEADER
 CcGaussDRandomGaussian random double number generator
 CcGaussFRandomGaussian random float number generator
 CcMat2DTransformation matrix
 CcMat2Df2D Transformation Matrix
 CcRandomRandom Generator
 CsCanvasCanvas descriptor
 CsLayerLayer screen descriptor (on change update SLAYER_* in define.h)
 CsLayerMode
 CsLayerProg
 CsScreenVideo screen (on change update SSCREEN_* in define.h)
 CsSegmVideo segment (on change update SSEGM_* in define.h)
 CsSpriteSprite (on change update SSPRITE_* in define.h)
 CsStripVideo strip (on change update SSTRIP_* in define.h)
 CsVgaCfgRequired configuration to initialize VGA output
 CsVideoVideo timings structure
 CsVmodeVideomode table - used to setup video driver
 CWAVDATA_
 CWAVFORMAT_
 CWAVHEAD_
@@ -115,9 +120,7 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable(); diff --git a/docs/annotated_dup.js b/docs/annotated_dup.js index bd4a134..4f6272e 100644 --- a/docs/annotated_dup.js +++ b/docs/annotated_dup.js @@ -1,5 +1,7 @@ var annotated_dup = [ + [ "_bmpBITMAPFILEHEADER", "struct__bmpBITMAPFILEHEADER.html", "struct__bmpBITMAPFILEHEADER" ], + [ "_bmpBITMAPINFOHEADER", "struct__bmpBITMAPINFOHEADER.html", "struct__bmpBITMAPINFOHEADER" ], [ "cGaussDRandom", "classcGaussDRandom.html", "classcGaussDRandom" ], [ "cGaussFRandom", "classcGaussFRandom.html", "classcGaussFRandom" ], [ "cMat2D", "classcMat2D.html", "classcMat2D" ], @@ -15,5 +17,8 @@ var annotated_dup = [ "sStrip", "structsStrip.html", "structsStrip" ], [ "sVgaCfg", "structsVgaCfg.html", "structsVgaCfg" ], [ "sVideo", "structsVideo.html", "structsVideo" ], - [ "sVmode", "structsVmode.html", "structsVmode" ] + [ "sVmode", "structsVmode.html", "structsVmode" ], + [ "WAVDATA_", "structWAVDATA__.html", "structWAVDATA__" ], + [ "WAVFORMAT_", "structWAVFORMAT__.html", "structWAVFORMAT__" ], + [ "WAVHEAD_", "structWAVHEAD__.html", "structWAVHEAD__" ] ]; \ No newline at end of file diff --git a/docs/canvas_8h.html b/docs/canvas_8h.html index 2939a52..7e5f5e9 100644 --- a/docs/canvas_8h.html +++ b/docs/canvas_8h.html @@ -3,7 +3,7 @@ - + PicoVGA: src/util/canvas.h File Reference @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -102,11 +102,7 @@ $(document).ready(function(){initNavTree('canvas_8h.html',''); initResizable();
This graph shows which files directly or indirectly include this file:
-
- - - - +

Go to the source code of this file.

@@ -147,13 +143,13 @@ Macros

Enumerations

enum  {
-  DRAWIMG_WRAP, -DRAWIMG_NOBORDER, -DRAWIMG_CLAMP, -DRAWING_COLOR, -
-  DRAWIMG_TRANSP, -DRAWIMG_PERSP +  DRAWIMG_WRAP +, DRAWIMG_NOBORDER +, DRAWIMG_CLAMP +, DRAWING_COLOR +,
+  DRAWIMG_TRANSP +, DRAWIMG_PERSP
}  DrawImgMat mode. More...
@@ -210,9 +206,7 @@ Functions diff --git a/docs/canvas_8h.js b/docs/canvas_8h.js index e34aa16..356441f 100644 --- a/docs/canvas_8h.js +++ b/docs/canvas_8h.js @@ -7,12 +7,6 @@ var canvas_8h = [ "CANVAS_1", "group__CanvasGroup.html#ga5cb4535794f10b1e42440136ba596ed8", null ], [ "CANVAS_PLANE2", "group__CanvasGroup.html#gaa0fbfa9482a4b162600c5c66122a8173", null ], [ "CANVAS_ATTRIB8", "group__CanvasGroup.html#ga32b205271cce499f59589caf5fefe848", null ], - [ "DRAWIMG_WRAP", "group__CanvasGroup.html#gga06fc87d81c62e9abb8790b6e5713c55bada988f101a668aa32ac8be4465a3c94f", null ], - [ "DRAWIMG_NOBORDER", "group__CanvasGroup.html#gga06fc87d81c62e9abb8790b6e5713c55bac2d993dee7c2bcd984acc5d1d866d7d1", null ], - [ "DRAWIMG_CLAMP", "group__CanvasGroup.html#gga06fc87d81c62e9abb8790b6e5713c55ba70b4c77115c7c9b4f5c0da3298e61816", null ], - [ "DRAWING_COLOR", "group__CanvasGroup.html#gga06fc87d81c62e9abb8790b6e5713c55baa1b8793cfd30dea692ac0944b189e833", null ], - [ "DRAWIMG_TRANSP", "group__CanvasGroup.html#gga06fc87d81c62e9abb8790b6e5713c55baf1ac512496407c856e86534f56f7220d", null ], - [ "DRAWIMG_PERSP", "group__CanvasGroup.html#gga06fc87d81c62e9abb8790b6e5713c55ba63b0d0919cc2fbf9e04f81c9bf206616", null ], [ "DrawRect", "group__CanvasGroup.html#gac8441b25105805be5e7da188957bd058", null ], [ "DrawFrame", "group__CanvasGroup.html#ga030eb117917d9fa5e356fa5a5ac987a5", null ], [ "DrawClear", "group__CanvasGroup.html#ga35996ee70491a2ec819411c659df99a6", null ], diff --git a/docs/canvas_8h__dep__incl.dot b/docs/canvas_8h__dep__incl.dot new file mode 100644 index 0000000..7fce305 --- /dev/null +++ b/docs/canvas_8h__dep__incl.dot @@ -0,0 +1,9 @@ +digraph "src/util/canvas.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="src/util/canvas.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="Canvas."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="src/picovga.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$picovga_8h.html",tooltip="Global common definitions."]; +} diff --git a/docs/canvas_8h__dep__incl.map b/docs/canvas_8h__dep__incl.map deleted file mode 100644 index bb1483e..0000000 --- a/docs/canvas_8h__dep__incl.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/canvas_8h__dep__incl.md5 b/docs/canvas_8h__dep__incl.md5 deleted file mode 100644 index 145a588..0000000 --- a/docs/canvas_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -8acf25010f7f3e51947cb7480eadcdc5 \ No newline at end of file diff --git a/docs/canvas_8h__dep__incl.png b/docs/canvas_8h__dep__incl.png deleted file mode 100644 index ccdd384..0000000 Binary files a/docs/canvas_8h__dep__incl.png and /dev/null differ diff --git a/docs/canvas_8h_source.html b/docs/canvas_8h_source.html index b2a5c43..f413d7f 100644 --- a/docs/canvas_8h_source.html +++ b/docs/canvas_8h_source.html @@ -3,7 +3,7 @@ - + PicoVGA: src/util/canvas.h Source File @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -94,18 +94,18 @@ $(document).ready(function(){initNavTree('canvas_8h_source.html',''); initResiza
8 #ifndef _CANVAS_H
9 #define _CANVAS_H
10 
-
11 #define DRAW_HWINTER 1 // 1=use hardware interpolator to draw images
+
11 #define DRAW_HWINTER 1 // 1=use hardware interpolator to draw images
12 
29 // canvas format
30 // Note: do not use enum, symbols could not be used by the preprocessor
31 #define CANVAS_8 0
32 #define CANVAS_4 1
33 #define CANVAS_2 2
-
34 #define CANVAS_1 3 // 1-bit pixels
+
34 #define CANVAS_1 3 // 1-bit pixels
35 #define CANVAS_PLANE2 4
-
36 #define CANVAS_ATTRIB8 5
-
37 
-
40 typedef struct {
+
36 #define CANVAS_ATTRIB8 5
+
39 
+
41 typedef struct {
42  u8* img;
43  u8* img2;
44  int w;
@@ -147,7 +147,7 @@ $(document).ready(function(){initNavTree('canvas_8h_source.html',''); initResiza
200  DRAWIMG_PERSP,
201 };
202 
-
216 void DrawImgMat(sCanvas* canvas, const sCanvas* src, int x, int y, int w, int h,
+
216 void DrawImgMat(sCanvas* canvas, const sCanvas* src, int x, int y, int w, int h,
217  const class cMat2Df* m, u8 mode, u8 color);
218 
234 void DrawTileMap(sCanvas* canvas, const sCanvas* src, const u8* map, int mapwbits, int maphbits,
@@ -156,44 +156,42 @@ $(document).ready(function(){initNavTree('canvas_8h_source.html',''); initResiza
249 void DrawImgLine(sCanvas* canvas, sCanvas* src, int xd, int yd, int xs, int ys, int wd, int ws);
250 
252 
-
253 #endif // _CANVAS_H
- - -
sCanvas::h
int h
Height.
Definition: canvas.h:45
+
253 #endif // _CANVAS_H
+
cMat2Df
2D Transformation Matrix
Definition: mat2d.h:263
+
DrawFrame
void DrawFrame(sCanvas *canvas, int x, int y, int w, int h, u8 col)
Draw frame of 1 pixel thickness.
Definition: canvas.cpp:342
+
DrawImg
void DrawImg(sCanvas *canvas, sCanvas *src, int xd, int yd, int xs, int ys, int w, int h)
Draw image (without transparency)
Definition: canvas.cpp:1002
DrawCircle
void DrawCircle(sCanvas *canvas, int x0, int y0, int r, u8 col, u8 mask=0xff)
Draw circle.
Definition: canvas.cpp:837
DrawLine
void DrawLine(sCanvas *canvas, int x1, int y1, int x2, int y2, u8 col)
Draw a line.
Definition: canvas.cpp:533
-
DrawFillCircle
void DrawFillCircle(sCanvas *canvas, int x0, int y0, int r, u8 col, u8 mask=0xff)
Draw filled circle.
Definition: canvas.cpp:708
-
cMat2Df
2D Transformation Matrix
Definition: mat2d.h:262
-
sCanvas::w
int w
Width.
Definition: canvas.h:44
-
DRAWIMG_NOBORDER
@ DRAWIMG_NOBORDER
No border (transparent border)
Definition: canvas.h:196
-
DrawBlit
void DrawBlit(sCanvas *canvas, sCanvas *src, int xd, int yd, int xs, int ys, int w, int h, u8 col)
Draw image with transparency.
Definition: canvas.cpp:1480
-
DRAWING_COLOR
@ DRAWING_COLOR
Color border.
Definition: canvas.h:198
-
DRAWIMG_PERSP
@ DRAWIMG_PERSP
Perspective floor.
Definition: canvas.h:200
-
sCanvas::format
u8 format
Canvas format CANVAS_*.
Definition: canvas.h:47
-
DrawImg
void DrawImg(sCanvas *canvas, sCanvas *src, int xd, int yd, int xs, int ys, int w, int h)
Draw image (without transparency)
Definition: canvas.cpp:1002
-
DrawRect
void DrawRect(sCanvas *canvas, int x, int y, int w, int h, u8 col)
Draw rectangle.
Definition: canvas.cpp:16
-
DrawImgMat
void DrawImgMat(sCanvas *canvas, const sCanvas *src, int x, int y, int w, int h, const class cMat2Df *m, u8 mode, u8 color)
Draw 8-bit image with 2D transformation matrix.
-
DRAWIMG_CLAMP
@ DRAWIMG_CLAMP
Clamp image (use last pixel as border)
Definition: canvas.h:197
-
DrawFrame
void DrawFrame(sCanvas *canvas, int x, int y, int w, int h, u8 col)
Draw frame of 1 pixel thickness.
Definition: canvas.cpp:342
-
sCanvas::wb
int wb
Pitch (bytes between lines)
Definition: canvas.h:46
-
DrawTileMap
void DrawTileMap(sCanvas *canvas, const sCanvas *src, const u8 *map, int mapwbits, int maphbits, int tilebits, int x, int y, int w, int h, const cMat2Df *mat, u8 horizon)
Draw tile map using perspective projection.
Definition: canvas.cpp:2137
-
sCanvas
Canvas descriptor.
Definition: canvas.h:41
DrawClear
void DrawClear(sCanvas *canvas)
Clear canvas (fill with black color)
Definition: canvas.cpp:352
-
DrawTextBg
void DrawTextBg(sCanvas *canvas, const char *text, int x, int y, u8 col, u8 bgcol, const void *font, int fontheight=8, int scalex=1, int scaley=1)
Draw text with background color.
Definition: canvas.cpp:937
-
sCanvas::img2
u8 * img2
Image data 2 (2nd plane of CANVAS_PLANE2, attributes of CANVAS_ATTRIB8)
Definition: canvas.h:43
-
DRAWIMG_WRAP
@ DRAWIMG_WRAP
Wrap image.
Definition: canvas.h:195
-
DrawImgLine
void DrawImgLine(sCanvas *canvas, sCanvas *src, int xd, int yd, int xs, int ys, int wd, int ws)
Draw image line interpolated.
Definition: canvas.cpp:2294
-
DRAWIMG_TRANSP
@ DRAWIMG_TRANSP
Transparent image with key color.
Definition: canvas.h:199
-
DrawPoint
void DrawPoint(sCanvas *canvas, int x, int y, u8 col)
Draw a pixel.
Definition: canvas.cpp:359
-
sCanvas::img
u8 * img
Image data.
Definition: canvas.h:42
DrawText
void DrawText(sCanvas *canvas, const char *text, int x, int y, u8 col, const void *font, int fontheight=8, int scalex=1, int scaley=1)
Draw text (transparent background)
Definition: canvas.cpp:870
+
DrawBlit
void DrawBlit(sCanvas *canvas, sCanvas *src, int xd, int yd, int xs, int ys, int w, int h, u8 col)
Draw image with transparency.
Definition: canvas.cpp:1480
+
DrawImgMat
void DrawImgMat(sCanvas *canvas, const sCanvas *src, int x, int y, int w, int h, const class cMat2Df *m, u8 mode, u8 color)
Draw 8-bit image with 2D transformation matrix.
+
DrawPoint
void DrawPoint(sCanvas *canvas, int x, int y, u8 col)
Draw a pixel.
Definition: canvas.cpp:359
+
DrawImgLine
void DrawImgLine(sCanvas *canvas, sCanvas *src, int xd, int yd, int xs, int ys, int wd, int ws)
Draw image line interpolated.
Definition: canvas.cpp:2299
+
DrawTileMap
void DrawTileMap(sCanvas *canvas, const sCanvas *src, const u8 *map, int mapwbits, int maphbits, int tilebits, int x, int y, int w, int h, const cMat2Df *mat, u8 horizon)
Draw tile map using perspective projection.
Definition: canvas.cpp:2137
+
DrawFillCircle
void DrawFillCircle(sCanvas *canvas, int x0, int y0, int r, u8 col, u8 mask=0xff)
Draw filled circle.
Definition: canvas.cpp:708
+
DrawTextBg
void DrawTextBg(sCanvas *canvas, const char *text, int x, int y, u8 col, u8 bgcol, const void *font, int fontheight=8, int scalex=1, int scaley=1)
Draw text with background color.
Definition: canvas.cpp:937
+
DrawRect
void DrawRect(sCanvas *canvas, int x, int y, int w, int h, u8 col)
Draw rectangle.
Definition: canvas.cpp:16
+
DRAWIMG_PERSP
@ DRAWIMG_PERSP
Perspective floor.
Definition: canvas.h:200
+
DRAWIMG_CLAMP
@ DRAWIMG_CLAMP
Clamp image (use last pixel as border)
Definition: canvas.h:197
+
DRAWING_COLOR
@ DRAWING_COLOR
Color border.
Definition: canvas.h:198
+
DRAWIMG_NOBORDER
@ DRAWIMG_NOBORDER
No border (transparent border)
Definition: canvas.h:196
+
DRAWIMG_WRAP
@ DRAWIMG_WRAP
Wrap image.
Definition: canvas.h:195
+
DRAWIMG_TRANSP
@ DRAWIMG_TRANSP
Transparent image with key color.
Definition: canvas.h:199
+
sCanvas
Canvas descriptor.
Definition: canvas.h:41
+
sCanvas::img2
u8 * img2
Image data 2 (2nd plane of CANVAS_PLANE2, attributes of CANVAS_ATTRIB8)
Definition: canvas.h:43
+
sCanvas::w
int w
Width.
Definition: canvas.h:44
+
sCanvas::format
u8 format
Canvas format CANVAS_*.
Definition: canvas.h:47
+
sCanvas::img
u8 * img
Image data.
Definition: canvas.h:42
+
sCanvas::wb
int wb
Pitch (bytes between lines)
Definition: canvas.h:46
+
sCanvas::h
int h
Height.
Definition: canvas.h:45
+ + diff --git a/docs/classcGaussDRandom.html b/docs/classcGaussDRandom.html index 31a6da0..8af52ae 100644 --- a/docs/classcGaussDRandom.html +++ b/docs/classcGaussDRandom.html @@ -3,7 +3,7 @@ - + PicoVGA: cGaussDRandom Class Reference @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -125,9 +125,7 @@ double  diff --git a/docs/classcGaussFRandom.html b/docs/classcGaussFRandom.html index b9d90b2..6b10005 100644 --- a/docs/classcGaussFRandom.html +++ b/docs/classcGaussFRandom.html @@ -3,7 +3,7 @@ - + PicoVGA: cGaussFRandom Class Reference @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -125,9 +125,7 @@ float  diff --git a/docs/classcMat2D.html b/docs/classcMat2D.html index adc3513..7bf42f7 100644 --- a/docs/classcMat2D.html +++ b/docs/classcMat2D.html @@ -3,7 +3,7 @@ - + PicoVGA: cMat2D< m2type > Class Template Reference @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -511,9 +511,7 @@ template<typename m2type > diff --git a/docs/classcMat2Df.html b/docs/classcMat2Df.html index 0fcf6c4..9f076d2 100644 --- a/docs/classcMat2Df.html +++ b/docs/classcMat2Df.html @@ -3,7 +3,7 @@ - + PicoVGA: cMat2Df Class Reference @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -101,20 +101,12 @@ $(document).ready(function(){initNavTree('classcMat2Df.html',''); initResizable(
Inheritance diagram for cMat2Df:
-
Inheritance graph
- - - - +
Inheritance graph
[legend]
Collaboration diagram for cMat2Df:
-
Collaboration graph
- - - - +
Collaboration graph
[legend]
@@ -603,7 +598,10 @@ float  @@ -631,9 +629,7 @@ float  diff --git a/docs/classcMat2Df__coll__graph.dot b/docs/classcMat2Df__coll__graph.dot new file mode 100644 index 0000000..71008ee --- /dev/null +++ b/docs/classcMat2Df__coll__graph.dot @@ -0,0 +1,9 @@ +digraph "cMat2Df" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="cMat2Df",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="2D Transformation Matrix"]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="cMat2D\< float \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcMat2D.html",tooltip=" "]; +} diff --git a/docs/classcMat2Df__coll__graph.map b/docs/classcMat2Df__coll__graph.map deleted file mode 100644 index bac7100..0000000 --- a/docs/classcMat2Df__coll__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/classcMat2Df__coll__graph.md5 b/docs/classcMat2Df__coll__graph.md5 deleted file mode 100644 index 7664c5e..0000000 --- a/docs/classcMat2Df__coll__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -ba5b58f83887745f07ee50b76be110df \ No newline at end of file diff --git a/docs/classcMat2Df__coll__graph.png b/docs/classcMat2Df__coll__graph.png deleted file mode 100644 index 347f1ca..0000000 Binary files a/docs/classcMat2Df__coll__graph.png and /dev/null differ diff --git a/docs/classcMat2Df__inherit__graph.dot b/docs/classcMat2Df__inherit__graph.dot new file mode 100644 index 0000000..71008ee --- /dev/null +++ b/docs/classcMat2Df__inherit__graph.dot @@ -0,0 +1,9 @@ +digraph "cMat2Df" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="cMat2Df",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="2D Transformation Matrix"]; + Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="cMat2D\< float \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classcMat2D.html",tooltip=" "]; +} diff --git a/docs/classcMat2Df__inherit__graph.map b/docs/classcMat2Df__inherit__graph.map deleted file mode 100644 index bac7100..0000000 --- a/docs/classcMat2Df__inherit__graph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/classcMat2Df__inherit__graph.md5 b/docs/classcMat2Df__inherit__graph.md5 deleted file mode 100644 index 7664c5e..0000000 --- a/docs/classcMat2Df__inherit__graph.md5 +++ /dev/null @@ -1 +0,0 @@ -ba5b58f83887745f07ee50b76be110df \ No newline at end of file diff --git a/docs/classcMat2Df__inherit__graph.png b/docs/classcMat2Df__inherit__graph.png deleted file mode 100644 index 347f1ca..0000000 Binary files a/docs/classcMat2Df__inherit__graph.png and /dev/null differ diff --git a/docs/classcRandom.html b/docs/classcRandom.html index 6af0ad6..c4a1d80 100644 --- a/docs/classcRandom.html +++ b/docs/classcRandom.html @@ -3,7 +3,7 @@ - +PicoVGA: cRandom Class Reference @@ -29,7 +29,7 @@ @@ -38,10 +38,10 @@

@@ -575,7 +567,10 @@ float 

m23
- + + + +
void cMat2D< float >::FlipYvoid cMat2D< float >::FlipY ()
m23
- + + + +
void cMat2D< float >::FlipXvoid cMat2D< float >::FlipX ()
m23
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
- + @@ -132,6 +132,22 @@ u32 U64 ()  Generate integer random number in full range.
  + +s8 S8 () + Generate integer random number in full range.
+  + +s16 S16 () + Generate integer random number in full range.
+  + +s32 S32 () + Generate integer random number in full range.
+  + +s64 S64 () + Generate integer random number in full range.
float Float ()  Generate float random number in range 0 (including) to 1 (excluding)
@@ -233,9 +249,7 @@ double  diff --git a/docs/classcRandom.js b/docs/classcRandom.js index dd83573..4612187 100644 --- a/docs/classcRandom.js +++ b/docs/classcRandom.js @@ -8,6 +8,10 @@ var classcRandom = [ "U16", "classcRandom.html#a658c2dca536917c1119e445ca1dd516d", null ], [ "U32", "classcRandom.html#a2c959298baba39b62cb46afefd8caa91", null ], [ "U64", "classcRandom.html#a9919fbd7e052b2e8d455b7d9d2af5a95", null ], + [ "S8", "classcRandom.html#ab8e8406316747bbea14028138c4a8160", null ], + [ "S16", "classcRandom.html#a72857d1a45bf6acb9fb7d099c3dd899d", null ], + [ "S32", "classcRandom.html#a16d531517bfcb0765f39f1d824cc5d3b", null ], + [ "S64", "classcRandom.html#a332c54b4a1a88f178bca1515ff0c7b87", null ], [ "Float", "classcRandom.html#a82d8d6d26b037d8dc9a16bd07253f11a", null ], [ "Double", "classcRandom.html#ab6e855c6ad3f8d8a28f73ff31877901f", null ], [ "U8Max", "classcRandom.html#a92d57d8fae2da8191d17a544ea94b786", null ], diff --git a/docs/classes.html b/docs/classes.html index 5d814c2..8fccc2a 100644 --- a/docs/classes.html +++ b/docs/classes.html @@ -3,7 +3,7 @@ - + PicoVGA: Data Structure Index @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -90,45 +90,27 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
Data Structure Index
-
c | s
- - - - - - - - - - - - - - - - - - - - - - - - - - -
  c  
-
cMat2D   sLayer   sSegm   sVideo   
cMat2Df   sLayerMode   sSprite   sVmode   
cGaussDRandom   cRandom   sLayerProg   sStrip   
cGaussFRandom   
  s  
-
sScreen   sVgaCfg   
sCanvas   
-
c | s
+
C | S | W | _
+
+
+
C
+
cGaussDRandom
cGaussFRandom
cMat2D
cMat2Df
cRandom
+
+
S
+
sCanvas
sLayer
sLayerMode
sLayerProg
sScreen
sSegm
sSprite
sStrip
sVgaCfg
sVideo
sVmode
+
+
W
+
WAVDATA_
WAVFORMAT_
WAVHEAD_
+
+
_
+
_bmpBITMAPFILEHEADER
_bmpBITMAPINFOHEADER
+
diff --git a/docs/config__autogen_8h_source.html b/docs/config__autogen_8h_source.html new file mode 100644 index 0000000..facd8ae --- /dev/null +++ b/docs/config__autogen_8h_source.html @@ -0,0 +1,113 @@ + + + + + + + +PicoVGA: generated/pico_base/pico/config_autogen.h Source File + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
PicoVGA +  1.2-cmake +
+
VGA/TV display on Raspberry Pico
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
config_autogen.h
+
+
+
1 // AUTOGENERATED FROM PICO_CONFIG_HEADER_FILES and then PICO_<PLATFORM>_CONFIG_HEADER_FILES
+
2 // DO NOT EDIT!
+
3 
+
4 
+
5 // based on PICO_CONFIG_HEADER_FILES:
+
6 
+
7 #include "/home/wvenable/pico/pico-sdk-2.1.1/src/boards/include/boards/pico.h"
+
8 #include "/home/wvenable/pico/pico-sdk-2.1.1/src/rp2_common/cmsis/include/cmsis/rename_exceptions.h"
+
9 
+
10 // based on PICO_RP2040_CONFIG_HEADER_FILES:
+
+
+ + + + diff --git a/docs/connections.html b/docs/connections.html index e52bb38..6f4a933 100644 --- a/docs/connections.html +++ b/docs/connections.html @@ -3,7 +3,7 @@ - + PicoVGA: Connections @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -90,37 +90,36 @@ $(document).ready(function(){initNavTree('connections.html',''); initResizable()
Connections
-

+

+

How to Connect to VGA display

The following diagram shows how to connect the Pico to VGA:

-
- -
- +

+
- + - + - + - + - + - + - + - + - + - + - + - +
Pico Pin Output Wire Notes
Pico Pin Output Wire Notes
GP0 VGA B0 Resistor 1K0 to Blue output
GP0 VGA B0 Resistor 1K0 to Blue output
GP1 VGA B1 Resistor 390 to Blue output
GP1 VGA B1 Resistor 390 to Blue output
GP2 VGA G0 Resistor 2K2 to Green output
GP2 VGA G0 Resistor 2K2 to Green output
GP3 VGA G1 Resistor 1K0 to Green output
GP3 VGA G1 Resistor 1K0 to Green output
GP4 VGA G2 Resistor 470 to Green output
GP4 VGA G2 Resistor 470 to Green output
GP5 VGA R0 Resistor 2K2 to Red output
GP5 VGA R0 Resistor 2K2 to Red output
GP6 VGA R1 Resistor 1K0 to Red output
GP6 VGA R1 Resistor 1K0 to Red output
GP7 VGA R2 Resistor 470 to Red output
GP7 VGA R2 Resistor 470 to Red output
GP8 VGA SYNC Resistor 100 to HSYNC or CSYNC
GP8 VGA SYNC Resistor 100 to HSYNC or CSYNC
GP9 VGA VSYNC Resistor 100 to VSYNC (if defined)
GP9 VGA VSYNC Resistor 100 to VSYNC (if defined)
GP19 PWM sound RC LOW filter 1K5 resistor + 10n capacitor
GP19 PWM sound RC LOW filter 1K5 resistor + 10n capacitor

See below for a more detailed wiring diagram

@@ -142,9 +141,9 @@ How to connect Pico to PC with serial port

Connect USB/UART adaptor PL2303TA:

- + - +
Wire Pico Pin
Wire Pico Pin
red +5V VSYS (39)
red +5V VSYS (39)

|black |GND (3)| | |white RxD |UART0_TX GP0 (1) | |green TxD |UART0_RX GP1 (2) |

You need serial program to see demo text. Setup port to 115200 Baud, 8 bits, 1 stop bit, no parity, flow control None.

@@ -152,10 +151,8 @@ How to connect Pico to PC with serial port

Wiring diagram

I don't present here the overall circuit I used, because the library was created as part of a retro gaming computer with Raspberry Pico and is still under development. Here is a simplified wiring diagram of the VGA monitor output (with added audio PWM output):

-
- -
-

The synchronization output is in the format of the CSYNC synchronization mix (composite synchro, HSYNC + VSYNC). Computer monitors support CSYNC mixed sync. The signal is fed to the HSYNC input (also referred to as CSYNC). An audio output is fed to the VSYNC pin of the VGA connector, for case of output to the TV. The VGA monitor has an input impedance of 75 ohms on this pin, this causes the audio signal to be attenuated and ignored by the VGA monitor and not considered as vertical sync. When the audio connector is inserted, the output to the VGA monitor is disconnected and the audio signal is output to the outside (e.g. to audio headphones).

+

+

The synchronization output is in the format of the CSYNC synchronization mix (composite synchro, HSYNC + VSYNC). Computer monitors support CSYNC mixed sync. The signal is fed to the HSYNC input (also referred to as CSYNC). An audio output is fed to the VSYNC pin of the VGA connector, for case of output to the TV. The VGA monitor has an input impedance of 75 ohms on this pin, this causes the audio signal to be attenuated and ignored by the VGA monitor and not considered as vertical sync. When the audio connector is inserted, the output to the VGA monitor is disconnected and the audio signal is output to the outside (e.g. to audio headphones).

The TV is connected to the VGA output via a reduction that simply connects the pins of the VGA connector to the corresponding pins of the SCART connector. In this case, the audio signal fed to the VGA connector is also used. Thus, it is not necessary for the device to include a special connector for the TV. The 5V voltage from pin 9 is used as the control voltage for the SCART connector - pin 16 of the SCART connector (Blanking) is connected via a 100 ohm resistor and pin 8 (Switch) is connected directly.

The keyboard connection is not draw here. All sample programs are set up so that program control can be used via the console on the USB virtual port. Simply connect the Pico to the PC via the USB cable used for programming, and run a console program that connects to the USB virtual COM port. For a more detailed description of the connection, see the SDK description.

@@ -164,9 +161,7 @@ Wiring diagram diff --git a/docs/define_8h.html b/docs/define_8h.html index 3777699..fc0e144 100644 --- a/docs/define_8h.html +++ b/docs/define_8h.html @@ -3,7 +3,7 @@ - + PicoVGA: src/define.h File Reference @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -99,21 +99,12 @@ $(document).ready(function(){initNavTree('define_8h.html',''); initResizable();
Include dependency graph for define.h:
-
- - - - +
This graph shows which files directly or indirectly include this file:
-
- - - - - +

Go to the source code of this file.

@@ -501,9 +492,7 @@ Macros diff --git a/docs/define_8h__dep__incl.dot b/docs/define_8h__dep__incl.dot new file mode 100644 index 0000000..e69360f --- /dev/null +++ b/docs/define_8h__dep__incl.dot @@ -0,0 +1,12 @@ +digraph "src/define.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="src/define.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="VGA common definitions of C and ASM."]; + Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="src/picovga.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$picovga_8h.html",tooltip="Global common definitions."]; + Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="src/util/mat2d.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$mat2d_8h.html",tooltip="2D Transformation Matrix"]; + Node3 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/docs/define_8h__dep__incl.map b/docs/define_8h__dep__incl.map deleted file mode 100644 index 7e95f34..0000000 --- a/docs/define_8h__dep__incl.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/define_8h__dep__incl.md5 b/docs/define_8h__dep__incl.md5 deleted file mode 100644 index 948ed10..0000000 --- a/docs/define_8h__dep__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -0fd6331ec44b03556e37ae0fa703a967 \ No newline at end of file diff --git a/docs/define_8h__dep__incl.png b/docs/define_8h__dep__incl.png deleted file mode 100644 index 6e396d2..0000000 Binary files a/docs/define_8h__dep__incl.png and /dev/null differ diff --git a/docs/define_8h__incl.dot b/docs/define_8h__incl.dot new file mode 100644 index 0000000..34b1e7b --- /dev/null +++ b/docs/define_8h__incl.dot @@ -0,0 +1,9 @@ +digraph "src/define.h" +{ + // LATEX_PDF_SIZE + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node1 [label="src/define.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="VGA common definitions of C and ASM."]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="vga_config.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$vga__config_8h_source.html",tooltip=" "]; +} diff --git a/docs/define_8h__incl.map b/docs/define_8h__incl.map deleted file mode 100644 index 0b7cb89..0000000 --- a/docs/define_8h__incl.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/define_8h__incl.md5 b/docs/define_8h__incl.md5 deleted file mode 100644 index 36cffbf..0000000 --- a/docs/define_8h__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -b634f0e3374d7727b8ca2b833ceb12c1 \ No newline at end of file diff --git a/docs/define_8h__incl.png b/docs/define_8h__incl.png deleted file mode 100644 index 91c2086..0000000 Binary files a/docs/define_8h__incl.png and /dev/null differ diff --git a/docs/define_8h_source.html b/docs/define_8h_source.html index dae584b..e383373 100644 --- a/docs/define_8h_source.html +++ b/docs/define_8h_source.html @@ -3,7 +3,7 @@ - + PicoVGA: src/define.h Source File @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -93,15 +93,15 @@ $(document).ready(function(){initNavTree('define_8h_source.html',''); initResiza Go to the documentation of this file.
1 
7 #include "vga_config.h" // VGA configuration
8 
-
9 #define LAYERS_MAX 4 // max. number of layers (should be 4)
+
9 #define LAYERS_MAX 4 // max. number of layers (should be 4)
10 
-
11 #define BLACK_MAX MAXX // size of buffer with black color (used to clear rest of unused line)
+
11 #define BLACK_MAX MAXX // size of buffer with black color (used to clear rest of unused line)
12 
15 
16 // VGA PIO program
17 #define BASE_OFFSET 17
18 #define LAYER_OFFSET 0
-
19 
+
19 
20 // layer program
21 #define LAYERPROG_BASE 0
22 #define LAYERPROG_KEY 1
@@ -109,9 +109,9 @@ $(document).ready(function(){initNavTree('define_8h_source.html',''); initResiza
24 #define LAYERPROG_WHITE 3
25 #define LAYERPROG_MONO 4
26 #define LAYERPROG_RLE 5
-
27 
+
27 
28 #define LAYERPROG_NUM 6
-
29 
+
29 
30 // layer mode (CPP = clock cycles per pixel)
31 // Control buffer: 16 bytes
32 // Data buffer: 4 bytes
@@ -136,153 +136,153 @@ $(document).ready(function(){initNavTree('define_8h_source.html',''); initResiza
51 #define LAYERMODE_PERSP2KEY 16
52 #define LAYERMODE_PERSP2BLACK 17
53 #define LAYERMODE_PERSP2WHITE 18
-
54 
+
54 
55 #define LAYERMODE_NUM 19
-
56 
-
57 
+
56 
+
58 
59 // Structure of sprite sSprite (on change update structure sSprite in vga_layer.h)
-
60 #define SSPRITE_IMG 0 // u8* img; // pointer to image data
-
61 #define SSPRITE_X0 4 // u8* x0; // pointer to pixel offset of start of lines/4 (used with fast sprites)
-
62 #define SSPRITE_W0 8 // u8* w0; // pointer to pixel length of length of lines/4 (used with fast sprites)
-
63 #define SSPRITE_KEYCOL 12 // u32 keycol; // key color
-
64 #define SSPRITE_X 16 // s16 x; // sprite X-coordinate on the screen
-
65 #define SSPRITE_Y 18 // s16 y; // sprite Y-coordinate on the screen
-
66 #define SSPRITE_W 20 // u16 w; // sprite width
-
67 #define SSPRITE_H 22 // u16 h; // sprite height
-
68 #define SSPRITE_WB 24 // u16 wb; // sprite pitch (number of bytes between lines)
+
60 #define SSPRITE_IMG 0 // u8* img; // pointer to image data
+
61 #define SSPRITE_X0 4 // u8* x0; // pointer to pixel offset of start of lines/4 (used with fast sprites)
+
62 #define SSPRITE_W0 8 // u8* w0; // pointer to pixel length of length of lines/4 (used with fast sprites)
+
63 #define SSPRITE_KEYCOL 12 // u32 keycol; // key color
+
64 #define SSPRITE_X 16 // s16 x; // sprite X-coordinate on the screen
+
65 #define SSPRITE_Y 18 // s16 y; // sprite Y-coordinate on the screen
+
66 #define SSPRITE_W 20 // u16 w; // sprite width
+
67 #define SSPRITE_H 22 // u16 h; // sprite height
+
68 #define SSPRITE_WB 24 // u16 wb; // sprite pitch (number of bytes between lines)
69  // u16 res; // ...reserved, structure align
-
70 #define SSPRITE_SIZE 28 // size of sSprite structure
+
70 #define SSPRITE_SIZE 28 // size of sSprite structure
71 
72 // Structure of layer screen sLayer (on change update structure sLayer in vga_layer.h)
-
73 #define SLAYER_IMG 0 // const u8* img; // pointer to image in current layer format, or sprite list
-
74 #define SLAYER_PAR 4 // const void* par; // additional parameter (RLE index table, transformation matrix)
-
75 #define SLAYER_INIT 8 // u32 init; // init word sent on start of scanline
-
76 #define SLAYER_KEYCOL 12 // u32 keycol; // key color
-
77 #define SLAYER_TRANS 16 // u16 trans; // trans count
-
78 #define SLAYER_X 18 // s16 x; // start X coordinate
-
79 #define SLAYER_Y 20 // s16 y; // start Y coordinate
-
80 #define SLAYER_W 22 // u16 w; // width in pixels
-
81 #define SLAYER_H 24 // u16 h; // height
-
82 #define SLAYER_WB 26 // u16 wb; // image width in bytes (pitch of lines)
-
83 #define SLAYER_MODE 28 // u8 mode; // layer mode
-
84 #define SLAYER_HORIZ 29 // s8 horiz; // horizon of perspective projection/4 (only with LAYERMODE_PERSP* modes, 0=no perspecitve, <0 ceilling)
-
85 #define SLAYER_XBITS 30 // u8 xbits; // number of bits of width of source image (only with LAYERMODE_PERSP* modes)
-
86 #define SLAYER_YBITS 31 // u8 ybits; // number of bits of height of source image (only with LAYERMODE_PERSP* modes)
-
87 #define SLAYER_SPRITENUM 32 // u16 spritenum; // number of sprites
-
88 #define SLAYER_ON 34 // Bool on; // layer is ON
-
89 #define SLAYER_CPP 35 // u8 cpp; // current clock pulses per pixel (used to calculate X coordinate)
-
90 #define SLAYER_SIZE 36 // size of sLayer structure
+
73 #define SLAYER_IMG 0 // const u8* img; // pointer to image in current layer format, or sprite list
+
74 #define SLAYER_PAR 4 // const void* par; // additional parameter (RLE index table, transformation matrix)
+
75 #define SLAYER_INIT 8 // u32 init; // init word sent on start of scanline
+
76 #define SLAYER_KEYCOL 12 // u32 keycol; // key color
+
77 #define SLAYER_TRANS 16 // u16 trans; // trans count
+
78 #define SLAYER_X 18 // s16 x; // start X coordinate
+
79 #define SLAYER_Y 20 // s16 y; // start Y coordinate
+
80 #define SLAYER_W 22 // u16 w; // width in pixels
+
81 #define SLAYER_H 24 // u16 h; // height
+
82 #define SLAYER_WB 26 // u16 wb; // image width in bytes (pitch of lines)
+
83 #define SLAYER_MODE 28 // u8 mode; // layer mode
+
84 #define SLAYER_HORIZ 29 // s8 horiz; // horizon of perspective projection/4 (only with LAYERMODE_PERSP* modes, 0=no perspecitve, <0 ceilling)
+
85 #define SLAYER_XBITS 30 // u8 xbits; // number of bits of width of source image (only with LAYERMODE_PERSP* modes)
+
86 #define SLAYER_YBITS 31 // u8 ybits; // number of bits of height of source image (only with LAYERMODE_PERSP* modes)
+
87 #define SLAYER_SPRITENUM 32 // u16 spritenum; // number of sprites
+
88 #define SLAYER_ON 34 // Bool on; // layer is ON
+
89 #define SLAYER_CPP 35 // u8 cpp; // current clock pulses per pixel (used to calculate X coordinate)
+
90 #define SLAYER_SIZE 36 // size of sLayer structure
91 
92 // Structure of video segment sSegm (on change update structure sSegm in vga_screen.h)
-
93 #define SSEGM_WIDTH 0 // u16 width; // width of this video segment in pixels (must be multiple of 4, 0=inactive segment)
-
94 #define SSEGM_WB 2 // u16 wb; // pitch - number of bytes between lines
-
95 #define SSEGM_OFFX 4 // s16 offx; // display offset at X direction (must be multiple of 4)
-
96 #define SSEGM_OFFY 6 // s16 offy; // display offset at Y direction
-
97 #define SSEGM_WRAPX 8 // u16 wrapx; // wrap width in X direction (number of pixels, must be multiply of 4 and > 0)
+
93 #define SSEGM_WIDTH 0 // u16 width; // width of this video segment in pixels (must be multiple of 4, 0=inactive segment)
+
94 #define SSEGM_WB 2 // u16 wb; // pitch - number of bytes between lines
+
95 #define SSEGM_OFFX 4 // s16 offx; // display offset at X direction (must be multiple of 4)
+
96 #define SSEGM_OFFY 6 // s16 offy; // display offset at Y direction
+
97 #define SSEGM_WRAPX 8 // u16 wrapx; // wrap width in X direction (number of pixels, must be multiply of 4 and > 0)
98  // text modes: wrapx must be multiply of 8
-
99 #define SSEGM_WRAPY 10 // u16 wrapy; // wrap width in Y direction (number of lines, cannot be 0)
-
100 #define SSEGM_DATA 12 // const void* data; // pointer to video buffer with image data
-
101 #define SSEGM_FORM 16 // u8 form; // graphics format GF_*
-
102 #define SSEGM_DBLY 17 // bool dbly; // double Y (2 scanlines per 1 image line)
-
103 #define SSEGM_PAR3 18 // u16 par3; // SSEGM_PAR3 parameter 3
-
104 #define SSEGM_PAR 20 // u32 par; // parameter 1: color, pointer to palettes, tile source, font
-
105 #define SSEGM_PAR2 24 // u32 par2; // parameter 2
-
106 #define SSEGM_SIZE 28 // size of sSegm structure
+
99 #define SSEGM_WRAPY 10 // u16 wrapy; // wrap width in Y direction (number of lines, cannot be 0)
+
100 #define SSEGM_DATA 12 // const void* data; // pointer to video buffer with image data
+
101 #define SSEGM_FORM 16 // u8 form; // graphics format GF_*
+
102 #define SSEGM_DBLY 17 // bool dbly; // double Y (2 scanlines per 1 image line)
+
103 #define SSEGM_PAR3 18 // u16 par3; // SSEGM_PAR3 parameter 3
+
104 #define SSEGM_PAR 20 // u32 par; // parameter 1: color, pointer to palettes, tile source, font
+
105 #define SSEGM_PAR2 24 // u32 par2; // parameter 2
+
106 #define SSEGM_SIZE 28 // size of sSegm structure
107 
108 // Structure of video strip sStrip (on change update structure sStrip in vga_screen.h)
-
109 #define SSTRIP_HEIGHT 0 // u16 height; // height of this strip in number of scanlines
-
110 #define SSTRIP_NUM 2 // u16 num; // number of video segments
-
111 #define SSTRIP_SEG 4 // sSegm seg[SEGMAX];
-
112 #define SSTRIP_SIZE (4+SSEGM_SIZE*SEGMAX) // size of sStrip structure (= 4 + 28*8 = 228 bytes)
+
109 #define SSTRIP_HEIGHT 0 // u16 height; // height of this strip in number of scanlines
+
110 #define SSTRIP_NUM 2 // u16 num; // number of video segments
+
111 #define SSTRIP_SEG 4 // sSegm seg[SEGMAX];
+
112 #define SSTRIP_SIZE (4+SSEGM_SIZE*SEGMAX) // size of sStrip structure (= 4 + 28*8 = 228 bytes)
113 
114 // Structure of video screen sScreen (on change update structure sScreen in vga_screen.h)
-
115 #define SSCREEN_NUM 0 // u16 num; // number of video strips
-
116 #define SSCREEN_BACKUP 2 // u16 num_backup; // backup number of video strips during display OFF
-
117 #define SSCREEN_STRIP 4 // sStrip strip[STRIPMAX]; // list of video strips
-
118 #define SSCREEN_SIZE (4+SSTRIP_SIZE*STRIPMAX) // size of sScreen structure (= 4 + 228*8 = 1828 bytes)
+
115 #define SSCREEN_NUM 0 // u16 num; // number of video strips
+
116 #define SSCREEN_BACKUP 2 // u16 num_backup; // backup number of video strips during display OFF
+
117 #define SSCREEN_STRIP 4 // sStrip strip[STRIPMAX]; // list of video strips
+
118 #define SSCREEN_SIZE (4+SSTRIP_SIZE*STRIPMAX) // size of sScreen structure (= 4 + 228*8 = 1828 bytes)
119 
120 // --- graphics formats
121 // There are 3 groups of formats - separated due internal reasons, do not mix them.
122 
123 // 1st group of formats - rendered specially
-
124 #define GF_COLOR 0 // simple color (par=color pattern 4-pixels even line, par2=color pattern 4-pixels odd line)
+
124 #define GF_COLOR 0 // simple color (par=color pattern 4-pixels even line, par2=color pattern 4-pixels odd line)
125 // Data buffer: width bytes (320 pixels: 320 bytes)
126 // Control buffer: 8 bytes
127 
128 // 2nd group of formats - rendering into control buffer cbuf
-
129 #define GF_GRAPH8 1 // native 8-bit graphics (X1Y1R2G2B2) - fast, transfers "as is" to PIO
+
129 #define GF_GRAPH8 1 // native 8-bit graphics (X1Y1R2G2B2) - fast, transfers "as is" to PIO
130  // (num = number of pixels/4 = number of bytes/4)
131 // Control buffer: 8 bytes (320 pixels: 8 bytes)
-
132 #define GF_TILE 2 // tiles (par = tile table with one column of tiles,
+
132 #define GF_TILE 2 // tiles (par = tile table with one column of tiles,
133  // par2 = tile height, par3 = tile width as multiple of 4)
134 // Control buffer: width/tile width*8 bytes (320 pixels of 32x32: 80 bytes)
-
135 #define GF_TILE2 3 // alternate tiles (par = tile table with one row of tiles,
+
135 #define GF_TILE2 3 // alternate tiles (par = tile table with one row of tiles,
136  // par2 = LOW tile height, HIGH tile width bytes,
137  // par3 = tile width as multiple of 4)
138 // Control buffer: width/tile width*8 bytes (320 pixels of 32x32: 80 bytes)
-
139 #define GF_PROGRESS 4 // horizontal progress indicator (data = values 0..255 of 4-pixels in rows,
+
139 #define GF_PROGRESS 4 // horizontal progress indicator (data = values 0..255 of 4-pixels in rows,
140  // par = scanline gradient < data, par2 = scanline gradient >= data)
141 // Control buffer: 16 bytes
-
142 #define GF_GRAD1 5 // gradient with 1 line
+
142 #define GF_GRAD1 5 // gradient with 1 line
143 // Control buffer: 8 bytes (320 pixels: 8 bytes)
-
144 #define GF_GRAD2 6 // gradient with 2 lines
+
144 #define GF_GRAD2 6 // gradient with 2 lines
145 // Control buffer: 8 bytes (320 pixels: 8 bytes)
146 
-
147 #define GF_GRP2MIN GF_GRAPH8 // 2nd group minimal format
-
148 #define GF_GRP2MAX GF_GRAD2 // 2nd group maximal format
+
147 #define GF_GRP2MIN GF_GRAPH8 // 2nd group minimal format
+
148 #define GF_GRP2MAX GF_GRAD2 // 2nd group maximal format
149 
150 // 3rd group of formats - rendering into data buffer dbuf
151 // Control buffer: 8 bytes
152 // Data buffer: width bytes
-
153 #define GF_GRAPH4 7 // 4-bit graphics (num = number of pixels/4 = number of bytes/2;
+
153 #define GF_GRAPH4 7 // 4-bit graphics (num = number of pixels/4 = number of bytes/2;
154  // par = pointer to 16-color palette translation table)
-
155 #define GF_GRAPH2 8 // 2-bit graphics (num = number of pixels/4 = number of bytes,
+
155 #define GF_GRAPH2 8 // 2-bit graphics (num = number of pixels/4 = number of bytes,
156  // par = pointer to 4-color palette translation table)
-
157 #define GF_GRAPH1 9 // 1-bit graphics (num = number of pixels/8 = number of bytes,
+
157 #define GF_GRAPH1 9 // 1-bit graphics (num = number of pixels/8 = number of bytes,
158  // par = 2 colors of palettes)
-
159 #define GF_MTEXT 10 // 8-pixel mono text (num = number of characters, font is 8-bit width,
+
159 #define GF_MTEXT 10 // 8-pixel mono text (num = number of characters, font is 8-bit width,
160  // par = pointer to 1-bit font, par2 = 2 colors of palettes)
-
161 #define GF_ATEXT 11 // 8-pixel attribute text, character + 2x4 bit attributes
+
161 #define GF_ATEXT 11 // 8-pixel attribute text, character + 2x4 bit attributes
162  // (num = number of characters, font is 8-bit width,
163  // par = pointer to 1-bit font, par2 = pointer to 16 colors of palettes)
-
164 #define GF_FTEXT 12 // 8-pixel foreground color text, character + foreground color
+
164 #define GF_FTEXT 12 // 8-pixel foreground color text, character + foreground color
165  // (num = number of characters, font is 8-bit width,
166  // par = pointer to 1-bit font, par2 = background color)
-
167 #define GF_CTEXT 13 // 8-pixel color text, character + background color + foreground color
+
167 #define GF_CTEXT 13 // 8-pixel color text, character + background color + foreground color
168  // (num = number of characters, font is 8-bit width,
169  // par = pointer to 1-bit font)
-
170 #define GF_GTEXT 14 // 8-pixel gradient text (par = pointer to 1-bit font, par2 = pointer to color array)
-
171 #define GF_DTEXT 15 // 8-pixel double gradient text (par = pointer to 1-bit font, par2 = pointer to color array)
-
172 #define GF_LEVEL 16 // level graph (data=samples 0..255, par = 2 colors of palettes, par2 = Y zero level 0..255)
-
173 #define GF_LEVELGRAD 17 // level gradient graph (data = samples 0..255, par = scanline gradient < data, par2 = scanline gradient >= data)
-
174 #define GF_OSCIL 18 // oscilloscope pixel graph (data=samples 0..255, par = 2 colors of palettes, par2 = height of pixels - 1)
-
175 #define GF_OSCLINE 19 // oscilloscope line graph (data=samples 0..255, par = 2 colors of palettes)
-
176 #define GF_PLANE2 20 // 4 colors on 2 graphic planes (data=graphic, par=offset of 2nd graphic plane,
+
170 #define GF_GTEXT 14 // 8-pixel gradient text (par = pointer to 1-bit font, par2 = pointer to color array)
+
171 #define GF_DTEXT 15 // 8-pixel double gradient text (par = pointer to 1-bit font, par2 = pointer to color array)
+
172 #define GF_LEVEL 16 // level graph (data=samples 0..255, par = 2 colors of palettes, par2 = Y zero level 0..255)
+
173 #define GF_LEVELGRAD 17 // level gradient graph (data = samples 0..255, par = scanline gradient < data, par2 = scanline gradient >= data)
+
174 #define GF_OSCIL 18 // oscilloscope pixel graph (data=samples 0..255, par = 2 colors of palettes, par2 = height of pixels - 1)
+
175 #define GF_OSCLINE 19 // oscilloscope line graph (data=samples 0..255, par = 2 colors of palettes)
+
176 #define GF_PLANE2 20 // 4 colors on 2 graphic planes (data=graphic, par=offset of 2nd graphic plane,
177  // par2 = pointer to 4-color palette translation table)
-
178 #define GF_ATTRIB8 21 // 2x4 bit color attribute per 8x8 pixel sample (data=mono graphic, par=offset of color attributes,
+
178 #define GF_ATTRIB8 21 // 2x4 bit color attribute per 8x8 pixel sample (data=mono graphic, par=offset of color attributes,
179  // par2 = pointer to 16-color palette table)
-
180 #define GF_GRAPH8MAT 22 // 8-bit graphics with 2D matrix transformation, using hardware interpolator inter1 (inter1 state is not saved during interrup)
+
180 #define GF_GRAPH8MAT 22 // 8-bit graphics with 2D matrix transformation, using hardware interpolator inter1 (inter1 state is not saved during interrup)
181  // (data=image, par=pointer to 6 matrix integer parameters m11,m12..m23 ((int)(m*FRACTMUL)),
182  // par2 LOW=number of bits of image width, par2 HIGH=number of bits of image height)
-
183 #define GF_GRAPH8PERSP 23 // 8-bit graphics with perspective, using hardware interpolator inter1 (inter1 state is not saved during interrup)
+
183 #define GF_GRAPH8PERSP 23 // 8-bit graphics with perspective, using hardware interpolator inter1 (inter1 state is not saved during interrup)
184  // (data=image, par=pointer to 6 matrix integer parameters m11,m12..m23 ((int)(m*FRACTMUL)),
185  // par2 LOW=number of bits of image width, par2 HIGH=number of bits of image height,
186  // par3=horizon offset)
-
187 #define GF_TILEPERSP 24 // tiles with perspective, using hardware interpolators inter0 and inter1 (their state is not saved during interrup)
+
187 #define GF_TILEPERSP 24 // tiles with perspective, using hardware interpolators inter0 and inter1 (their state is not saved during interrup)
188  // (data=tile map, par=one column of tiles, par2=pointer to integer matrix,
189  // wb LOW=number of bits of map width, wb HIGH=number of bits of map height,
190  // par3 LOW=number of bits of tile size, par3 HIGH=horizon offset/4 or 0=no perspective or <0=ceilling,
191  // wrapy=segment height)
-
192 #define GF_TILEPERSP15 25 // tiles with perspective, 1.5 pixels (parameters as GF_TILEPERSP)
-
193 #define GF_TILEPERSP2 26 // tiles with perspective, double pixels (parameters as GF_TILEPERSP)
-
194 #define GF_TILEPERSP3 27 // tiles with perspective, triple pixels (parameters as GF_TILEPERSP)
-
195 #define GF_TILEPERSP4 28 // tiles with perspective, quadruple pixels (parameters as GF_TILEPERSP)
+
192 #define GF_TILEPERSP15 25 // tiles with perspective, 1.5 pixels (parameters as GF_TILEPERSP)
+
193 #define GF_TILEPERSP2 26 // tiles with perspective, double pixels (parameters as GF_TILEPERSP)
+
194 #define GF_TILEPERSP3 27 // tiles with perspective, triple pixels (parameters as GF_TILEPERSP)
+
195 #define GF_TILEPERSP4 28 // tiles with perspective, quadruple pixels (parameters as GF_TILEPERSP)
196 
-
197 #define GF_GRP3MIN GF_GRAPH4 // 3rd group minimal format
-
198 #define GF_GRP3MAX GF_TILEPERSP4 // 3rd group maximal format
+
197 #define GF_GRP3MIN GF_GRAPH4 // 3rd group minimal format
+
198 #define GF_GRP3MAX GF_TILEPERSP4 // 3rd group maximal format
199 
200 
-
201 #define FRACT 12 // number of bits of fractional part of fractint number (use max. 13, min. 8)
+
201 #define FRACT 12 // number of bits of fractional part of fractint number (use max. 13, min. 8)
202 #define FRACTMUL (1<<FRACT)
@@ -290,9 +290,7 @@ $(document).ready(function(){initNavTree('define_8h_source.html',''); initResiza diff --git a/docs/dir_000000_000003.html b/docs/dir_000010_000013.html similarity index 93% rename from docs/dir_000000_000003.html rename to docs/dir_000010_000013.html index 70dc3ca..3b78f54 100644 --- a/docs/dir_000000_000003.html +++ b/docs/dir_000010_000013.html @@ -3,7 +3,7 @@ - + PicoVGA: src -> util Relation @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -92,9 +92,7 @@ $(document).ready(function(){initNavTree('dir_68267d1309a1af8e8297ef4c3efbcdba.h diff --git a/docs/dir_000001_000004.html b/docs/dir_017ad5e908c41501f6a06b5119b37293.html similarity index 65% rename from docs/dir_000001_000004.html rename to docs/dir_017ad5e908c41501f6a06b5119b37293.html index 70dc3ca..3cfcb48 100644 --- a/docs/dir_000001_000004.html +++ b/docs/dir_017ad5e908c41501f6a06b5119b37293.html @@ -3,9 +3,9 @@ - + -PicoVGA: src -> util Relation +PicoVGA: CMakeFiles Directory Reference @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -67,7 +67,7 @@ $(function() {
@@ -85,16 +85,18 @@ $(document).ready(function(){initNavTree('dir_68267d1309a1af8e8297ef4c3efbcdba.h
+
+
+
CMakeFiles Directory Reference
+
-

src → util Relation

File in srcIncludes file in src/util
picovga.hcanvas.h
picovga.hmat2d.h
picovga.hoverclock.h
picovga.hprint.h
picovga.hpwmsnd.h
picovga.hrand.h
+ diff --git a/docs/dir_17cadb2edabe3078d28ce072d22225fa.html b/docs/dir_17cadb2edabe3078d28ce072d22225fa.html new file mode 100644 index 0000000..e5ca435 --- /dev/null +++ b/docs/dir_17cadb2edabe3078d28ce072d22225fa.html @@ -0,0 +1,103 @@ + + + + + + + +PicoVGA: tools/src Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
PicoVGA +  1.2-cmake +
+
VGA/TV display on Raspberry Pico
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
src Directory Reference
+
+
+
+
+ + + + diff --git a/docs/dir_208d2690607c4e3d3fabfa1d18673d36.html b/docs/dir_208d2690607c4e3d3fabfa1d18673d36.html index 7232111..f19a8c8 100644 --- a/docs/dir_208d2690607c4e3d3fabfa1d18673d36.html +++ b/docs/dir_208d2690607c4e3d3fabfa1d18673d36.html @@ -3,7 +3,7 @@ - + PicoVGA: pages Directory Reference @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -96,9 +96,7 @@ $(document).ready(function(){initNavTree('dir_208d2690607c4e3d3fabfa1d18673d36.h diff --git a/docs/dir_4eeb864c4eec08c7d6b9d3b0352cfdde.html b/docs/dir_4eeb864c4eec08c7d6b9d3b0352cfdde.html new file mode 100644 index 0000000..3765b7e --- /dev/null +++ b/docs/dir_4eeb864c4eec08c7d6b9d3b0352cfdde.html @@ -0,0 +1,107 @@ + + + + + + + +PicoVGA: tools Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
PicoVGA +  1.2-cmake +
+
VGA/TV display on Raspberry Pico
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
tools Directory Reference
+
+
+ + +

+Directories

+
+
+ + + + diff --git a/docs/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/docs/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 4e17e03..626d2ed 100644 --- a/docs/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/docs/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -3,7 +3,7 @@ - + PicoVGA: src Directory Reference @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -93,14 +93,7 @@ $(document).ready(function(){initNavTree('dir_68267d1309a1af8e8297ef4c3efbcdba.h
Directory dependency graph for src:
-
src
- - - - - - - +
src
diff --git a/docs/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.dot b/docs/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.dot new file mode 100644 index 0000000..af20980 --- /dev/null +++ b/docs/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.dot @@ -0,0 +1,13 @@ +digraph "src" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_68267d1309a1af8e8297ef4c3efbcdba { + graph [ bgcolor="#eeeeff", pencolor="black", label="" URL="dir_68267d1309a1af8e8297ef4c3efbcdba.html"]; + dir_68267d1309a1af8e8297ef4c3efbcdba [shape=plaintext label="src"]; + dir_d427579e6d954d5fb6f37ea89b80f66e [shape=box label="font" fillcolor="white" style="filled" URL="dir_d427579e6d954d5fb6f37ea89b80f66e.html"]; + dir_e488ee1cea97fb16abdb5ccc78d2123b [shape=box label="render" fillcolor="white" style="filled" URL="dir_e488ee1cea97fb16abdb5ccc78d2123b.html"]; + dir_b7878ad5ecbf2506f4125b9d34c97e45 [shape=box label="util" fillcolor="white" style="filled" URL="dir_b7878ad5ecbf2506f4125b9d34c97e45.html"]; + } + dir_68267d1309a1af8e8297ef4c3efbcdba->dir_b7878ad5ecbf2506f4125b9d34c97e45 [headlabel="6", labeldistance=1.5 headhref="dir_000010_000013.html"]; +} diff --git a/docs/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.map b/docs/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.map deleted file mode 100644 index 7b3d595..0000000 --- a/docs/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.md5 b/docs/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.md5 deleted file mode 100644 index 0f48210..0000000 --- a/docs/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.md5 +++ /dev/null @@ -1 +0,0 @@ -4f2d4a4123547dcc6d1363b5c29e26bc \ No newline at end of file diff --git a/docs/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.png b/docs/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.png deleted file mode 100644 index d23b227..0000000 Binary files a/docs/dir_68267d1309a1af8e8297ef4c3efbcdba_dep.png and /dev/null differ diff --git a/docs/dir_49e56c817e5e54854c35e136979f97ca.html b/docs/dir_84fc5dba3506812825191c0c043e3c97.html similarity index 84% rename from docs/dir_49e56c817e5e54854c35e136979f97ca.html rename to docs/dir_84fc5dba3506812825191c0c043e3c97.html index c22b166..ed66d5c 100644 --- a/docs/dir_49e56c817e5e54854c35e136979f97ca.html +++ b/docs/dir_84fc5dba3506812825191c0c043e3c97.html @@ -3,9 +3,9 @@ - + -PicoVGA: docs Directory Reference +PicoVGA: generated Directory Reference @@ -29,7 +29,7 @@ @@ -38,10 +38,10 @@

@@ -139,9 +132,7 @@ Files

PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
- + @@ -67,7 +67,7 @@ $(function() {
@@ -87,7 +87,7 @@ $(document).ready(function(){initNavTree('dir_49e56c817e5e54854c35e136979f97ca.h
-
docs Directory Reference
+
generated Directory Reference
@@ -95,10 +95,8 @@ $(document).ready(function(){initNavTree('dir_49e56c817e5e54854c35e136979f97ca.h diff --git a/docs/dir_84fc5dba3506812825191c0c043e3c97.js b/docs/dir_84fc5dba3506812825191c0c043e3c97.js new file mode 100644 index 0000000..ea9da7a --- /dev/null +++ b/docs/dir_84fc5dba3506812825191c0c043e3c97.js @@ -0,0 +1,4 @@ +var dir_84fc5dba3506812825191c0c043e3c97 = +[ + [ "pico_base", "dir_c607a4b62498288bd21112d49c568109.html", "dir_c607a4b62498288bd21112d49c568109" ] +]; \ No newline at end of file diff --git a/docs/dir_9f6dc51727e6b8aa9896b3ff5053853f.html b/docs/dir_9f6dc51727e6b8aa9896b3ff5053853f.html new file mode 100644 index 0000000..0a01fca --- /dev/null +++ b/docs/dir_9f6dc51727e6b8aa9896b3ff5053853f.html @@ -0,0 +1,103 @@ + + + + + + + +PicoVGA: CMakeFiles/3.22.1/CompilerIdCXX Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
PicoVGA +  1.2-cmake +
+
VGA/TV display on Raspberry Pico
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
CompilerIdCXX Directory Reference
+
+
+
+
+ + + + diff --git a/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45.html b/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45.html index fa119bf..817dd71 100644 --- a/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45.html +++ b/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45.html @@ -3,7 +3,7 @@ - + PicoVGA: src/util Directory Reference @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -93,11 +93,7 @@ $(document).ready(function(){initNavTree('dir_b7878ad5ecbf2506f4125b9d34c97e45.h
Directory dependency graph for util:
-
src/util
- - - - +
src/util
diff --git a/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45_dep.dot b/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45_dep.dot new file mode 100644 index 0000000..30fd56b --- /dev/null +++ b/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45_dep.dot @@ -0,0 +1,9 @@ +digraph "src/util" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_68267d1309a1af8e8297ef4c3efbcdba { + graph [ bgcolor="#ddddee", pencolor="black", label="src" fontname="Helvetica", fontsize="10", URL="dir_68267d1309a1af8e8297ef4c3efbcdba.html"] + dir_b7878ad5ecbf2506f4125b9d34c97e45 [shape=box, label="util", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_b7878ad5ecbf2506f4125b9d34c97e45.html"]; + } +} diff --git a/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45_dep.map b/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45_dep.map deleted file mode 100644 index 7f0a993..0000000 --- a/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45_dep.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45_dep.md5 b/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45_dep.md5 deleted file mode 100644 index 32e749d..0000000 --- a/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45_dep.md5 +++ /dev/null @@ -1 +0,0 @@ -063548535a364171ad490b9ee239bac7 \ No newline at end of file diff --git a/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45_dep.png b/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45_dep.png deleted file mode 100644 index 6960b15..0000000 Binary files a/docs/dir_b7878ad5ecbf2506f4125b9d34c97e45_dep.png and /dev/null differ diff --git a/docs/dir_b82cb847c6afa21fb386779eea326947.html b/docs/dir_b82cb847c6afa21fb386779eea326947.html new file mode 100644 index 0000000..96f3aff --- /dev/null +++ b/docs/dir_b82cb847c6afa21fb386779eea326947.html @@ -0,0 +1,103 @@ + + + + + + + +PicoVGA: tools/examples Directory Reference + + + + + + + + + + + + + + + +
+
+

@@ -127,9 +123,7 @@ Files

+ + + + + + +
+
PicoVGA +  1.2-cmake +
+
VGA/TV display on Raspberry Pico
+
+ + + + + + + + + +
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
examples Directory Reference
+
+
+
+
+ + + + diff --git a/docs/dir_c607a4b62498288bd21112d49c568109.html b/docs/dir_c607a4b62498288bd21112d49c568109.html new file mode 100644 index 0000000..8682b08 --- /dev/null +++ b/docs/dir_c607a4b62498288bd21112d49c568109.html @@ -0,0 +1,107 @@ + + + + + + + +PicoVGA: generated/pico_base Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
PicoVGA +  1.2-cmake +
+
VGA/TV display on Raspberry Pico
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
pico_base Directory Reference
+
+
+ + +

+Directories

+
+
+ + + + diff --git a/docs/dir_c607a4b62498288bd21112d49c568109.js b/docs/dir_c607a4b62498288bd21112d49c568109.js new file mode 100644 index 0000000..45b63da --- /dev/null +++ b/docs/dir_c607a4b62498288bd21112d49c568109.js @@ -0,0 +1,4 @@ +var dir_c607a4b62498288bd21112d49c568109 = +[ + [ "pico", "dir_d532c79136106d5cbf5b6f12306cf0f5.html", "dir_d532c79136106d5cbf5b6f12306cf0f5" ] +]; \ No newline at end of file diff --git a/docs/dir_c787e787158fd710b46a5bbd2f616188.html b/docs/dir_c787e787158fd710b46a5bbd2f616188.html new file mode 100644 index 0000000..7041374 --- /dev/null +++ b/docs/dir_c787e787158fd710b46a5bbd2f616188.html @@ -0,0 +1,103 @@ + + + + + + + +PicoVGA: CMakeFiles/3.22.1/CompilerIdC Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
PicoVGA +  1.2-cmake +
+
VGA/TV display on Raspberry Pico
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
CompilerIdC Directory Reference
+
+
+
+
+ + + + diff --git a/docs/dir_d427579e6d954d5fb6f37ea89b80f66e.html b/docs/dir_d427579e6d954d5fb6f37ea89b80f66e.html index 6e57bab..1790ada 100644 --- a/docs/dir_d427579e6d954d5fb6f37ea89b80f66e.html +++ b/docs/dir_d427579e6d954d5fb6f37ea89b80f66e.html @@ -3,7 +3,7 @@ - + PicoVGA: src/font Directory Reference @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -93,11 +93,7 @@ $(document).ready(function(){initNavTree('dir_d427579e6d954d5fb6f37ea89b80f66e.h
Directory dependency graph for font:
-
src/font
- - - - +
src/font
@@ -105,9 +101,7 @@ Directory dependency graph for font: diff --git a/docs/dir_d427579e6d954d5fb6f37ea89b80f66e_dep.dot b/docs/dir_d427579e6d954d5fb6f37ea89b80f66e_dep.dot new file mode 100644 index 0000000..a721c62 --- /dev/null +++ b/docs/dir_d427579e6d954d5fb6f37ea89b80f66e_dep.dot @@ -0,0 +1,9 @@ +digraph "src/font" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_68267d1309a1af8e8297ef4c3efbcdba { + graph [ bgcolor="#ddddee", pencolor="black", label="src" fontname="Helvetica", fontsize="10", URL="dir_68267d1309a1af8e8297ef4c3efbcdba.html"] + dir_d427579e6d954d5fb6f37ea89b80f66e [shape=box, label="font", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_d427579e6d954d5fb6f37ea89b80f66e.html"]; + } +} diff --git a/docs/dir_d427579e6d954d5fb6f37ea89b80f66e_dep.map b/docs/dir_d427579e6d954d5fb6f37ea89b80f66e_dep.map deleted file mode 100644 index bfd1133..0000000 --- a/docs/dir_d427579e6d954d5fb6f37ea89b80f66e_dep.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/dir_d427579e6d954d5fb6f37ea89b80f66e_dep.md5 b/docs/dir_d427579e6d954d5fb6f37ea89b80f66e_dep.md5 deleted file mode 100644 index 2de5565..0000000 --- a/docs/dir_d427579e6d954d5fb6f37ea89b80f66e_dep.md5 +++ /dev/null @@ -1 +0,0 @@ -0ac097e817146855e6db38da8cd5f7a9 \ No newline at end of file diff --git a/docs/dir_d427579e6d954d5fb6f37ea89b80f66e_dep.png b/docs/dir_d427579e6d954d5fb6f37ea89b80f66e_dep.png deleted file mode 100644 index 13b79c4..0000000 Binary files a/docs/dir_d427579e6d954d5fb6f37ea89b80f66e_dep.png and /dev/null differ diff --git a/docs/dir_d532c79136106d5cbf5b6f12306cf0f5.html b/docs/dir_d532c79136106d5cbf5b6f12306cf0f5.html new file mode 100644 index 0000000..9122e02 --- /dev/null +++ b/docs/dir_d532c79136106d5cbf5b6f12306cf0f5.html @@ -0,0 +1,103 @@ + + + + + + + +PicoVGA: generated/pico_base/pico Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
PicoVGA +  1.2-cmake +
+
VGA/TV display on Raspberry Pico
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
pico Directory Reference
+
+
+
+
+ + + + diff --git a/docs/dir_d532c79136106d5cbf5b6f12306cf0f5.js b/docs/dir_d532c79136106d5cbf5b6f12306cf0f5.js new file mode 100644 index 0000000..8767599 --- /dev/null +++ b/docs/dir_d532c79136106d5cbf5b6f12306cf0f5.js @@ -0,0 +1,5 @@ +var dir_d532c79136106d5cbf5b6f12306cf0f5 = +[ + [ "config_autogen.h", "config__autogen_8h_source.html", null ], + [ "version.h", "version_8h_source.html", null ] +]; \ No newline at end of file diff --git a/docs/dir_e488ee1cea97fb16abdb5ccc78d2123b.html b/docs/dir_e488ee1cea97fb16abdb5ccc78d2123b.html index f583e61..eebb2e3 100644 --- a/docs/dir_e488ee1cea97fb16abdb5ccc78d2123b.html +++ b/docs/dir_e488ee1cea97fb16abdb5ccc78d2123b.html @@ -3,7 +3,7 @@ - + PicoVGA: src/render Directory Reference @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -96,9 +96,7 @@ $(document).ready(function(){initNavTree('dir_e488ee1cea97fb16abdb5ccc78d2123b.h diff --git a/docs/dir_e50b5e596ea7fd3b3876850f33cb4b65.html b/docs/dir_e50b5e596ea7fd3b3876850f33cb4b65.html new file mode 100644 index 0000000..f4d569c --- /dev/null +++ b/docs/dir_e50b5e596ea7fd3b3876850f33cb4b65.html @@ -0,0 +1,107 @@ + + + + + + + +PicoVGA: CMakeFiles/3.22.1 Directory Reference + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
PicoVGA +  1.2-cmake +
+
VGA/TV display on Raspberry Pico
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
3.22.1 Directory Reference
+
+
+ + +

+Directories

+
+
+ + + + diff --git a/docs/doxygen.css b/docs/doxygen.css index 73ecbb2..ffbff02 100644 --- a/docs/doxygen.css +++ b/docs/doxygen.css @@ -1,4 +1,4 @@ -/* The standard CSS for doxygen 1.8.17 */ +/* The standard CSS for doxygen 1.9.1 */ body, table, div, p, dl { font: 400 14px/22px Roboto,sans-serif; @@ -66,7 +66,7 @@ p.startli, p.startdd { margin-top: 2px; } -th p.starttd, p.intertd, p.endtd { +th p.starttd, th p.intertd, th p.endtd { font-size: 100%; font-weight: 700; } @@ -103,30 +103,96 @@ caption { } span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; + font-size: 70%; text-align: center; } -div.qindex, div.navpath { - width: 100%; - line-height: 140%; +h3.version { + font-size: 90%; + text-align: center; } div.navtab { - margin-right: 15px; + border-right: 1px solid #A3B4D7; + padding-right: 15px; + text-align: right; + line-height: 110%; } +div.navtab table { + border-spacing: 0; +} + +td.navtab { + padding-right: 6px; + padding-left: 6px; +} +td.navtabHL { + background-image: url('tab_a.png'); + background-repeat:repeat-x; + padding-right: 6px; + padding-left: 6px; +} + +td.navtabHL a, td.navtabHL a:visited { + color: #fff; + text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +} + +a.navtab { + font-weight: bold; +} + +div.qindex{ + text-align: center; + width: 100%; + line-height: 140%; + font-size: 130%; + color: #A0A0A0; +} + +dt.alphachar{ + font-size: 180%; + font-weight: bold; +} + +.alphachar a{ + color: black; +} + +.alphachar a:hover, .alphachar a:visited{ + text-decoration: none; +} + +.classindex dl { + padding: 25px; + column-count:1 +} + +.classindex dd { + display:inline-block; + margin-left: 50px; + width: 90%; + line-height: 1.15em; +} + +.classindex dl.odd { + background-color: #F8F9FC; +} + +@media(min-width: 1120px) { + .classindex dl { + column-count:2 + } +} + +@media(min-width: 1320px) { + .classindex dl { + column-count:3 + } +} + + /* @group Link Styling */ a { @@ -143,17 +209,6 @@ a:hover { text-decoration: underline; } -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #FFFFFF; - border: 1px double #869DCA; -} - .contents a.qindexHL:visited { color: #FFFFFF; } @@ -1358,10 +1413,12 @@ dl.citelist dt { font-weight:bold; margin-right:10px; padding:5px; + text-align:right; + width:52px; } dl.citelist dd { - margin:2px 0; + margin:2px 0 2px 72px; padding:5px 0; } @@ -1424,6 +1481,12 @@ div.toc li.level4 { margin-left: 45px; } +span.emoji { + /* font family used at the site: https://unicode.org/emoji/charts/full-emoji-list.html + * font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Times, Symbola, Aegyptus, Code2000, Code2001, Code2002, Musica, serif, LastResort; + */ +} + .PageDocRTL-title div.toc li.level1 { margin-left: 0 !important; margin-right: 0; @@ -1661,47 +1724,6 @@ tr.heading h2 { /* @group Markdown */ -/* -table.markdownTable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.markdownTable td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.markdownTableHead tr { -} - -table.markdownTableBodyLeft td, table.markdownTable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -th.markdownTableHeadLeft { - text-align: left -} - -th.markdownTableHeadRight { - text-align: right -} - -th.markdownTableHeadCenter { - text-align: center -} -*/ - table.markdownTable { border-collapse:collapse; margin-top: 4px; diff --git a/docs/doxygen.png b/docs/doxygen.png deleted file mode 100644 index 3ff17d8..0000000 Binary files a/docs/doxygen.png and /dev/null differ diff --git a/docs/doxygen.svg b/docs/doxygen.svg new file mode 100644 index 0000000..d42dad5 --- /dev/null +++ b/docs/doxygen.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/dynsections.js b/docs/dynsections.js index ea0a7b3..3174bd7 100644 --- a/docs/dynsections.js +++ b/docs/dynsections.js @@ -1,25 +1,26 @@ /* - @licstart The following is the entire license notice for the - JavaScript code in this file. + @licstart The following is the entire license notice for the JavaScript code in this file. - Copyright (C) 1997-2017 by Dimitri van Heesch + The MIT License (MIT) - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + Copyright (C) 1997-2020 by Dimitri van Heesch - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + Permission is hereby granted, free of charge, to any person obtaining a copy of this software + and associated documentation files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, publish, distribute, + sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + The above copyright notice and this permission notice shall be included in all copies or + substantial portions of the Software. - @licend The above is the entire license notice - for the JavaScript code in this file + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + @licend The above is the entire license notice for the JavaScript code in this file */ function toggleVisibility(linkObj) { diff --git a/docs/files.html b/docs/files.html index 7f5ac75..1d7d1d6 100644 --- a/docs/files.html +++ b/docs/files.html @@ -3,7 +3,7 @@ - + PicoVGA: File List @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -91,24 +91,29 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); });
Here is a list of all documented files with brief descriptions:
-
[detail level 123]
- - - - - - - - - - - - - - - - - +
[detail level 1234]
  src
  util
 canvas.hCanvas
 mat2d.h2D Transformation Matrix
 overclock.hOverclock
 print.hPrint to attribute text buffer
 pwmsnd.hPWM sound output
 rand.hRandom number generator
 define.hVGA common definitions of C and ASM
 picovga.hGlobal common definitions
 vga.hVideo/Library Initialization
 vga_layer.hVGA layers
 vga_pal.hVGA colors and palettes
 vga_screen.hVGA screen layout
 vga_util.hVGA utilities
 vga_vmode.hVGA videomodes
 vga_config.h
+ + + + + + + + + + + + + + + + + + + + + +
  generated
  pico_base
  pico
 config_autogen.h
 version.h
  src
  util
 canvas.hCanvas
 mat2d.h2D Transformation Matrix
 overclock.hOverclock
 print.hPrint to attribute text buffer
 pwmsnd.hPWM sound output
 rand.hRandom number generator
 define.hVGA common definitions of C and ASM
 picovga.hGlobal common definitions
 vga.hVideo/Library Initialization
 vga_layer.hVGA layers
 vga_pal.hVGA colors and palettes
 vga_screen.hVGA screen layout
 vga_util.hVGA utilities
 vga_vmode.hVGA videomodes
 vga_config.h
@@ -116,9 +121,7 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); }); diff --git a/docs/files_dup.js b/docs/files_dup.js index 172da8a..ef70463 100644 --- a/docs/files_dup.js +++ b/docs/files_dup.js @@ -1,5 +1,6 @@ var files_dup = [ + [ "generated", "dir_84fc5dba3506812825191c0c043e3c97.html", "dir_84fc5dba3506812825191c0c043e3c97" ], [ "src", "dir_68267d1309a1af8e8297ef4c3efbcdba.html", "dir_68267d1309a1af8e8297ef4c3efbcdba" ], [ "vga_config.h", "vga__config_8h_source.html", null ] ]; \ No newline at end of file diff --git a/docs/functions.html b/docs/functions.html index 9d7767c..9593368 100644 --- a/docs/functions.html +++ b/docs/functions.html @@ -3,7 +3,7 @@ - + PicoVGA: Data Fields @@ -29,7 +29,7 @@ Logo
PicoVGA -  1.0-cmake +  1.2-cmake
VGA/TV display on Raspberry Pico
@@ -38,10 +38,10 @@ - + @@ -354,24 +354,36 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();

- s -