From: NoEmailAds AT execpc DOT com (Chris Giese) Newsgroups: comp.os.msdos.djgpp Subject: Re: OS: Compiled code Date: Wed, 20 Nov 2002 03:40:41 GMT Organization: PROPULSION GROUP References: <74ee2f8c DOT 0211182336 DOT 52332c60 AT posting DOT google DOT com> X-Newsreader: Forte Free Agent 1.21/32.243 Lines: 27 Message-ID: <3ddb0469$0$1412$272ea4a1@news.execpc.com> NNTP-Posting-Host: 38c7c37b.news.execpc.com X-Trace: DXC=@_R1DZlR>BUCB?eNRmM8nYH AT OeEe0>f_hmHWlD=NV0VOVDUlgeR02:jgD^ X-Complaints-To: abuse AT execpc DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie 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. -- geezer@ | http://www.execpc.com/~geezer execpc.com | http://www.execpc.com/~geezer/osd