How satanacio666/neo-os works
NeoOS is a bare-metal AArch64, single-address-space operating system booted through UEFI. The main path is UEFI startup and display/memory setup, followed by kernel services and the interactive HolyC environment; users can run scripts, use the filesystem, and interact with the graphical desktop and 3D renderer. The graph also preserves documented SMP, scheduling, and hardware-driver capabilities. Some subsystems are represented from README claims and source-tree paths; their internal wiring is omitted where sampled evidence does not show it.
Main entry points: main.c UEFI bootstrap · render.c 2D canvas and DolDoc · gfx_backend.c Graphics backend · kheap.c Kernel heap
Components 23
Boot and kernel
- UEFI bootstrap
boot/main.c - AArch64 platform
kernel/arch/aarch64/hal_platform.c - Kernel heap
kernel/mem/kheap.c - Symbol registry
kernel/symbols/symbols.c - Core startup
kernel/arch/aarch64/smp.c - Task scheduler
kernel/sched/sched.c
Language and storage
- HolyC JIT
compiler/jit_arm64.c - HolyC lexer
compiler/lexer.c - VirtIO block driver
drivers/block/virtio_blk.c - RedSea filesystem
fs/redsea.c
Desktop and input
- Interactive shell
gui/shell.c - Window manager
gui/wm.c - VirtIO input
drivers/input/virtio_input.c - Mouse handling
drivers/input/mouse.c
Graphics and compute
- 2D canvas and DolDoc
gui/render.c - Graphics backend
drivers/gpu/gfx_backend.c - VirtIO GPU driver
drivers/gpu/virtio_gpu.c - 3D transform and render
kernel/math/math3d.c - Tile rasterizer
kernel/math/raster_tile.c - HolyGL engine
kernel/math/holygl.c
Other components
- UEFI firmware
- GOP framebuffer
- Operator
Connections 43
- UEFI firmware → UEFI bootstrap: starts
- UEFI bootstrap → AArch64 platform: initializes
boot/main.c - UEFI bootstrap → Kernel heap: initializes
boot/main.c - UEFI bootstrap → Symbol registry: uses
boot/main.c - UEFI bootstrap → HolyC JIT: loads runtime
boot/main.c - UEFI bootstrap → VirtIO block driver: uses
boot/main.c - UEFI bootstrap → RedSea filesystem: uses
boot/main.c - UEFI bootstrap → GOP framebuffer: sets GOP mode
boot/main.c - HolyC JIT → HolyC lexer: parses with
compiler/jit_arm64.c - HolyC JIT → Kernel heap: allocates via
compiler/jit_arm64.c - HolyC JIT → Symbol registry: resolves names
compiler/jit_arm64.c - HolyC lexer → Kernel heap: allocates via
compiler/lexer.c - HolyC lexer → Symbol registry: resolves names
compiler/lexer.c - RedSea filesystem → VirtIO block driver: reads and writes
fs/redsea.c - RedSea filesystem → Kernel heap: allocates via
fs/redsea.c - RedSea filesystem → Symbol registry: registers commands
fs/redsea.c - VirtIO input → Mouse handling: updates position
drivers/input/virtio_input.c - VirtIO input → VirtIO block driver: uses queue definitions
drivers/input/virtio_input.c - Mouse handling → 2D canvas and DolDoc: uses canvas
drivers/input/mouse.c - Graphics backend → 2D canvas and DolDoc: uses canvas
drivers/gpu/gfx_backend.c - Graphics backend → Window manager: creates config window
drivers/gpu/gfx_backend.c - Graphics backend → Tile rasterizer: uses rasterizer
drivers/gpu/gfx_backend.c - VirtIO GPU driver → Graphics backend: uses backend
drivers/gpu/virtio_gpu.c - VirtIO GPU driver → VirtIO block driver: uses VirtIO definitions
drivers/gpu/virtio_gpu.c - 3D transform and render → 2D canvas and DolDoc: draws to
kernel/math/math3d.c - 3D transform and render → Core startup: dispatches transforms
kernel/math/math3d.c - Tile rasterizer → Core startup: uses core interface
kernel/math/raster_tile.c - Tile rasterizer → Graphics backend: uses backend interface
kernel/math/raster_tile.c - Tile rasterizer → 2D canvas and DolDoc: uses canvas
kernel/math/raster_tile.c - 2D canvas and DolDoc → Graphics backend: presents through
gui/render.c - 2D canvas and DolDoc → Kernel heap: allocates via
gui/render.c - Core startup → 2D canvas and DolDoc: reports through
kernel/arch/aarch64/smp.c - Core startup → Symbol registry: uses registry
kernel/arch/aarch64/smp.c - Task scheduler → Kernel heap: allocates via
kernel/sched/sched.c - Task scheduler → 2D canvas and DolDoc: reports through
kernel/sched/sched.c - Task scheduler → Core startup: uses core interface
kernel/sched/sched.c - Operator → Interactive shell: interacts with
- Interactive shell → HolyC JIT: runs scripts
- Interactive shell → RedSea filesystem: uses filesystem
- Operator → Window manager: operates desktop
- Window manager → 2D canvas and DolDoc: renders windows
- HolyGL engine → 3D transform and render: uses 3D pipeline
- Graphics backend → VirtIO GPU driver: optional hardware scanout