rpi4-osdev/part12-wgt/examples/wgt01.c
2021-03-07 19:07:08 +00:00

17 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);
}