How frednora/gramado works
Gramado is an operating system with a kernel, bootloader, system services, and a desktop environment. The principal user-facing path is boot into the OS, start the init process, launch the window system and desktop applications, then interact through windows, a taskbar, or a terminal. The tree also shows distinct filesystem, device, networking, and graphics subsystems. Relationships are limited to those visible in excerpts or explicitly documented in the README; some likely subsystem interactions remain unverified.
Main entry points: src/main.c Init Process · eng00/main.c Window Server · kmain.c Kernel Entry · fs.c Filesystem
Components 21
Boot
- x86 Bootloader
core/boot/arch/x86/bsp/blgram/bl.h
Kernel Services
- Init Process
core/sysd/src/main.c - Kernel Entry
core/castleos/garden/entry/kmain.c - Scheduling
core/castleos/halls/dev/exec/ke/intake/sched/sched.c - Memory Management
core/castleos/halls/dev/req/mm/mm.c - Filesystem
core/castleos/gthouse/fs/fs.c - Virtual Filesystem
core/castleos/gthouse/fs/vfs.c
Hardware
- Block Storage
core/castleos/halls/dev/per/blkdev/storage.c - VGA Driver
core/modules/servers/vgad/src/main.c
Networking
- Network Stack
core/castleos/gthouse/net/net.c - HTTP Services
core/castleos/gthouse/gramnet/http.c - Network Daemon
core/modules/servers/network/netd/server/main.c
Desktop Environment
- Compositor
gramde/winsys/comp00/src/main.c - Window Server
gramde/velo3d/eng00/main.c - Desktop
gramde/shell/winshell/desktop/main.c - Taskbar
gramde/shell/winshell/taskbar/main.c - Terminal
gramde/shell/winshell/terminal/main.c - Command Shell
gramde/cmds/cmds00/shellxxx/main.c - GUI Applications
gramde/shell/winapps/calc/main.c - 3D Demo
gramde/velo3d/eng00/main.c
Other components
- User
Connections 15
- x86 Bootloader → Kernel Entry: starts kernel
- Kernel Entry → Init Process: starts init
- Init Process → Compositor: launches
core/sysd/src/main.c - User → Desktop: uses desktop
README.md - User → Terminal: uses terminal
- Taskbar → GUI Applications: launches app
gramde/shell/winshell/taskbar/main.c - Terminal → Window Server: connects to display
gramde/shell/winshell/terminal/main.c - Command Shell → User: accepts commands
- Init Process → Window Server: starts demo server
gramde/velo3d/eng00/main.c - Filesystem → Virtual Filesystem: uses filesystem layer
- Network Daemon → Network Stack: uses network stack
- HTTP Services → Network Stack: uses network services
- Block Storage → Filesystem: backs filesystem
- VGA Driver → Compositor: provides display
- 3D Demo → Window Server: uses window system
gramde/velo3d/eng00/main.c