Mail Archives: djgpp/1998/05/07/05:15:34
From: | b52g AT usa DOT net
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: An OS..
|
Date: | Thu, 07 May 1998 03:50:03 -0600
|
Organization: | Deja News - The Leader in Internet Discussion
|
Lines: | 30
|
Message-ID: | <6irsjt$11h$1@nnrp1.dejanews.com>
|
References: | <6iqncs$1q3$1 AT alpha DOT sky DOT net>#1/1
|
NNTP-Posting-Host: | 195.11.199.175
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
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.
Drawbacks.. It might not run realmode programs.
FreeDOS is not yet compatible enough for DJGPP programs.
>
> Please reply via Email if possible.
> Thanks, Kevin
>
>
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
- Raw text -