qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
MsDos Procedure
  Summary Details Example                                   Back
 
  Argument
 
    register_values    Record variable of type Registers
 
  Description
 
    The MsDos procedure initiates DOS interrupt $21 to execute a
    specified DOS interrupt function. It loads the values passed by
    register_values into the machine registers and then jumps to the
    DOS interrupt handler. After the interrupt procedure ends, MsDos
    loads the final register values into register_values.
 
    The register_values argument passes the specified register values
    in a record of type Registers, defined in the Dos unit. The .AH
    field passes the number of the desired function. Other fields
    pass other values as needed.
 
    Consult a DOS technical reference for information about DOS
    interrupt functions.
 
    MsDos is equivalent to
 
       Intr( $21, register_values );