Go to file
2019-11-29 00:46:42 -08:00
iso/boot/grub print_fb(char*) testing and working as intended for now 2019-02-03 17:03:31 -08:00
scripts commit count added to stats script 2019-11-09 14:37:54 -08:00
.gitignore vscode things 2019-11-13 18:05:12 -08:00
.gitlab-ci.yml fixed sytanx in pipeline yml 2019-11-09 14:58:34 -08:00
bochsrc.conf added kprintf and kprintp as random useful things to have 2019-11-09 17:24:41 -08:00
framebuffer.c FIRST (semi)WORKING PASS OF SERIAL DEBUGGING FINALLY!!!!! 2019-10-07 18:51:29 -07:00
framebuffer.h newlines kinda working, multiple newlines are still annoying to do but oh well 2019-10-06 14:44:44 -07:00
gdt_seg.s base working kernel with a gdt that doesn't restart emulator(no idea why this works yet) 2019-10-14 02:06:50 -07:00
gdt.c base working kernel with a gdt that doesn't restart emulator(no idea why this works yet) 2019-10-14 02:06:50 -07:00
gdt.h base working kernel with a gdt that doesn't restart emulator(no idea why this works yet) 2019-10-14 02:06:50 -07:00
interrupt_entry.s irq's functions registered 2019-11-09 00:31:19 -08:00
interrupts.c removed int_keyboard 2019-11-14 17:36:32 -08:00
interrupts.h include guards for interrupt structures 2019-11-28 23:35:54 -08:00
kernel.c base for pit initialization(not 2019-11-09 19:02:47 -08:00
kernel.h added kprintf and kprintp as random useful things to have 2019-11-09 17:24:41 -08:00
LICENSE Add LICENSE 2018-12-08 09:10:40 +00:00
link.ld first thingy 2018-11-29 20:47:13 -08:00
loader.s kmain no longer hangs on return 2019-11-09 18:19:22 -08:00
makefile removing for now because of circular dep chain 2019-11-14 17:34:41 -08:00
mem.c moving strictly memory based utils to their own module for clarity sake 2019-10-14 14:02:21 -07:00
mem.h moving strictly memory based utils to their own module for clarity sake 2019-10-14 14:02:21 -07:00
pit.c timer wait behavior is really fucked and debugging this is an awful pain so juust check todos 2019-11-29 00:46:42 -08:00
pit.h timer wait behavior is really fucked and debugging this is an awful pain so juust check todos 2019-11-29 00:46:42 -08:00
ports.h FIRST (semi)WORKING PASS OF SERIAL DEBUGGING FINALLY!!!!! 2019-10-07 18:51:29 -07:00
ports.s reduced complexity on master branch for now as i setup for gdt things 2019-10-09 15:26:54 -07:00
readme.md updated bugs list 2019-11-09 19:02:52 -08:00
serial.c Adding keyboard interrupt handler 2019-10-27 20:27:46 -07:00
serial.h Adding keyboard interrupt handler 2019-10-27 20:27:46 -07:00
stlio.c commiting for now as i've drawn a blank 2019-11-14 16:41:10 -08:00
stlio.h commiting for now as i've drawn a blank 2019-11-14 16:41:10 -08:00
tests.c moved breakpoint to kmain to track interrupt problems 2019-11-05 17:44:03 -08:00
tests.h moved breakpoint to kmain to track interrupt problems 2019-11-05 17:44:03 -08:00
types.h added proper type names for clarity/sanity sake 2019-09-15 18:28:01 -07:00

JankOS

Download a bootable usb here

The best operating system you've ever laid eyes on. It's so good that barely does anything at all.

JankOS serves the purpose of an experiment in learning. Personally I'm unsatisfied with accepting an idea; I want to garner an intuition for the inner workings of an idea.

Done & Dusted

  • GDT Initialization - now ready to take steps to move to user mode

  • IDT Initialization - interrupt callbacks aren't firing but the table is initialized

Todo/Roadmap

  • Fixing Interrupt handlers - IRQ's now need to be implemented

  • Memory allocator

  • Paging will likely come before the allocator: If segmentation isn't being done then paging will be part of the roadmap(most likely)

Bugs

  • serial::serial_write(const char*, const u64) doesn't always write all the required data nor does it properly deal with the FIFO queue associated with the COM1 port.

  • stlio::printf still isn't feature complete

  • tests::* could always use more tests to cover as much of the code base as possible.

  • Interrupts will often refire over and over again for no discernable reason(tested with Divide by Zero so far)