You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
508 B
C

#ifndef _PROMLIB_H
#define _PROMLIB_H
/* Syscall numbers -- move into v0
* A lot of these revolve around "best guesses" based on some reverse
* engineering.
*/
#define PUTC 1
#define GETC 3
#define MEMSIZE 4
#define VERSION 10
#define TIMER 0
/* Promlib Calls */
void c_putc(const char c);
void c_puts(const char *s);
char c_getc(void);
int c_gets(char *b, int n);
int c_memsz(void);
long c_timer(void);
int c_strnlen(const char *c, int maxlen);
char *c_verstr(void);
#endif /* _PROMLIB_H */