Answer the question
In order to leave comments, you need to log in
How to create an OS in C (For practice)?
I did it on asma, but it turned out to be a difficult boot file with not great opportunities, so I think it might be easier in C
Answer the question
In order to leave comments, you need to log in
In C it will be the same as in asma, since your approach is incorrect.
In addition, C will impose on you the use of libraries, and since the OS is its own, there will be no libraries and you will have to insert a bunch of inserts in assembler.
Almost all modern operating systems in their bootloader implement the simplest support for the file system so that you can already load the main kernel. True, BIOS interrupts are actively used.
In general, take and disassemble GRUB, the sources are open - https://www.gnu.org/software/grub/grub-download.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question