mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-24 19:20:40 +00:00
16 lines
264 B
C
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);
|
|
}
|