Add Syscall: Exit, PutChar, GetCar, PutString, GetString

This commit is contained in:
Yorick Barbanneau 2021-10-11 22:41:17 +02:00
parent 6f405265a5
commit 80fc250109
15 changed files with 359 additions and 17 deletions

13
code/test/getstring.c Normal file
View file

@ -0,0 +1,13 @@
#include "syscall.h"
int main()
{
//char s;
//s = GetChar();
//PutChar(s);
char t[100];
GetString(t, 100);
PutString(t);
PutChar('\n');
PutString("Ceci est un test de grande ampleur");
}