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

View file

@ -32,6 +32,13 @@ extern Timer *timer; // the hardware alarm clock
#ifdef USER_PROGRAM
#include "machine.h"
extern Machine *machine; // user program memory and registers
#ifdef CHANGED
#define MAX_STRING_SIZE 8
#include "consoledriver.h"
extern ConsoleDriver *consoledriver; // add console driver
#endif
#endif
#ifdef FILESYS_NEEDED // FILESYS or FILESYS_STUB