How sussyback99/bitos works
BitOS is a small freestanding 32-bit graphical OS. Its user workflow is keyboard input, command parsing, and text output on a VGA console; internally, the kernel waits for keyboard interrupts and dispatches scancodes to input handling. The README documents the boot and protected-mode transition, while the excerpt shows the kernel input, parser, and drawing calls. Some implementation details are unsampled, so documented relationships are cited to the README and unverified links are omitted.
Main entry points: kernel.cpp Kernel Main · boot.asm Boot Loader
Components 13
Boot
- Boot Loader
boot.asm
Kernel Input
- Kernel Main
kernel.cpp - IDT / IRQ1
kernel.cpp - Key Handler
kernel.cpp
Console
- Command Parser
kernel.cpp - Console Output
kernel.cpp - Console Interface
kernel.cpp - Text Renderer
kernel.cpp - Glyph Drawing
kernel.cpp - Pixel Primitives
kernel.cpp
Other components
- User
- Keyboard
- VGA Memory
Connections 15
- Boot Loader → Kernel Main: loads kernel
README.md - Keyboard → IDT / IRQ1: raises IRQ1
README.md - IDT / IRQ1 → Key Handler: dispatches
README.md - Kernel Main → IDT / IRQ1: waits for IRQ
README.md - Kernel Main → Key Handler: processes scancode
kernel.cpp - User → Keyboard: enters keys
README.md - Key Handler → Command Parser: executes command
kernel.cpp - Key Handler → Console Output: prints input
kernel.cpp - Command Parser → Console Output: prints text
kernel.cpp - Kernel Main → Console Interface: draws interface
README.md - Console Output → Text Renderer: renders text
kernel.cpp - Console Interface → Text Renderer: draws labels
kernel.cpp - Text Renderer → Glyph Drawing: draws glyphs
kernel.cpp - Glyph Drawing → Pixel Primitives: uses primitives
kernel.cpp - Pixel Primitives → VGA Memory: writes pixels
README.md