I am trying to develop my OS, kOS (pronounced Chaos), and am finding it very cumbersome. So far it is completely in assembly (which I want to implement some stuff in C/C++ soon). I compile the bootloader/kernel/shell with NASM, use dd to copy the files to a floppy, and reboot (boot from floppy).
I would think that there is some development environment that I could use to expedite this process. All I want is to be able to modify my code, compile it, and see what the effect was. I thought about using Xen, but it said that the kernel has to support Xen, which I have no idea how to do.
So far all I have is about 100 lines of assembly code that spans the bootloader/kernel/shell.
I am using Linux Mandriva as the development environment.
What are you guys doing out there, as I see many of you are working on your own OS.
Thanks!
Brandon
P.S. I tried searching the forums already for something like what I'm asking, and the search proved unfruitful. Please forgive me if this has already been addressed and point me to a link where I can find the answer to my questions.
Virtual Machine Xen, ...
-
- Member
- Posts: 144
- Joined: Tue Oct 26, 2004 11:00 pm
- Location: Australia
Re: Virtual Machine Xen, ...
I'm using Bochs as a PC simulator to test my OS. I have a batch file in my main os directory that compiles the code, copies it to a floppy, then starts bochs to boot from the floppy.
So after I make changes to my OS, I save all my files and run the batch script! Then every now and then I reboot with the floppy inserted so that I can boot my OS from scratch in a real environment, because Bochs is not a perfect simulation and somethings that work in Bochs wont work perfectly in reality.
So after I make changes to my OS, I save all my files and run the batch script! Then every now and then I reboot with the floppy inserted so that I can boot my OS from scratch in a real environment, because Bochs is not a perfect simulation and somethings that work in Bochs wont work perfectly in reality.
Two things are infinite: The universe and human stupidity. But I'm not quite sure about the universe.
--- Albert Einstein
--- Albert Einstein