Commit Graph

36 Commits

Author SHA1 Message Date
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
a776376403 adds some more io commnads; starts work on a PCI driver 2025-06-08 18:22:22 -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
378f7ef23d adds some more exception stuff 2025-06-06 12:58:54 -04:00
1e1a28e23d starts work on the PIT 2025-06-06 12:47:02 -04:00
3e01dc2074 massive overhaul to my exception system 2025-06-05 20:28:17 -04:00
79f04df82e my exception handler sucked so i redid it 2025-06-05 17:32:38 -04:00
87e5e06142 adds some debug flags for GDB support 2025-06-04 17:34:54 -04:00
e471564f89 cleaned up some log messages, polished up the kb driver a bit, etc 2025-06-03 20:51:25 -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
ca77157344 adds a queue library, work for keyb driver 2025-06-02 10:35:57 -04:00
0fc2e6a199 half assed keyboard driver yippegit add .git add .git add .git add .git add .git add .git add .git add .git add .git add .git add .git add .! 2025-06-01 23:58:23 -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
89c02d6a93 adds some comments, fixes a few tiny bugs 2025-05-31 20:50:47 -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
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
b87738ca47 removes the stupid testing line i left in here 2025-05-30 10:31:54 -04:00
e87e6e3871 adds an idt 2025-05-29 11:33:40 -04:00
afcf0bea09 reimplements the gdt 2025-05-29 10:17:18 -04:00
9b980767d7 cleans up the arch folder some 2025-05-29 10:07:31 -04:00
e4f160e8b6 reimplmenets the previous iteration with a brand new custom build system 2025-05-29 10:00:38 -04:00