delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/07/20:57:57

Mime-Version: 1.0
To: b52g AT usa DOT net, djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: An OS..
Date: Thu, 7 May 1998 17:53:20 -0700
Message-ID: <19980508005312.AAB26907@ppp117.cartsys.com>

At 03:50  5/7/1998 -0600, b52g AT usa DOT net wrote:
>In article <6iqncs$1q3$1 AT alpha DOT sky DOT net>#1/1,
>  "Kevin Hodle" <datastream AT bitsmart DOT com> wrote:
>>
>> Would it be feesible to write a small OS in DJGPP, considering it's
>> extensive DPMI integration?
>
>No, DJGPP's libraries will call down to the underlying OS.
>However, you could theoretically bind it with FreeDOS, to use that for the
>booting and the calls libc will make.
>Then you could make it call a new layer, before command.com, that runs CWSDPMI
>(or a variant thereof) to put the system into protected mode and act as the
>memory manager.  A memory manager that supports DPMI, not XMS or EMS!
>Although you could perhaps emulate XMS or EMS using a DPMI app..
>
>Then you spawn a protected-mode command.com made with DJGPP.
>
>Not entirely an OS, but an interesting idea nonetheless.

You could also just use the compiler/assembler of DJGPP to write the kernel,
as long as you didn't use the library.

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019