Skip to content

imgits/COSEC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

the Coolest Operating System Ever Created

I'm kidding :) Seriously, it's just my first effort in writing OS for protected mode of x86. It is quite simple and buggy, you won't see anything great for a long time.

Tools, languages and platform used:

  • gcc 4.5, GNU make;
  • written in C with gas assembly;
  • aimed for i386 CPUs;
  • loaded with GRUB, multiboot specification;

Features:

  • a simplest kernel shell with few built-in commands primarily for debugging;
  • built-in Lua shell with sys module;
  • a subset of libc, heap management;
  • preemptive multitasking demo (two example tasks running concurrently);
  • simplest userspace init and syscalls;
  • posix virtual filesystem (inodes, mountpoints, filelinks), ramfs;
  • processes are work in progress;

Nothing more yet (no paging, no decent userland, no lot of things);

Try it!

You can find a fresh image at https://dmytrish.net/d/cosec.iso

Run:

  • using Qemu: qemu-system-i386 -cdrom cosec.iso;
  • using http://copy.sh/v86 : choose cosec.iso as "CD image" and start emulation;
  • set it as a livecd in a x86 virtual machine of your choice.

Resources

About

the Coolest OS Ever Created

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 74.5%
  • C++ 21.6%
  • Assembly 2.0%
  • Makefile 1.5%
  • Shell 0.4%