mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-10 04:10:39 +00:00
18 lines
276 B
C
18 lines
276 B
C
|
#include "wgt.h"
|
||
|
#include "wpal.h"
|
||
|
|
||
|
// ######## WGT EXAMPLES ########
|
||
|
|
||
|
void wgt01()
|
||
|
{
|
||
|
vga256 (); /* Initializes WGT system */
|
||
|
wsetcolor (vgapal[15]);
|
||
|
wline (0, 0, 1919, 1079); /* Draw a line */
|
||
|
}
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
wgt01();
|
||
|
while (1);
|
||
|
}
|