MayOS
1.0.0
A toy kernel which comes with some user routines. (x86 based)

Platform: Linux
git clone https://github.com/Explainaur/MayOS.git
cd MayOS
mkdir bin
cd MayOS/src
make
cd ..
make run # run with bochstypedef enum _SYSCALL_NR {
SYS_GETPID,
SYS_WRITE,
SYS_MALLOC,
SYS_FREE,
SYS_FORK,
SYS_READ,
SYS_PUTCHAR,
SYS_CLEAR,
SYS_GETCWD,
SYS_OPEN,
SYS_CLOSE,
SYS_LSEEK,
SYS_UNLINK,
SYS_MKDIR,
SYS_OPENDIR,
SYS_CLOSEDIR,
SYS_CHDIR,
SYS_RMDIR,
SYS_READDIR,
SYS_REWINDDIR,
SYS_STAT,
SYS_PS,
SYS_EXECV,
SYS_EXIT,
SYS_WAIT
} SYSCALL_NR;The MayOS sdk's head file is in the include/user and stdio.h string.h. You can write your own program and link with the libMay.a. You can compile it by running ./compile.sh bin.
For Example:
cd ./src/user
./compile ./cat/catThen the cat ELF file will be compiled.
GNU General Public License Version 3