Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- DOS 5.0 Ref. - <b>int 2fh / 4310h get himem.sys entry-point address dos 5.0+</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 2Fh / 4310h         Get HIMEM.SYS Entry-Point Address            DOS 5.0+

    Returns the 32-bit address (segment:offset) of the entry point for
    the extended-memory management functions for HIMEM.SYS.

        Entry   AX = 4310h

        Return  ES:BX = XMS manager entry point address


    Before retrieving and calling this entry point, programs must use
    Int 2Fh function 4300h to ensure that the XMS driver has been
    loaded.

    The extended-memory management functions enable programs to manage
    extended memory, the high memory area (HMA) and upper memory
    blocks (UMBs). Programs also use the functions to enable and
    disable the A20 address line. A program calls a function by
    placing the function number in the AH register, filling other
    registers as needed, and calling the entry point. Following is a
    list of some of the extended-memory management functions:

        Number  Name
        00h     Get XMS version
        01h     Allocate HMA
        02h     Free HMA
        03h     Global Enable A20 Line
        04h     Global Disable A20 Line
        05h     Local Enable A20 Line
        06h     Local Disable A20 Line
        07h     Query A20 Line Status
        08h     Query Free Extended Memory
        09h     Allocate EMB
        0Ah     Free EMB
        0Bh     Move EMB
        0Ch     Lock EMB
        0Dh     Unlock EMB
        0Eh     Get Handle Information
        0Fh     Resize EMB
        10h     Allocate UMB
        11h     Free UMB

    Programs must not use extended-memory management functions to
    manage the HMA or UMBs if DOS already manages these areas.

    This function returns the entry-point address of any extended-
    memory manager as long as the manager conforms to the Lotus/Intel/
    Microsoft/AST eXtended Memory Specification (XMS) version 2.0.

See Also: 4300h

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