Page 1 of 1
Posted: Sat Nov 24, 2007 6:34 pm
how do test demo 5?
demo 4 will not work i need help with it
Posted: Sat Nov 24, 2007 7:17 pm
Can you please provide more information on Demo 5? Also, do you have the express or professional version of VC++?
To test it, just compile and build the project. I have my project setup to output to the floppy drive, so it produces A:\KRNL.DLL .
If Stage2 and Stage1 botloaders are working properly, just run it through Bochs, and it should load and execute the kernel just fine, using mainCRTStartup() as the entry point. ... Which eventually calls your kmain() routine for Kernel Initialization.
Also, please provide more information at what you need help on with Demo 4
Posted: Sat Dec 01, 2007 5:28 pm
professional edition on xp tablet pc edition with sp 2 on os and fully updated
i dont know what to use to put the kernel on a disc
Posted: Sat Dec 01, 2007 8:50 pm
The kernel itself is an independent program file. All you need to do is copy the file (as if any other file) and copy it to your floppy drive. - No special tools are needed at all.
Do you have a real floppy drive? If so, Either copy it using Windows Explorer, or using its command line:
If you do not have a real floppy drive, you should then use a virtual floppy drive. This is where VFD (Virtual Floppy Drive) comes in. You can download it on <a href="http://www.brokenthorn.com/Resources/OSDev1.html">THIS</a> page.
The purpose if VFD is to create a virtual floppy drive. This means that you will have an emulated floppy drive--Windows will think it is a real floppy drive.
How to setup VFD can be found <a href="http://www.brokenthorn.com/Resources/OSDev3.html">HERE</a>.
After VFD is set up, all of the instructions are the same as if it was a real floppy drive. Either use Windows Explorer to copy the file to the floppy drive, or use the command line:
The kernel itself is just a PE program (KRNL.dll). It is a DLL file like any other - There is nothing special or different about it. Because of this, we do not need any special software to copy it, and Windows can copy it for you.
I hope this clarifies it
Posted: Sat Dec 01, 2007 8:54 pm
Another option is to have Visual C++ output it to your floppy drive automatically. To do this:
Go to project properties->Configuration properties->General
On the right pane, you should see a field Output Directory, type in: A:\KRNL.dll
Now, every time you build the Kernel, Visual Studio will automatically copy it to the A: drive, so you do not need to do it manually.