From: surya4friends AT yahoo DOT com (Aditya) Newsgroups: comp.os.msdos.djgpp Subject: Re: OS: Compiled code Date: 20 Nov 2002 00:36:42 -0800 Organization: http://groups.google.com/ Lines: 38 Message-ID: <74ee2f8c.0211200036.579702e9@posting.google.com> References: <74ee2f8c DOT 0211182336 DOT 52332c60 AT posting DOT google DOT com> <3ddb0469$0$1412$272ea4a1 AT news DOT execpc DOT com> NNTP-Posting-Host: 202.144.16.235 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1037781402 23213 127.0.0.1 (20 Nov 2002 08:36:42 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 20 Nov 2002 08:36:42 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com NoEmailAds AT execpc DOT com (Chris Giese) wrote in message news:<3ddb0469$0$1412$272ea4a1 AT news DOT execpc DOT com>... > surya4friends AT yahoo DOT com (Aditya) wrote: > > >2. My objective is to write OS starting with Bootloader. > > Writing an OS can be fun, but writing a bootloader is not > as fun, interesting, or easy as it sounds. Use the GRUB > bootloader instead: > http://www.gnu.org/software/grub/#download > ftp://alpha.gnu.org/gnu/grub/grub-0.92-i386-pc.tar.gz > http://www.washingdishes.freeuk.com/grubtut.html > http://my.execpc.com/~geezer/osd/boot/grub-how.txt > > >1. How to get Flat format? > > Do you mean binary output? If you use the "aout kludge", > GRUB will load a 32-bit OS in any file format, including > DJGPP COFF. So you don't need binary output. > > >2. Is this (Flat format or COEFF) directly executable? > > The CPU must be in 32-bit mode (protected mode) to run it. > GRUB will also do this for you. To Chris Giese/Martin Stromberg Thanks for advice! But I guess, I will like to try, may be it will increase my curve, but later when I try to get benefitted with this project, PM Arch internals will be clear with this bootloader. And Of course, I can send mail to these places. :) what say? apart from that about link http://www.execpc.com/~geezer, this and another few links and documents like alt.os.development FAQ, are must like AST's book, essentials for anyone furthering in OS :) Regards, Aditya.