How kierasword/nevos works
NevOS is a small x86_32 protected-mode kernel and OS. The visible startup path initializes FAT and the RTC, loads program.nxe, and enters user mode; the kernel also exposes syscall dispatch and exception handlers, console/key input, and FAT file operations. Most behavior is implemented together in src/kernel.c, so nodes separate its responsibilities rather than imply separate modules. The excerpts do not show boot assembly or the program’s relationship to the loaded executable, so those links are omitted or marked unverified.
Main entry points: kernel.c Kernel startup · boot.asm Boot entry
Components 11
Kernel startup
- Boot entry
src/boot.asm - Kernel startup
src/kernel.c - User-mode launch
src/kernel.c
Kernel services
- Syscall dispatch
src/kernel.c - Exception handling
src/kernel.c - Console I/O
src/kernel.c - Keyboard input
src/kernel.c
Storage and devices
- FAT filesystem
src/kernel.c - Sector I/O
src/kernel.c - RTC timekeeping
src/kernel.c
Other components
- x86 hardware
Connections 13
- Boot entry → Kernel startup: enters
- Kernel startup → FAT filesystem: mounts
src/kernel.c - Kernel startup → RTC timekeeping: reads clock
src/kernel.c - Kernel startup → FAT filesystem: loads program
src/kernel.c - Kernel startup → User-mode launch: enters user mode
src/kernel.c - Syscall dispatch → FAT filesystem: dispatches file calls
src/kernel.c - Syscall dispatch → RTC timekeeping: dispatches time call
src/kernel.c - Exception handling → Console I/O: reports faults
src/kernel.c - Kernel startup → Sector I/O: reads sectors
src/kernel.c - FAT filesystem → Sector I/O: reads and writes
src/kernel.c - Console I/O → x86 hardware: writes display or serial
src/kernel.c - Keyboard input → x86 hardware: reads input
src/kernel.c - RTC timekeeping → x86 hardware: reads registers
src/kernel.c