How encrize/fukos works
fukOS is a freestanding i686 operating system whose user-facing path runs from keyboard input through the shell to filesystem commands, built-in applications, or external FUK programs. It also integrates Doom Generic, with gameplay, graphics, and persistent saves, alongside storage and hardware services. The README documents the major capabilities; source excerpts and the index support selected module links, but many subsystem implementations were not sampled, so uncertain internal calls are omitted.
Main entry points: shell.c Shell · app.c FUK1 virtual machine · fat.c FAT filesystem · g_game.c Game simulation
Components 20
User interaction
- Shell
kernel/shell.c - Framebuffer console
kernel/console.c - Keyboard input
kernel/keyboard.c
Storage and media
- FAT filesystem
kernel/fat.c - ATA PIO
kernel/ata.c - USB mass storage
kernel/xhci.c
Applications
- FUK1 virtual machine
kernel/app.c - FUK parser
kernel/fuk_parse.c - FUK labels
kernel/fuk_labels.c - Image viewer
kernel/image.c
Doom runtime
- Doom kernel port
doom/doomgeneric.c - Doom startup loop
doom/d_main.c - Game simulation
doom/g_game.c - Doom renderer
doom/r_main.c - Doom savegame
doom/p_saveg.c
Kernel platform
- Kernel heap
kernel/heap.c - HDA audio
kernel/hda.c - Multiboot2 setup
kernel/multiboot2.c - Framebuffer driver
kernel/framebuffer.c
Other components
- User
Connections 21
- User → Keyboard input: provides input
- Keyboard input → Shell: drives commands
- Shell → Framebuffer console: renders interface
- Shell → FAT filesystem: runs file commands
- Shell → FUK1 virtual machine: starts apps
- FUK1 virtual machine → FAT filesystem: loads app files
kernel/app.c - FUK1 virtual machine → FUK parser: parses instructions
kernel/app.c - FUK1 virtual machine → FUK labels: uses labels
kernel/app.c - FUK1 virtual machine → Framebuffer console: prints output
kernel/app.c - FUK1 virtual machine → Kernel heap: allocates memory
kernel/app.c - Shell → Image viewer: opens images
- Shell → HDA audio: controls playback
- Shell → Doom kernel port: launches Doom
- Doom kernel port → Doom startup loop: enters engine
- Doom startup loop → Game simulation: runs gameplay
doom/d_main.c - Game simulation → Doom renderer: updates display
- Game simulation → Doom savegame: loads and saves
- Doom savegame → FAT filesystem: persists save files
- FAT filesystem → ATA PIO: uses ATA storage
kernel/fat.c - FAT filesystem → USB mass storage: uses USB storage
kernel/fat.c - Multiboot2 setup → Framebuffer driver: sets graphics