home *** CD-ROM | disk | FTP | other *** search
- /*
- * riscos.h
- * Copyright © 1992 Niklas Röjemo
- */
-
- #ifndef _riscos_h
- #define _riscos_h
-
- #define ThrowbackInfo -1
- #define ThrowbackWarning 0
- #define ThrowbackError 1
- #define ThrowbackSeriousError 2
-
- #define os_X (0x00020000)
-
- typedef struct os_error os_error;
-
- struct os_error
- { unsigned int errnum;
- char errmess [252];
- };
-
-
- os_error *ThrowbackStart(void);
- os_error *ThrowbackSendStart(char *filename);
- os_error *ThrowbackSendError(int level,int lineno,char *error);
- os_error *ThrowbackEnd(void);
-
- os_error *os_swi0(int swicode);
- os_error *os_swi3(int swicode, int r0, int r1, int r2);
- os_error *os_swi6(int swicode, int r0, int r1, int r2, int r3, int r4, int r5);
-
- #endif /*riscos_h*/
-