TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: WIM VELDHUIS
from: HERMAN SCHONFELD
date: 1997-04-21 17:25:00
subject: Video

WV>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.
WV>This is not correct. In a flat memory model there are still segment
WV>registers. The values in those registers however rarely change during
WV>program execution.
WV>In a 16-bit world this is also possible, but is usually referred to as
WV>the tiny memory model.
WV>Protected mode however is a complete different piece of cake. It has
WV>nothing to do with 32 or 16-bit (It is possible in both) but with the
WV>interpretation of the values in the segment registers. In real mode
WV>these register are actually a part of the actual address. In protected
WV>mode the values in the segment registers are used as index in a
WV>descriptor table, which contains the actual segment adress information
WV>AND the access rights for the segment (hence the name protected mode).
WV>After all, under Windows 3.1 I awfully often got a General Protection
WV>Failure, which is a good indication of protected mode .
I knew most of that but what do you mean flat mode?
I thought protected mode and flat mode where the same?
Is flat mode when you switch the cpu into protected and change the segment 
limits then switch back to real mode? (making it possible to allocate large 
segments)
WV>mvg/wr
WV> 
Thanks for replying!
... !enif tsuj si gnihtyrevE
--- Ezycom V1.48g0 01fd016b
---------------
* Origin: Fox's Lair BBS Bris Aus +61-7-38033908 V34+ Node 2 (3:640/238)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.