Skip to content

punixcorn/potato-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shitty OS (Learning Kernel)

Small educational x86 kernel with a minimal syscall layer, basic ELF loading, a RAM-backed filesystem, and a simple TTY.

Boot 1 Boot 2

Highlights

  • 32-bit freestanding kernel
  • GDT/IDT setup with timer and keyboard IRQs
  • Syscalls: write/read/getchar/malloc/exec/exit
  • ELF loader for basic binaries
  • RAM filesystem for embedded files
  • Simple interactive TTY

Build and Run

make
make run

Project Layout

  • bootloader/ - Boot code and multiboot setup
  • kernel/ - Core kernel code, drivers, syscalls, and TTY
  • config/ - Linker script and GRUB config
  • build/ - Build outputs
  • iso/ - Bootable ISO staging
  • assets/ - Screenshots for README

Notes

  • This is a learning project. Expect rough edges and missing safety features.
  • ELF programs run in kernel mode; no user mode or paging yet.

Next Ideas

  • Process model and basic scheduler
  • Page tables and memory isolation
  • Real disk driver (ATA) with a simple on-disk FS

About

a simple toy os project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors