ab53a50c49
if no directory given in template if DOS version is 5. Older and newer DOS versions just use no dirspec in that case. This helps ftp.sac.sk/pub/sac/pack/iup067.zip exepacker which tries to rename the temp file to a file in current directory. Prepared Truename (21.60) to return 0 if okay, 3a00 if char dev (and not JOIN / network?). May need further coding to actually have the intended effect...? Note: The shell TRUENAME command may change names for display! Changed the "true DOS version" for FAT16 kernels from 5.0 to 6.22 to reflect the updates in 21.5a and 21.60, other 5 / 6 differences are not simply in the kernel but more in COUNTRY, KEYB, HIMEM, SMARTDRV, DBLSPACE, EMM386, COMMAND and so on. In addition, 6.22 is a popular version number to report :-). git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1345 6ac86273-5f31-0410-b378-82cca8765d1b
52 lines
2.4 KiB
C
52 lines
2.4 KiB
C
/****************************************************************/
|
|
/* */
|
|
/* 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. */
|
|
/****************************************************************/
|
|
|
|
#ifdef MAIN
|
|
#ifdef VERSION_STRINGS
|
|
static BYTE *date_hRcsId =
|
|
"$Id$";
|
|
#endif
|
|
#endif
|
|
|
|
/* This Kernel is at a min Dos Ver. 5.00 or 7.10 with FAT32 support */
|
|
#ifdef WITHFAT32
|
|
#define MAJOR_RELEASE 7
|
|
#define MINOR_RELEASE 10
|
|
#else
|
|
#define MAJOR_RELEASE 6
|
|
#define MINOR_RELEASE 22
|
|
#endif
|
|
|
|
#define REVISION_SEQ 38 /* returned in BL by int 21 function 30 */
|
|
#define OEM_ID 0xfd /* FreeDOS, returned in BH by int 21 30 */
|
|
|
|
#define SOURCE_DATE_STRING "Jul 28 2007" /* DATE OF THE NEWEST SOURCE FILE */
|
|
/* #define KERNEL_VERSION_STRING "1.1.35" formerly used in os_release text */
|
|
#define KERNEL_BUILD_STRING "2038pre/2036svn" /* used in os_release string */
|
|
|