TIP: Click on subject to list as thread! ANSI
echo: pascal
to: ALL
from: `Melanie Baillot`
date: 1999-03-12 00:00:00
subject: XMS

 VL> Wed Feb 24 1999 21:16  Melanie Baillot wrote to Viktor Lubezniy about XMS:

 MB> Of course you forgot the most important procedure.. look at the
 MB> sheme..

 VL> [skipped]

 VL> Thank you, it works. But i don't understand, how to 
 VL> read data from disk to XMS. I think that i will read 
 VL> data from disk to conventional memory, and then move it 
 VL> to XMS. Tell me please, how to move data from/to XMS ?

It depends wether you are using Turbo Pascal or Borland Pascal. With turbo
Pascal, since it functions in real mode, you'd have to use direct disk access,
but since Win'95 came out, they disabled it... So you have to have a buffer in
between, from disk-buffer, then buffer to memory.
If you have Borland Pascal, since it automaticly uses all available memory, you
can create variable using the heap exceeding 64K in length and read from the
disk directly to that variable. So you see, it all depends on the compiler. 
Just in case you don't understand what a "heap" variable is, it's a variable
decalred with the ^var and initialized with new(), and terminated with
dispose()...

In real mode though, the larger the buffer is, the faster it will go because
when transferring from conv. to extended, the application has to switch from 
real to protected mode, then back to real, each time..

/======================================================================
| Orange County Usenet  Fidonet gateway                              
|                                                                      
| User email address:   Melanie.Baillot.noemail@webworldinc.com                                             
| FTN email: Melanie Baillot[RemoveThis]@f215.n163.z1.fidonet.org
| User FidoNet address: 1:163/215                                             
| Report abuse of this service to joejared@webworldinc.com

SOURCE: alt.fidonet via archive.org

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