Mail Archives: djgpp/1998/05/07/20:57:57
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 -