rpi4-osdev/part12-wgt/examples/wgt01.c
2021-03-12 22:02:57 +00:00

16 lines
256 B
C

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