Skip to content
/ cOS Public

First attempt at making an os from scratch in C

License

Notifications You must be signed in to change notification settings

Eleczoo/cOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COS, Operating System made in C

Simple x86 operating system written in c and tested on qemu.

Demo

These are simple demos showing:

  • Show custom colored text
  • Write text with keyboard
  • Get real time user input with keyboard interrupts (No polling).
  • Manage precise timings by using hardware timer.

Boot logo and keyboard input

Docs/assets/demo_logo.gif

Basic Pong game

Docs/assets/demo_logo.gif

How to run

Install tools

sudo pacman -S make nasm qemu mtools
sudo apt-get install make nasm qemu mtools 
sudo dnf install make nasm qemu mtools

Build the cross-compiling toolchain

sudo bash scripts/setup-gcc-arch.sh

You might need to add the toolchain to the path if you're not using the bash shell

Compile and run

make
make run

About

First attempt at making an os from scratch in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published