Page 1 of 1

Virtual Machine Xen, ...

Posted: Mon Dec 19, 2005 12:00 am
by blmille1
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.

Re: Virtual Machine Xen, ...

Posted: Mon Dec 19, 2005 12:00 am
by Da_Maestro
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.