Do you have any prior experience of programmng language? because what you are tryig to achieve is not a simple stuff. It requires indepth knowldege of hardware as well as OS and not to mention about programming language.