TIP: Click on subject to list as thread! ANSI
echo: pascal
to: ALL
from: PAUL YANCHENKO
date: 1998-05-23 15:45:00
subject: DPMI (memory)

Hello All!
I not absolutely understand, how the work with memory in Borland Pascal in 
the protected mode is arranged. In a real mode the address trunk consists of 
20 bits and to address memory it is necessary to specify a segment and 
offset. Thus the current segment lags behind the following on 16 bytes. Thus 
it is possible to address no more than 1 mbyte. In a real mode I use 
procedure GetMem (Ptr:pointer; MemSize:word);. But in the protected mode I 
use this function too and it's workin', but how then I manage to address 
memory more than 1 mbyte? And what type of memory is used by BP7 in the 
protected mode: EMS or XMS?
Paul
--- GoldED 3.00.Beta3+
---------------
* Origin: Horror BBS 7-343-2485773 EVERYNiGHT 01-07 (2:5080/130.3)

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™.