#include "syscall.h" int main() { //char testStr[15]; int execID; /* testStr[0] = 'H'; testStr[1] = 'e'; testStr[2] = 'l'; testStr[3] = 'l'; testStr[4] = 'o'; testStr[5] = ' '; testStr[6] = 'W'; testStr[7] = 'o'; testStr[8] = 'r'; testStr[9] = 'l'; testStr[10] = 'd'; testStr[11] = '!'; testStr[12] = '!'; testStr[13] = '\n'; testStr[14] = '\0'; */ // Open SimpleProgram (should immediately exit) //Exec("SimpleProgram"); // Open SimpleProgram (should immediately exit) //Exec("BradFork"); // Write "Hello World!!" to screen //Write(testStr,15,1); // Open SimpleProgram (should immediately exit) execID = Exec("BradFork"); Join(execID); execID = Exec("BradPingPong"); Join(execID); // Exit this program Exit(0); }