SamFlynnOS is a project mainly written in C, it's free.
OS design for CS477
SamFlynnOS README
This is a project OS for CS 475. It's purpose is to have fun and learn something.
Emulator of choice: bochs: http://bochs.sourceforge.net/