Writing Embedded Os Applications