next up previous contents index
Next: dosmemmove Up: Functions and Procedures Previous: dosmemput

dosmemget

   

Declaration:

Procedure dosmemget (seg : Word; ofs : Word; var data; count : Longint) ;

Description:

Copies data from the DOS memory onto the heap.

Parameters:

seg:
source real mode segment
ofs:
source real mode offset
data:
destination
count:
number of bytes to copy

Notes: No range checking is performed.

Errors:

none

See also:

dosmemput, dosmemmove, dosmemfillchar, dosmemfillword, seg_move, seg_fillchar, seg_fillword

For an example, see global_dos_alloc.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998