qa.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.
Program Segment Prefix
   Contents  Index  Register Setup
──────────────────────────────────────────────────────────────────────────────
 
Range       Size of Area    Description
00H - 01H   02H   (2)       INT 20H
02H - 03H   02H   (2)       Segment of first address after end of block
04H - 04H   01H   (1)       Reserved
05H - 09H   05H   (5)       Opcode for far call to DOS function dispatcher
0AH - 0DH   04H   (4)       Saved contents of terminate routine vector
0EH - 11H   04H   (4)       Saved contents of CTRL+BREAK vector
12H - 15H   04H   (4)       Saved contents of error routine vector
16H - 2BH   14H  (22)       Reserved
2CH - 2DH   02H   (2)       Segment address of environment
2EH - 5BH   28H  (40)       Reserved
5CH - 6BH   10H  (16)       First command-line argument
6CH - 7FH   10H  (16)       Second command-line argument
80H - FFH   80H (128)       Command line and/or Disk Transfer Area (DTA)
                                    -♦-