mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-24 19:20:40 +00:00
23 lines
391 B
C
23 lines
391 B
C
#include "io.h"
|
|
#include "fb.h"
|
|
|
|
void main()
|
|
{
|
|
uart_init();
|
|
fb_init();
|
|
|
|
drawRect(150,150,400,400,0x03,0);
|
|
drawRect(300,300,350,350,0x2e,1);
|
|
|
|
drawCircle(960,540,250,0x0e,0);
|
|
drawCircle(960,540,50,0x13,1);
|
|
|
|
drawPixel(250,250,0x0e);
|
|
|
|
drawChar('O',500,500,0x05);
|
|
drawString(100,100,"Hello world!",0x0f);
|
|
|
|
drawLine(100,500,350,700,0x0c);
|
|
|
|
while (1);
|
|
}
|