How manikineko/manios works
ManiOS is an independent i386 operating system spanning a ZKT kernel, Unix-like userspace, networked file and CPU services, ManiDOS/DOS compatibility, and its own graphical desktop. The primary boot-to-use workflow initializes kernel memory, scheduling, devices and filesystems, then provides processes and a shell; users can browse local or remote files, run commands and DOS programs, or start the desktop and GUI applications. The README documents major capabilities not directly sampled; links for those are cited to it rather than implying their source was inspected.
Main entry points: kernel/main.c Kernel startup · vfs.c Virtual filesystem · syscall.c Processes and syscalls · dosrun/main.c DOS emulator
Components 26
Boot and kernel
- Native bootloader
boot/stage2.c - Kernel startup
zkt/kernel/main.c
Kernel services
- Userspace ABI
zkt/abi/zkt_abi.h - Memory management
zkt/mm/heap.h - Thread scheduler
zkt/scheduler/sched.c - Processes and syscalls
zkt/kernel/syscall.c - Device drivers
zkt/drivers/drivers.h
Storage and network
- Virtual filesystem
zkt/fs/vfs.c - FAT filesystem
zkt/fs/fat.c - Network stack
zkt/net/net.h - ZRP client
zkt/net/zrp_client.c - ZRP server
zkt/net/zrp_server.c
Programs and compatibility
- C library
libc/stdio.c - Shell and utilities
userland/bin/sh.c - ManiDOS
userland/dos/main.c - DOS emulator
userland/dosrun/main.c - CPU server
userland/bin/cpud.c
Graphical desktop
- Framebuffer graphics
zkt/drivers/fb.c - 2D graphics library
desktop/libgfx/gfx.c - ManiDE window system
desktop/manide/main.c - Window interface
desktop/libwin/win.c - Widget toolkit
desktop/libui/widgets.c - GUI applications
desktop/apps/files.c
Other components
- Computer operator
- DOS application
- Remote ManiOS host
Connections 31
- Computer operator → Native bootloader: boots system
README.md - Native bootloader → Kernel startup: loads kernel
- Kernel startup → Memory management: initializes
zkt/kernel/main.c - Kernel startup → Thread scheduler: starts
zkt/kernel/main.c - Kernel startup → Device drivers: initializes
zkt/kernel/main.c - Kernel startup → Processes and syscalls: starts userspace
zkt/kernel/main.c - Kernel startup → Network stack: initializes
zkt/kernel/main.c - Kernel startup → Virtual filesystem: initializes
zkt/kernel/main.c - Kernel startup → Framebuffer graphics: initializes
zkt/kernel/main.c - Processes and syscalls → Userspace ABI: implements calls
zkt/abi/zkt_abi.h - Processes and syscalls → Virtual filesystem: serves file calls
- Device drivers → Virtual filesystem: exposes devices
- Virtual filesystem → FAT filesystem: mounts volumes
- Computer operator → Shell and utilities: runs commands
README.md - Shell and utilities → C library: uses library
- Computer operator → ManiDOS: runs DOS
README.md - Computer operator → DOS emulator: starts program
userland/dosrun/main.c - DOS emulator → DOS application: interprets
userland/dosrun/main.c - DOS emulator → ManiDOS: uses drive letters
userland/dosrun/main.c - Computer operator → CPU server: starts service
README.md - Kernel startup → ZRP server: starts server
zkt/kernel/main.c - ZRP client → Network stack: sends UDP requests
zkt/net/zrp_client.c - ZRP client → Remote ManiOS host: requests remote tree
README.md - Remote ManiOS host → ZRP server: serves ZRP
README.md - Computer operator → ManiDE window system: starts desktop
README.md - ManiDE window system → Window interface: uses windows
- ManiDE window system → Framebuffer graphics: composites display
README.md - Window interface → Widget toolkit: hosts widgets
- GUI applications → Widget toolkit: uses toolkit
README.md - GUI applications → Window interface: opens windows
- 2D graphics library → Framebuffer graphics: draws framebuffer