rpi4-osdev/part12-wgt/samples/wgt01.c
2021-03-25 09:20:48 +00:00

16 lines
264 B
C

#include "include/wgt.h"
// ######## WGT EXAMPLES ########
void wgt01()
{
vga256 (); /* Initializes WGT system */
wsetcolor (vgapal[15]);
wline (0, 0, 319, 199); /* Draw a line */
}
void main()
{
wgt01();
while (1);
}