
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Programmers Reference 0.02b - <b>function 30h (48) get dos version number</b>
[<<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