feat: test des nouvelles fonctionnalités graphiques de la librairie VGA
This commit is contained in:
parent
31a3c5a547
commit
b0441884e2
|
@ -1,9 +1,18 @@
|
||||||
#include "vga.h"
|
#include "vga.h"
|
||||||
|
#include "video.h"
|
||||||
|
|
||||||
int main(void) {
|
int _main(void) {
|
||||||
setvmode(0x1);
|
setvmode(0x84);
|
||||||
clearscreen();
|
cls();
|
||||||
setfont(1);
|
int x,y;
|
||||||
print("Hello cos is here");
|
for(x=0;x<120;x++)
|
||||||
|
for(y=0;y<120;y++)
|
||||||
|
{
|
||||||
|
writepxl(x,y,4);
|
||||||
|
}
|
||||||
|
for(x=0;x<20000;x++)
|
||||||
|
{
|
||||||
|
print("C'est 2 test 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 c un test!");
|
||||||
|
}
|
||||||
while(1);
|
while(1);
|
||||||
}
|
}
|
Loading…
Reference in New Issue