Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - _osmajor and _osminor http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                      _osmajor and _osminor

                               _osmajor

This  variable  defines  the major version number  of  MSDOS  that  is
executing.  The value of _osmajor would be 3 running under MSDOS  3.21
or 2 running under MSDOS 2.11.

Usage
extern unsigned char _osmajor;

                               _osminor

This  variable  defines  the minor version number  of  MSDOS  that  is
executing.  The  value of _osminor would be 0x11 running  under  MSDOS
2.11 or a 0x10 running under MSDOS 3.1.

Usage
extern unsigned char _osminor;

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