KolibriOS syscalls for rust.
Use macro syscall!(eax: u32, ebx: u32, ..) -> (u32, u32).
Macro returns (eax, ebx).
Examples
Exit:
!
Using returned value(s):
use c_void;
/// Allocates x pages so that x*page_size > size
unsafe
Hello World: (will write to debug board)
let string = "hello world";
for i in string.bytes