Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>_ovrinitext() initialize extended memory for overlays</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _OvrInitExt()           Initialize Extended Memory for Overlays

 #include   <dos.h>

 int _OvrInitExt(MemStartAddress, MemLength);
 unsigned long MemstartAddress;    Start address of memory
 unsigned long MemLength;          Length of memory.

        The _OvrInitExt() function initializes extended memory for use by
        C++'s overlay manager. If MemStartAddress is zero, the overlay
        manager allocates pages; if MemStartAddress is not zero, the
        overlay manager allocates memory above it of length MemLength.

       Returns:     0 for success.

   Portability:     Unique to 8086 family of processors.

   -------------------------------- Example ---------------------------------
        This example asks the overlay manager to check for extended
        memory and allocates as much as possible after 1MB.

        #include <dos.h>

        int main(void)
        {
          _OvrInitExt (0x100000L, 0);
          return 0;
        }


See Also: _OvrInitEms()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson