Skip to content

dosmemget

Copy data from DOS memory to the heap.

Declaration

Source position: go32.pp line 206

const
dosmemget : procedure(seg: Word; ofs: Word; var data; count: LongInt) = @ dpmi\_dosmemget

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.

For an example, see global_dos_alloc .

Errors

None.

See also

Name Description
dosmemfillchar Fill a region of DOS memory with a specific byte-sized value
dosmemfillword Fill a region of DOS memory with a specific word-sized value
dosmemmove Move data between 2 DOS real mode memory locations
dosmemput Copy data from the heap to DOS real mode memory
seg_fillchar Fill segment with byte value
seg_fillword Fill segment with word value
seg_move Move data between 2 locations