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