Sign in to follow this  
TimChan

osdev problems...

Recommended Posts

I use msvc express and masm express for osdev. I can compile sources and link the objs to kernel.exe, but how can i convert this kernel into a img file so that i can play it via VMware.

Share this post


Link to post
Share on other sites
To make an image, you can use a tool like bochs' bximage (see: bochs) - however, I'm not sure VMWare would understand such an image. Does it have a specific image format?
Given an image, you can put things on it using a tool like WinImage (not free) or by writing your own mini-tool.

As for the PE issue: You'll either have to use a boot-loader that can load PE files (I don't know any) or use a utility such as objcopy (comes with cygwin, for example) to convert the PE file to another format like elf32 or aout, both of which can be loaded by GRUB (Grand Unified Boot Loader), which is a recommended boot-loader.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this