Mail Archives: djgpp/1998/02/22/14:47:00
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
- Raw text -