Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
Izaya

syscall universal API

Recommended Posts

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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.