Skip to content

matja/utx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple multiboot-compliant kernel I was working on to develop my knowledge of low-level x86 hardware.

Build with make in the base directory, which outputs a bootable .iso image which can be started via qemu-system-x86_64 -cdrom output/livecd.iso -m 16.

The screen is initialise to VGA 80x50 text mode, interrupt handlers are setup and the PIT is programmed to 100Hz operation (ready for task switching ... one day). The interrupt count is shown, as well as the devices on the PCI bus - which tends to be rather sparse on virtual hardware, real hardware shows a lot more.

I've implemented a multi-boot header, so multi-boot compliant bootloaders such as GRUB can start the kernel directly. Simple PIC, PIT, exception, GDT setup is done, so that hardware IRQ's are handled. I've started on PCI bus enumeration to detect hardware but the output of that is not used yet.

About

Bootable 'kernel' for x86 hardware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published