Microsoft Visual C++

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
oswizard

Re:Microsoft Visual C++

Post 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
lost

Re:Microsoft Visual C++

Post by lost »

how to create PE-file bootable by GRUB? Is it possible with MSVS 2005?
nightos

Re:Microsoft Visual C++

Post 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 !
deathangel
Member
Member
Posts: 31
Joined: Thu Apr 14, 2005 11:00 pm
Location: Planet Earth
Contact:

Post 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.
Post Reply