Go to file
2019-11-29 02:06:54 -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 working timer interrupt 2019-11-29 01:53:46 -08:00
interrupts.h include guards for interrupt structures 2019-11-28 23:35:54 -08:00
kernel.c removed fluff from kernel.c 2019-11-29 01:55:37 -08:00
kernel.h removed fluff from kernel.c 2019-11-29 01:55:37 -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 working timer interrupt 2019-11-29 01:53:46 -08:00
pit.h working timer interrupt 2019-11-29 01:53:46 -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 removed bug from todos about broken timer interrupt 2019-11-29 01:54:24 -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 working timer interrupt 2019-11-29 01:53:46 -08:00
stlio.h printhex now a thing in stlio 2019-11-29 01:45:30 -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 include guards for types :) 2019-11-29 02:06:54 -08: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)