Hi everyone
-
- Posts: 1
- Joined: Sat Oct 08, 2011 11:20 pm
Hi everyone
Hi im new to this site and i need some help i have made a simple hello world os and its a .com file how can i but this .com file do i need to make a boot loarder for it or will the .com file load and im runing windows 7 is there a way or an emulater that will run my os, thanks for your time.
Re: Hi everyone
You can use programs like Bochs or VirtaulBox as emulators. I am not sure if Windows 7 will run DOS .com programs anymore, but even if it did, an application running under Windows 7 is by definition not an operating system.ajstillprogramming wrote:Hi im new to this site and i need some help i have made a simple hello world os and its a .com file how can i but this .com file do i need to make a boot loarder for it or will the .com file load and im runing windows 7 is there a way or an emulater that will run my os, thanks for your time.
To have the beginnings of an operating system you would need something which the BIOS could load at the traditional address of 0x7c00 when the system booted, and it could not rely upon the services provided by any operating system - MS-DOS included. At most you could make use of the BIOS interrupts, and that only whilst you were in real mode.
It sounds to me as if your ambition at the moment should be to get a working boot sector onto a floppy disk, and finding out how to do that will be only the very beginning of the knowledge you will need to acquire in order to write an operating system.