Page 2 of 2

Re:Microsoft Visual C++

Posted: Fri Nov 04, 2005 8:01 pm
by oswizard
The FAQ at http://www.osdev.org/osfaq2/index.php/Visual%20C

May not have what you are looking for, but it is what I and others have put together.

Mike

Re:Microsoft Visual C++

Posted: Fri Oct 06, 2006 10:05 am
by lost
how to create PE-file bootable by GRUB? Is it possible with MSVS 2005?

Re:Microsoft Visual C++

Posted: Sun Oct 08, 2006 5:13 am
by nightos
Hello,

once i've found an article about the topic "how to create PE-file bootable by GRUB?".
You can find it here: http://ksrenevasan.blogspot.com/2005/10/writing-multiboot-pe-kernels-using.html.
But i don't like this way at all.....
I've written a simple PE loader for grub.
You can set the PE loader binary as kernel and include your real kernel as a module.
The PE loader initializes some basic stuff like A20, PIC, GDT, IDT...etc.
Besides that it setups a simple exception handler.
After all those basic stuff is done it setups paging and establishes some common
mappings (first 4mb will be mapped 1:1). Then it searches the boot modules
for your kernel. When it has found your kernel it will map the kernel sections and after
everything is done it will execute your kernel.
If you want i can send you my PE loader.

Bye !

Posted: Tue Oct 24, 2006 9:56 am
by deathangel
I use Microsoft Visual Studio 2005 Team Suite to develop my OS. Of course, I wrote my own bootloader and I use PE executables, so at that point it's really easy, but it's a great IDE and compiler if you know how to use it.