Bootstrap yourself to write an OS from scratch. A book for self-learner.
Operating_Systems_From_0_to_1.pdf