Skip to content

San7o/povOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

povOS
=====

x86_64 operating system.

Author:  Giovanni Santini
Mail:    giovanni.santini@proton.me
License: MIT


Features
--------

- custom bootloader
- custom standard library
- GDT and paging
- drivers:
  - ps2
  - uart
  - vga
  - pic
  - keyboard
- kernel:
  - IDT and ISR
  - input (supports multiple keyboard layouts)
  - textbuffer
  - console
  - tty

The implementation is clean and readable, headers = documentation.


The boot sequence
-----------------

The BIOS boot sequence for x86_64 looks like this:

 - CPU starts executing in 16-bit real mode, with BIOS access
 - Use the bios to load the rest of the bootloader
 - Setup and load the GDT with a flat memory layout
 - Go to protected mode
 - Enable the A20 line
 - Setup GDT again
 - Setup the page table
 - Enable long mode
 - Call the main routine

About

x86_64 bootloader and operating system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published