Newer
Older
Scratch / ubix3 / src / include / ubixos / sysCall.h
@Christopher W. Olsen Christopher W. Olsen on 25 Oct 2019 523 bytes Scratch
/**************************************************************************************
$Id: sysCall.h,v 1.1 2002/04/26 03:46:06 reddawg Exp $


**************************************************************************************/

int systemExit();
int systemPrint();
int systemGetch();
int systemVM86();

typedef int (*functionPTR)();

functionPTR systemCalls[] = {
  systemExit, systemPrint, systemGetch,
  systemVM86
  };

int totalCalls = sizeof(systemCalls)/sizeof(functionPTR);

void sysCall();
void invalidCall();