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 4b05h set execution state dos 5.0+</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 4B05h          Set Execution State                          DOS 5.0+

    Prepares a new program for execution. This preparation includes
    setting the version number for the program as specified by the
    SETVER command.

        Entry   AX    = 4B05h
                DS:DX = Pointer to an ExecState structure

        Return  Nothing
                or
                AX = Error code, if CF is set
                     | ??

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

    This function is required for programs that intercept function
    4B00h (EXEC).

    After the function returns, the calling program must transfer
    execution control to the new program as soon as possible. In
    particular, before starting the new program, the calling program
    must not call DOS system functions, ROM BIOS functions, or system
    interrupts.

    When DOS is installed in the high-memory area (HMA), this function
    turns off the A20 line, making the HMA inaccessible. If the new
    program must have access to the HMA, the program must turn on the
    A20 line. Note that MS-DOS automatically turns on the A20 line
    (and usually leaves it on) when carrying out other system
    functions.

See Also: 4b00h 4b01h ExecState

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