30 lines
569 B
C
30 lines
569 B
C
/*******************************************************************************/
|
|
/* COS2000 - Compatible Operating System - LGPL v3 - Horde Nicolas */
|
|
/* */
|
|
|
|
#include "libsys.h";
|
|
#include "syscall.h";
|
|
#include "types.h";
|
|
|
|
u32 exit(u32 resultcode)
|
|
{
|
|
return syscall1(5,(u32) resultcode);
|
|
}
|
|
|
|
u32 getticks(void)
|
|
{
|
|
return syscall0(4);
|
|
}
|
|
|
|
u8 waitkey(void)
|
|
{
|
|
return syscall0(1);
|
|
}
|
|
|
|
u32 testapi(u32 arg1, u32 arg2, u32 arg3)
|
|
{
|
|
return syscall3(0,(u32) arg1,(u32) arg2,(u32) arg3);
|
|
}
|
|
|
|
|