28 Commits

Author SHA1 Message Date
8a18cf5633 ... 2025-06-15 16:03:47 -04:00
2ec3e259d8 cleans up idt.h and idt.c 2025-06-13 13:12:05 -04:00
99a842df7e cleans up a bit, adds a pmm panic 2025-06-13 12:58:50 -04:00
779680987f adds a little bit of memory protection 2025-06-13 12:53:35 -04:00
45c167568c allocin'g actually works now, but we can free random pointers... weird 2025-06-13 12:39:19 -04:00
7669ea32a4 implements a physical memory manager... sort of, it gives an out of mem error, and variable are setting incorrectly 2025-06-11 20:36:30 -04:00
98f8a0dc88 implements first free mem block 2025-06-11 17:41:35 -04:00
f216c32f22 idk we're trying out pmm 2025-06-11 17:33:42 -04:00
920d0b01e1 paging is now enabled with __shaky__ code 2025-06-09 21:01:17 -04:00
83b6a9eaf2 gets the memory map from GRUB 2025-06-09 17:44:50 -04:00
f1515ad7b5 some work with PCI, updated my TODO 2025-06-09 17:02:46 -04:00
ac3dc4d48a implements the PIT 2025-06-08 13:22:09 -04:00
f9c2ea2f2b Does a lot of work towards the PIT
Added a math library, with clamp and POW.
added printf support for printing doubles
added a few helper functions in PIT for calcaulting the time in seconds of a clock cycle based on divisor
2025-06-06 22:01:18 -04:00
af92026a74 Okay wow i forgot to commit a bunch of stuff
I added some work on a keyboard driver here
also changed the emulation system, since bochs was giving me headaches when it came to keyboard input
added some todo stuff.. probably some cleanup, idk
2025-06-03 19:08:45 -04:00
3ffb3aa181 some cleanup from debugging and todos 2025-06-01 21:00:26 -04:00
4c938a0855 holy crap im an idiot, i was getting constatnt gpf because i forgot to pop the stack 2025-06-01 20:57:12 -04:00
ecc91fdc7d fixes issue with exceptions (im dumb) 2025-06-01 20:24:05 -04:00
c50d3f14a6 progress? 2025-05-31 20:28:00 -04:00
013b5a557e i need a break 2025-05-30 18:58:45 -04:00
f8c38d22b0 some finishing touches to printf 2025-05-30 15:20:02 -04:00
47056f7d9a adds a utility to dump the gdt, adds serial printing for printf in testing 2025-05-30 13:49:37 -04:00
ee2c5a72a1 adds some more data types for printf, and moves gdt_init to a different file 2025-05-30 13:32:52 -04:00
c115dcd4f7 implements integer printing into printf, and adds some testing logs 2025-05-30 13:19:22 -04:00
0256466f4c sets up the PIC 2025-05-30 12:14:52 -04:00
e87e6e3871 adds an idt 2025-05-29 11:33:40 -04:00
bdd20608fa small gdt fix 2025-05-29 10:23:06 -04:00
afcf0bea09 reimplements the gdt 2025-05-29 10:17:18 -04:00
e4f160e8b6 reimplmenets the previous iteration with a brand new custom build system 2025-05-29 10:00:38 -04:00