A simple kernel. Porting to Zig 0.14 in progress.
Find a file
Edward Dean bee7416b08 Feature/hello world kernel land, closes #3 (#4)
* prints hello world

* Builds with the zig build system
2019-04-17 17:40:26 +01:00
src Feature/hello world kernel land, closes #3 (#4) 2019-04-17 17:40:26 +01:00
.gitignore Feature/hello world kernel land, closes #3 (#4) 2019-04-17 17:40:26 +01:00
build.zig Feature/hello world kernel land, closes #3 (#4) 2019-04-17 17:40:26 +01:00
link.ld Feature/hello world kernel land, closes #3 (#4) 2019-04-17 17:40:26 +01:00
README.md Feature/hello world kernel land, closes #3 (#4) 2019-04-17 17:40:26 +01:00

Compile: zig build-exe kmain.zig -target i386-freestanding --linker-script link.ld

Run: qemu-system-i386 -kernel kmain -curses

To exit qemu: Esc + 2, type quit