Some practice for writing a OS