Herman Schonfeld wrote in a message to Tim Esselens:
HS> Protected mode is a flat memory model. There are so
HS> segmentation limits so therefore you can allocate as much
HS> memory as you want to an object.
This is not correct. In a flat memory model there are still segment
registers. The values in those registers however rarely change during program
execution.
In a 16-bit world this is also possible, but is usually referred to as the
tiny memory model.
Protected mode however is a complete different piece of cake. It has nothing
to do with 32 or 16-bit (It is possible in both) but with the interpretation
of the values in the segment registers. In real mode these register are
actually a part of the actual address. In protected mode the values in the
segment registers are used as index in a descriptor table, which contains the
actual segment adress information AND the access rights for the segment
(hence the name protected mode).
After all, under Windows 3.1 I awfully often got a General Protection
Failure, which is a good indication of protected mode .
mvg/wr
--- timEd/2 1.01.g3+
---------------
* Origin: LightHouse BBS ==> I am a H.U.G.O. Member ! (2:285/324.3)
|