From: Bill Currie Newsgroups: comp.os.msdos.djgpp Subject: Re: COFF-Files for Kernel-Code? Date: Mon, 23 Feb 1998 08:31:06 +1300 Organization: Telecommunication Systems Support Centre Lines: 22 Message-ID: <34F07CFA.942@tssc.co.nz> References: <34F04D1C DOT 674C2D94 AT uni-bremen DOT de> NNTP-Posting-Host: node106.tssc.co.nz Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Sascha Imme wrote: > > Hi there! > > One day I had this idea. Why not use the comfort of developing DJGPP > programs for writing an OS? I think of a Bootstrap-Routine that loads > and executes a COFF-File which will do the rest then. The only real > problem I see is my lack of knowledge about COFF-Files (about > output-formats in general). Wouldn't it be possible to switch the CPU to > pmode within the Bootstrap-Code and jump to the entry-point of the > COFF-Image (wherever it is)? Are there any things I have to keep in > mind? Any difficulties I haven't seen yet? I hope not! Hehe, check out http://www.abwillms.demon.co.uk/prog/kernel2.zip (readme available from http://www.abwillms.demon.co.uk/prog/index.htm, look for `Bill Currie's PC Bootable Kernel'), it does all the above, with a few extras. It's meant for getting started, so it's really incomplete, but it does boot successfully. Bill -- Leave others their otherness