From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: OS: Compiled code Date: 19 Nov 2002 08:33:25 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 27 Message-ID: References: <74ee2f8c DOT 0211182336 DOT 52332c60 AT posting DOT google DOT com> NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] X-Received-Date: Tue, 19 Nov 2002 09:40:07 MET (news01.chello.no) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Aditya (surya4friends AT yahoo DOT com) wrote: : Thanks for looking at my query. : 1. I have DJGPP with Rhide. : 2. My objective is to write OS starting with Bootloader. : 3. For ASM, Netwide Assembler is used. : 4. DJGPP produces is COEFF format. : Now my question is : 1. How to get Flat format? "ld -o bin" IIRC. : 2. Is this (Flat format or COEFF) directly executable? : As it's going to be my own kernel. Not quite. Yes, you can run it as a kernel, but first you must switch to 32-bit protected mode. Make sure you get the entry point right, though. : 3. If am going wrong anywhere, can I know steps? ??? Right, MartinS