Skip to content
💾 hobby x86 kernel zig
Zig Assembly Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore first commit May 10, 2019
README.md
build.zig changes imports again... Aug 23, 2019
grub.sh multiboot is fixed but using multiboot v1 for now, should work fine, … Jun 25, 2019
qemu.sh

README.md

hobby kernel in zig

slowly porting from rust.

features

  • vga frame buffer
  • ps2 keyboard driver
  • interrupts
  • terminal console
  • lspci

dependencies

zig compiler

compile

zig build compiles and links the multiboot kernel, without a bootloader.

test

./qemu.sh start
./qemu.sh monitor
./qemu.sh gdb

Notes

interrupts

interrupt -> idt[n] -> isrN -> isrDispatch -> handlers[n] (default unhandled())

layout

0->4Mib kernel reserved 1Mib interrupt stack

You can’t perform that action at this time.