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 multiplex interrupt overview</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 2Fh                 Multiplex Interrupt                          Overview

    Multiplex Interrupt (Interrupt 2Fh) is a common entry point for
    terminate-and-stay-resident programs (TSRs) that provide services
    to other programs. Programs use this interrupt to request services
    from and to check the status of such DOS commands as PRINT,
    ASSIGN, and APPEND.

    A program requests service by placing a specified function number
    in the AX register and issuing interrupt 2Fh. Some functions may
    require additional values in registers before issuing the
    interrupt.

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

    The DOS multiplex functions are available only if the corresponding
    DOS command or program has been loaded. If the command or program
    is not loaded, DOS carries out a default action, such as setting
    the carry flag and setting the AX register to 01h (Invalid
    Function).

    Programs that install their own Interrupt 2Fh handler must create
    a chain of handlers, that is, save the original address from the
    Interrupt 2Fh vector-table entry and call the address as part of
    their processing. Note that Int 2Fh function numbers 0000h through
    0BFFFh are reserved for system programs and commands. Other
    programs can use function numbers 0C000h through 0FFFFh.

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