How bayusetiawan42/appia works
This is a small bare-metal x86 kernel. Its demonstrated runtime workflow is kernel entry code calling KMain, which clears the VGA text screen and prints text; the console writes video memory and uses port I/O to manage the cursor. The tree also includes boot, disk, GDT, mode-switching, and boot-print assembly modules, but their contents and wiring were not sampled, so their relationships are omitted.
Main entry points: vgaconsole.c VGA Console · kernel.c Kernel Main · ports.c Port I/O · kernel_entry.asm Kernel Entry
Components 12
Boot Assembly
- Boot
boot/boot.asm - Disk Access
boot/disk.asm - GDT Setup
boot/gdt.asm - Kernel Entry
boot/kernel_entry.asm - Boot Printing
boot/print.asm - 32-bit Switch
boot/switch32.asm
Kernel
- Kernel Main
kernel/kernel.c
Hardware Drivers
- VGA Console
drivers/vgaconsole.c - Port I/O
drivers/ports.c
Other components
- Machine
- VGA Text Memory
- I/O Hardware
Connections 5
- Kernel Entry → Kernel Main: enters
- Kernel Main → VGA Console: calls
- VGA Console → Port I/O: cursor I/O
- VGA Console → VGA Text Memory: writes
- Port I/O → I/O Hardware: reads/writes