{"by":"st_goliath","descendants":17,"id":35487588,"kids":[35489139,35492091,35491860,35491656,35490825],"score":64,"text":"Yes, this includes the MBR and partition boot sector. The partition table is modeled as a class hierarchy. Second stage loads a kernel from a FAT32 file.<p>I&#x27;m normally a C programmer, but for a work project, I recently revisited C++, a language that I had an on-again-off-again relationship over the years.<p>I did this as a fun training exercise on the side to get familiar with the language again, but obsessed a bit and kind of overshot the target. I thought the result might be of interest to someone.","time":1680905017,"title":"Show HN: A toy bootloader written in C++","type":"story","url":"https://github.com/AgentD/hausboot"}