Comment by planck_tonne
16 hours ago
Hi, congratulations! You must be feeling proud. Nice choice of proof of concept (DOOM).
Sorry to disappoint you but all I have are some noob questions.
What would be the steps to run this on a laptop? I take it that after building it there would be a process similar to, say, setting up dual-boot in a Windows PC? (Whoa I'm asking a stranger on the Internet how to run dangerous software on my computer...)
If one wanted to undertake such a project, do you have any recommendations of textbooks or other reading material? I had some OS & related courses in university (I'm EE, so computer-adjacent), but they were all very abstract / high level / conceptually-focused. I'd love something more concrete. It doesn't have to be x64.
Not disappointed at all to answer! Running it on my laptop was literally just formatting a USB with the ISO and booting from the USB.
I would recommend checking out https://osdev.wiki to start out if you want to write a kernel, as well as reading relevant specifications (such as Intel Developer Manual and the specs for any drivers you write). I don't really know much about non-x86 kernel dev but most of the concepts are the same as far as I know, just different technical implementations. There's a link to a discord server on the project's readme, there are some very smart people in there who I'm sure would be more than happy to help you out.
I wrote a kernel as well (not complete yet), and I documented all the steps I'm taking. A lot of people found it useful: https://0xc0ffee.netlify.app/osdev
[flagged]
Not being upvoted to the top doesn't mean downvoted. Your negativity is baseless.
The funny thing about meta comments is that they can change the status quo that they're commenting on (that is, in fact, part of their purpose), and once they've made the change they seem pointless to those who come later.
At the time of commenting this comment was totally grayed out at the bottom. That's a pretty dour welcome for a new user to a community that's ostensibly interested in anything that gratifies curiosity.
2 replies →