Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>function 30h (48) get dos version number</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 30h (48)        Get DOS Version Number

    Returns the major and minor version numbers of DOS.

       On entry:      AH         30h

       Returns:       AL         Major version number
                      AH         Minor version number

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

       Example:       If this call were used under DOS 2.11, AL would
                      return 02h, and AH would return 0Bh (11 decimal).

       Notes:         DOS 1.x returns 00h in AL.

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