Hi everyone

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.
Post Reply
ajstillprogramming
Posts: 1
Joined: Sat Oct 08, 2011 11:20 pm

Hi everyone

Post by ajstillprogramming »

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.
Casm
Member
Member
Posts: 221
Joined: Sun Oct 17, 2010 2:21 pm
Location: United Kingdom

Re: Hi everyone

Post by Casm »

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

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