Skip to content

PuppeDevelopment/HeatOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HeatOS

Remember that HeatOS is fully made by Artificial Intelligence.

HeatOS is an ultra-minimalist 32-bit x86 protected-mode operating system written entirely from scratch in C and Assembly. It focuses on clean, comprehensible kernel primitives without any bloat or unnecessary dependencies.

Architecture & Features

The project is structured to implement core OS subsystems functionally and sequentially:

  • Bootloader & Initialization: Custom 16-bit real-mode to 32-bit protected-mode boot sequence.
  • Hardware Interrupts: Custom IDT, GDT, and ISR architectures to handle CPU exceptions gracefully and control hardware interactions (VGA, Keyboard).
  • Memory Management:
    • Physical Memory Management (PMM) using bitmap block tracking mapping available RAM.
    • Virtual Memory / Paging (VMM - planned).
    • Basic kernel heap allocator (kmalloc / kfree).
  • Process Scheduler: Foundational Ring-0 preemptive round-robin process scheduler setup.
  • Storage: ATA Block driver stubs and FAT32 file system parser framework.
  • Networking Core: Bare-metal clean-room TCP/IP Stack (Ethernet, ARP, IPv4, ICMP, UDP, TCP).
  • Security & Web: Scaffolding for abstract Web Application interfaces (DNS, HTTP Client, mbedTLS dummy wrappers).

Building

HeatOS requires nasm (for assembly) and LLVM/clang for compiling the C components. It relies strictly on LLVM's ld.lld and llvm-objcopy for linking and binary conversion.

To build the kernel and generate the OS image on Windows:

build.cmd

This script will output Heatos.img (a bootable floppy image) and optionally Heatos.iso in the build/ directory without requiring Linux cross-compilers.

Running

You can easily run the compiled OS using QEMU:

run.cmd

Contributing

To add features or improve subsystems, explore the src/kernel and src/drivers directories where everything is strictly compartmentalized.

About

Fully AI coded operating system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors