Page 1 of 1
how "stable" the flat mode of 386??
Posted: Wed Dec 10, 2003 12:00 am
by koni
i mean, is it easy to program in flat mode of 386 and is that mode stable? what are the advantages and the disadvantages of flat mode?
-koni-
RE:is that a bad question??
Posted: Fri Dec 12, 2003 12:00 am
by Koni
i thinks, there's no memory hardware protection, how to program a software protection which is really secure?
please write back
thanx koni
RE:is that a bad question??
Posted: Fri Dec 12, 2003 12:00 am
by goran
There is one pdf file on the Intel site talking about system development support starting from i386. I think that all control registers(CR0-CR4) are present (but am not sure).
goran
RE:is that a bad question??
Posted: Fri Dec 12, 2003 12:00 am
by carbonBased
Depends on what your definition the 'flat' memory model is.
I'm assuming you mean un-segmented, 0...4GB selectors for code, data and stack. However, there is still hardware protection in these scheme, via the pager.
In fact, this is the architecture that most modern OSs use... especially in amateur OSs, segmentation is usually avoided. I to, don't use segmentation. I find the use of both the pager and segmentation hardware a bit overkill... not to mention, difficult to port to other architectures (many of which (most?) have no notion of segments).
Cheers,
Jeff