[Previous][Up][Next] Reference for unit 'go32' (#rtl)

dos memory access

Dos memory is accessed by the predefined dosmemselector selector; the GO32 unit additionally provides some functions to help you with standard tasks, like copying memory from heap to dos memory and the likes. Because of this it is strongly recommened to use them, but you are still free to use the provided standard memory accessing functions which use 48 bit pointers. The third, but only thought for compatibility purposes, is using the mem[]-arrays. These arrays map the whole 1 Mb dos space. They shouldn't be used within new programs. To convert a segment:offset real mode address to a protected mode linear address you have to multiply the segment by 16 and add its offset. This linear address can be used in combination with the DOSMEMSELECTOR variable.

See also

dosmemget

  

Copy data from DOS memory to the heap.

dosmemput

  

Copy data from the heap to DOS real mode memory

dosmemmove

  

Move data between 2 DOS real mode memory locations

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

seg_move

  

Move data between 2 locations

seg_fillchar

  

Fill segment with byte value

seg_fillword

  

Fill segment with word value


Documentation generated on: Nov 16 2015