Although the title is part of my question, the second part will not be so simple. The first part: let's say I want to create my own operating system. How can I do it? I understand that I need to create a bootloader. But where am I going from there? I would have to send it to another program, but for this, this program should already be there, and I must know exactly where it is in memory. Any tips / tutorials?
Second question. I'm currently studying memory management, and I think I have a theory about the best implementation of the allocation algorithm, but I have no way to really test it, except in theory. As soon as I can create an OS (so this is for future reference), how do I actually interact with main memory and move processes?
PS: Also, should I write my own file system?
Edit: After reading the current comments, I want to review what I said. When I said, βThe second part will not be so simple,β it seems like a bad choice in words. I know that both will be very difficult endeavors, but that does not matter to me. I just like to learn new things. And I didnβt want anyone to write a textbook for me, just to point me in the right direction.
source share