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-
how "stable" the flat mode of 386??
RE:is that a bad question??
i thinks, there's no memory hardware protection, how to program a software protection which is really secure?
please write back
thanx koni
please write back
thanx koni
RE:is that a bad question??
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
goran
RE:is that a bad question??
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
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