how do test demo 5?
demo 4 will not work i need help with it
great tutorial
-zfos developer
testing os
Moderator:Moderators
Hello,
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 .
Thats it
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
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 .
Thats it

Also, please provide more information at what you need help on with Demo 4

Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com
Hello,
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/OS ... l">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/OS ... l">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
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:
Code: Select all
copy KRNL.dll A:\KRNL.DLL
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/OS ... l">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:
Code: Select all
copy KRNL.dll A:\KRNL.DLL
I hope this clarifies it

Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com
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.
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.
Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com