Izaya 19 Posted February 8, 2015 Share Posted February 8, 2015 As I'm working on some stuff for MicrOS, I decided I wanted to get some stuff going, even it it was very limited. So I implimented the very basic syscalls from MicrOS into a library for standard Lua, and by extension, OpenOS. Basically, it has 4 syscalls: writeln, write, read, fs_open, and they're all pretty self-explanatory, though you can read the docs at http://shadowkat.tk/projects/os/syscalls.php Now, the actual program? http://shadowkat.tk/files/syscall.lua Ideally, dump it in /boot/ to be loaded later, then use the syscall function. Failing that, require it and use the syscall function. Yep, I'm done here. Quote Link to post Share on other sites