Unix-like "operating system" in TypeScript and HTML.
npm i
npm run dev
src/kernel/boot.ts
From there you will be able to read nearly all important code and analyze it.
Go into src/lib/libsys.ts
and look at Syscalls
interface and export const syscalls: Syscalls
. Add your own syscall then go to kernel/syscall.ts
and write the implementation.
Create one in base
based on sysinit
or hosh
programs and write it onto the filesystem using functions in src/kernel/boot.ts
.