Xref: news2.mv.net comp.os.msdos.djgpp:7442 From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams) Newsgroups: comp.os.msdos.djgpp Subject: Re: Creating Boot Code with DJGPP Date: Fri, 16 Aug 1996 20:59:48 GMT Lines: 28 Message-ID: <840229058.29274.3@abwillms.demon.co.uk> References: <01bb8af9$332875c0$892521cf AT sam> NNTP-Posting-Host: abwillms.demon.co.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp "Sam Phillips" wrote: >I was wondering if there was a way to create some code to put into a boot >sector, and then after having it is there a painless method to put the code >in the bootsector. This sounds similar to something I was trying... a boostrap written with as that loads a 'kernel image' from disk, engages pmode, and jumps to it. This kernel image would be constructed from a COFF file. I looked at how Linux did it, and it used some wierd ld switch I'd never seen before, and my DJGPP ld didn't like it. How do I create a code image, prelocated for a specific base address, that can be just loaded and jumped to??? TIA, ABW -- I have become... Comfortably numb... Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk http://www.hardcafe.co.uk/Alaric/