2000-05-06 21:34:20 +02:00
|
|
|
/****************************************************************/
|
|
|
|
/* */
|
|
|
|
/* version.h */
|
|
|
|
/* */
|
|
|
|
/* Common version information */
|
|
|
|
/* */
|
|
|
|
/* Copyright (c) 1997 */
|
|
|
|
/* Pasquale J. Villani */
|
|
|
|
/* All Rights Reserved */
|
|
|
|
/* */
|
|
|
|
/* This file is part of DOS-C. */
|
|
|
|
/* */
|
|
|
|
/* DOS-C is free software; you can redistribute it and/or */
|
|
|
|
/* modify it under the terms of the GNU General Public License */
|
|
|
|
/* as published by the Free Software Foundation; either version */
|
|
|
|
/* 2, or (at your option) any later version. */
|
|
|
|
/* */
|
|
|
|
/* DOS-C is distributed in the hope that it will be useful, but */
|
|
|
|
/* WITHOUT ANY WARRANTY; without even the implied warranty of */
|
|
|
|
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See */
|
|
|
|
/* the GNU General Public License for more details. */
|
|
|
|
/* */
|
|
|
|
/* You should have received a copy of the GNU General Public */
|
|
|
|
/* License along with DOS-C; see the file COPYING. If not, */
|
|
|
|
/* write to the Free Software Foundation, 675 Mass Ave, */
|
|
|
|
/* Cambridge, MA 02139, USA. */
|
|
|
|
/****************************************************************/
|
|
|
|
|
2009-06-23 03:26:30 +02:00
|
|
|
/* The version the kernel reports as compatible with */
|
2002-02-09 01:40:33 +01:00
|
|
|
#ifdef WITHFAT32
|
|
|
|
#define MAJOR_RELEASE 7
|
|
|
|
#define MINOR_RELEASE 10
|
|
|
|
#else
|
2007-07-28 21:03:40 +02:00
|
|
|
#define MAJOR_RELEASE 6
|
|
|
|
#define MINOR_RELEASE 22
|
2002-02-09 01:40:33 +01:00
|
|
|
#endif
|
2000-05-06 21:34:20 +02:00
|
|
|
|
2009-06-23 03:26:30 +02:00
|
|
|
/* The actual kernel revision, 2000+REVISION_SEQ = 2.REVISION_SEQ */
|
2009-05-18 11:38:16 +02:00
|
|
|
#define REVISION_SEQ 39 /* returned in BL by int 21 function 30 */
|
2006-05-20 22:49:16 +02:00
|
|
|
#define OEM_ID 0xfd /* FreeDOS, returned in BH by int 21 30 */
|
|
|
|
|
2009-06-23 03:26:30 +02:00
|
|
|
/* Used for version information displayed to user at boot (& stored in os_release string) */
|
|
|
|
#ifndef KERNEL_VERSION
|
|
|
|
#define KERNEL_VERSION "- SVN "
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* actual version string */
|
|
|
|
#define KVS(v,s,o) "FreeDOS kernel " v "(build 20" #s " OEM:" #o ") [compiled " __DATE__ "]\n"
|
|
|
|
#define xKVS(v,s,o) KVS(v,s,o)
|
|
|
|
#define KERNEL_VERSION_STRING xKVS(KERNEL_VERSION, REVISION_SEQ, OEM_ID)
|
2000-05-06 21:34:20 +02:00
|
|
|
|