Add Syscall: Exit, PutChar, GetCar, PutString, GetString
This commit is contained in:
parent
6f405265a5
commit
80fc250109
15 changed files with 359 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue