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>function 5803h set upper-memory link dos 5.0+</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 5803h          Set Upper-Memory Link                        DOS 5.0+

    Links or unlinks the upper memory area. When this area is linked,
    a program can allocate memory from it.

        Entry   AX = 5803h
                BX = 00h | 01h   link | unlink upper memory area

        Return  Nothing
                or
                AX = Error code, if CF is set
                     | 01h Invalid function
                     | 07h Memory blocks destroyed

    ------------------------------------------------------------------

    If this function returns an error value of 1 (invalid function),
    DOS has been loaded without the command "DOS=UMB" having been
    specified in the CONFIG.SYS file.

    A program that changes the upper-memory link state should restore
    its original state before terminating.

See Also: 5802h

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