المشاريع
عرض على GitHub
jzck/kernel-zig
حول
💾 نواة x86 لمشروع هواية مكتوبة بلغة Zig
الأنظمة والبنية التحتيةما يمكنك فعله
- 80x25 frame buffer
- ps2 keyboard driver
- terminal console
- time slice preemption with round robin
النمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلhobby 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/
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…