From b0441884e27256e230bee438d2d486c7d1628a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Mon, 2 Apr 2007 13:26:03 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20test=20des=20nouvelles=20fonctionnalit?= =?UTF-8?q?=C3=A9s=20graphiques=20de=20la=20librairie=20VGA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- system/system.c | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/system/system.c b/system/system.c index 3269251..60e746b 100644 --- a/system/system.c +++ b/system/system.c @@ -1,9 +1,18 @@ #include "vga.h" +#include "video.h" -int main(void) { - setvmode(0x1); - clearscreen(); - setfont(1); - print("Hello cos is here"); - while(1); -} \ No newline at end of file +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); +}