Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 21 - phar lap 386/dos-extender - execute program http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 21 - Phar Lap 386/DOS-Extender - EXECUTE PROGRAM
        AX = 25C3h
        ES:EBX -> pointer to parameter block (see below)
        DS:EDX -> pointer to ASCIIZ program filename
Return: CF clear if successful
            all registers unchanged
        CF set on error
            EAX = error code
                01h function code in AL is invalid ???
                02h file not found or path invalid
                05h access denied
                08h insufficient memory to load program
                0Ah environment invalid
                0Bh invalid file format

Format of parameter block:
Offset  Size    Description
 00h    DWORD   32-bit offset of environment string
 04h    WORD    segment selector of environment string
 06h    DWORD   32-bit offset of command-tail string
 0Ah    WORD    segment selector of command-tail string

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