Commit graph

25 commits

Author SHA1 Message Date
06d63769ad Updated Makefile 2026-09-18 20:38:22 +02:00
0727a2c1d4 fix: backspace behavior 2026-09-18 20:38:04 +02:00
a60338054a Added missing vectors 2026-09-18 20:32:05 +02:00
830613ccb6 Added missing vectors 2026-09-18 20:31:46 +02:00
29c79f20c2 Nadir x86 port I/O primitives 2026-09-18 20:30:26 +02:00
5d5f89d08e Nadir PS/2 keyboard driver 2026-09-18 20:29:30 +02:00
b1b78bb5b9 Nadir 8259 PIC driver 2026-09-18 20:26:10 +02:00
6ee1900c1a Nadir 8254 PIT timer driver 2026-09-18 20:21:25 +02:00
47e83cf795 Nadir serial COM1 polling driver 2026-09-18 20:17:35 +02:00
Pierre-Emmanuel Gob.
7ee953925a
Merge pull request #2 from Plexi09/feature/idt-base
Installs an exceptions-only IDT base: 32 CPU-exception gates (interrupt gates, DPL 0, selector 0x18) with NASM stubs + a C exception_handler that prints vector/error/RIP/CS/RFLAGS and halts. kmain calls idt_init() early, so faults print diagnostics instead of triple-faulting. PIC remap + IRQs are intentionally left for a follow-up
2026-09-18 12:17:01 +02:00
5df4353d40 Wire IDT objects into Makefile 2026-09-18 12:05:21 +02:00
13f38eb739 IDT base: 32 CPU-exception gates + fault printer 2026-09-18 12:04:19 +02:00
d4b9c8763d Include idt_init 2026-09-18 12:03:06 +02:00
e95bdb55cd exception stubs 2026-09-18 12:02:27 +02:00
a8d11e5a35 Wrote Nadir interrupt IDT + CPU exception entry points 2026-09-18 12:01:24 +02:00
c002e8b250 Removed uneccesary documentation 2026-09-18 11:17:27 +02:00
577d28cd2e Added documentation to console.c 2026-09-17 22:44:16 +02:00
Pierre-Emmanuel Gob.
8c46ac48d9
Merge pull request #1 from Plexi09/boot-to-c
Makes the main bootloader functional. Instead of a real mode "hello world" sector, the boot chain now loads the kernel from disk, switches through 32-bi protected mode into 64-bit long mode, and runs C code (kmain) that prints to the VGA console and halts. Old root boot.asm removed and replaced by kernel/arch/x86_64/boot.asm.
2026-09-17 22:25:08 +02:00
2b81747922 Align CI and docs with nadir.img artifact name 2026-09-17 22:20:34 +02:00
7d736cd76d Boot to C in 64-bit long mode 2026-09-17 22:07:47 +02:00
53f1295927 Added .github 2026-09-17 21:26:55 +02:00
7f91a9586a Added contributing reglementation 2026-09-17 21:14:45 +02:00
7990a5396b Changed the boot message 2026-09-17 21:14:23 +02:00
398f0b9881 Added license details 2026-09-17 21:00:30 +02:00
8b9c578e8f Initial commit 2026-09-17 20:53:27 +02:00