feat: test des nouvelles fonctionnalités graphiques de la librairie VGA

This commit is contained in:
Nicolas Hordé 2007-04-02 13:26:03 +00:00
parent 31a3c5a547
commit b0441884e2
1 changed files with 16 additions and 7 deletions

View File

@ -1,9 +1,18 @@
#include "vga.h"
#include "video.h"
int main(void) {
setvmode(0x1);
clearscreen();
setfont(1);
print("Hello cos is here");
int _main(void) {
setvmode(0x84);
cls();
int x,y;
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);
}