Skip to content

patrickanguyen/patOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

patOS

patOS is a hobbyist, educational, 32-bit operating system, implemented in C99 and x86 Assembly.

picture

Building and Running from Source

At the moment, patOS is built using a GCC cross-complier as described at OSDev.org GCC Cross-Complier page. After creating a GCC cross-complier, change the path for the complier and linker in the Makefile, then use make to build all the files.

After building all the files, you can use then make run to emulate patOS by using QEMU, a generic and open source machine emulator and virtualizer.

If ever needed, all the object files can be cleaned up using the make clean command.

Goals

  • Boot loader
  • GDT
  • 32-bit Protected Mode
  • VGA Driver
  • ISR
  • CPU Timer
  • Keyboard Driver
  • Basic Shell
  • Dynamic Memory
  • File System
  • User Mode
  • Multi-tasking

Helpful Resources

License

This repository is licensed under the MIT License