[Prev][Next][Index][Thread]

Re: Another newbie question...



I didn't ask about, that...sorry, if I wasn't clear
I asked if OSkit entered the pmode itself by insertings
startup code into my program..
but from what you said I guess that's true.
thanx.
 
by the way? I tried booting the linux_fs_com demo kernel
but it can't find my floppy drive...
I tried fd0 sd0 everything as drive and I have no idea what to put into partition name...
it still says device not found...
any ideas?
-----Original Message-----
From: Ramon van Handel <vhandel@chem.vu.nl>
To: Flux OSKit Mailing List <oskit-users@fast.cs.utah.edu>
Date: Saturday, August 07, 1999 12:29 PM
Subject: Re: Another newbie question...

Groman wrote:
 This maybe the most dumbest question you ever heard because it is supposed to be obvious,but what the heckwhen I compile a kernel with gcc and oskit under linux,and then boot, does the oskit insert protected mode init code automatically(somewhere from the startup library)or is for example hello world kernel real mode?


Every modern OS is in protected mode.  Many OSKIT drivers come from linux/freebsd,
which are PM OSes.  Moreover, GCC produces 32-bit code, it would take some hacks
to produce realmode code with it !  (it's supposed to be possible by inserting
asm(".code16") at the top of your source files, but even then it doesn't sound
trivial.)

All in all, I think that if you want to write a realmode OS you're in the wrong
place.

Ramon


Follow-Ups: