ํ๋ก์ ํธ
GitHub์์ ๋ณด๊ธฐ
jzck/kernel-zig
์๊ฐ
๐พ Zig์ผ๋ก ์์ฑํ ์ทจ๋ฏธ์ฉ x86 ์ปค๋
์์คํ ๋ฐ ์ธํ๋ผWhat you can do
- 80x25 frame buffer
- ps2 keyboard driver
- terminal console
- time slice preemption with round robin
์ธก์ ๋ ์คํ ์ฆ๊ฐ
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- ๊ธฐ๋ก ์์ง ์ค
์๋ก ๊ฒน์น๋ ๊ธฐ๊ฐ์ ์์ฆ๊ฐ๋์ด๋ฉฐ ์ผ๋ณ ํฉ๊ณ๊ฐ ์๋๋๋ค. ์ธก์ ๊ฐ์ด ์์ผ๋ฉด ๋น์ ๋ก๋๋ค. ์คํ๋ ๊ด์ฌ๋๋ฅผ ๋ํ๋ด๋ฉฐ ํ์ง์ ๋ณด์ฅํ์ง ์์ต๋๋ค.
README.md
Originalhobby kernel in zig
WARNING: this project was written for zig 0.5, it doesn't compile for future versions

features
- 80x25 frame buffer
- ps2 keyboard driver
- terminal console
- lspci
- x86
- MMU
- interrupts
- pit timer
- scheduler
- time slice preemption with round robin
- sleep()
- block()/unblock()
- Storage
- IDE ATA driver (in progress)
dependencies
- ziglang 0.5.0
compiling
zig build compiles and links the multiboot kernel (without a bootloader)
running
./qemu.sh start./qemu.sh monitor./qemu.sh quitgdb(see provided.gdbinit)
Notes
interrupt call chain
interrupt -> idt[n] -> isrN -> isrDispatch -> handlers[n] (default unhandled())
References
- zig microkernel: https://github.com/AndreaOrru/zen
- scheduling tutorial: https://wiki.osdev.org/Brendan%27s_Multi-tasking_Tutorial
- booting/paging/interrupts: https://os.phil-opp.com/
๊ด๋ จ ํ๋ก์ ํธ ์ดํด๋ณด๊ธฐ
๋ถ๋ฌ์ค๋ ์คโฆ