This commit is contained in:
SpartanSoftware
2026-02-20 21:25:55 -06:00
commit 2a6a11a701
180 changed files with 18499 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# Syscalls
---
Syscalls allow for tasks to request somthing only the kernel can do (ex: reading a file).
Syscalls can be called in 2 ways, ```syscall.{id / name}(args...)``` or ```coroutine.yeild("syscall", {name / id}, args...)```.
Syscalls are also implemented as functions in
```
sleep(ms)
print(...)
printInline(...)
printf(fmt, ...)
```