Sync with FreeDOS kernel current - 2041+svn1709.

This commit is contained in:
Bart Oldeman 2017-12-10 21:56:50 -05:00
parent bccc57c2f2
commit d92253546d
77 changed files with 88 additions and 73 deletions

11
.gitignore vendored Normal file
View File

@ -0,0 +1,11 @@
# Object Files
*.OBJ
# List Files
*.LST
# Map files
*.MAP
# Executable files
*.EXE

4
README.md Normal file
View File

@ -0,0 +1,4 @@
fdkernel
========
FreeDOS kernel

View File

@ -1,7 +1,7 @@
@echo off
rem IF NOTHING COMPILES, CHECK IF YOUR CVS CHECKOUT USES CORRECT DOS LINEBREAKS
:- $Id$
:- $Id: buildall.bat 1305 2006-10-31 21:13:02Z bartoldeman $
:----------------------------------------------------------
:- batch file to build _many_ KERNELS, hope build works.

View File

@ -1,7 +1,7 @@
@echo off
:- batch file to clean everything
:- $Id$
:- $Id: clean.bat 1181 2006-05-20 20:45:59Z mceric $
if not exist config.bat echo You must copy CONFIG.B to CONFIG.BAT and edit it to reflect your setup!
if not exist config.bat goto end

View File

@ -1,7 +1,7 @@
@echo off
:- batch file to clobber everything
:- $Id$
:- $Id: clobber.bat 1181 2006-05-20 20:45:59Z mceric $
if not exist config.bat echo You must copy CONFIG.B to CONFIG.BAT and edit it to reflect your setup!
if not exist config.bat goto end

View File

@ -115,5 +115,5 @@ set XFAT=16
:-
:- $Id$
:- $Id: config.b 864 2004-04-11 12:21:25Z bartoldeman $
:-

View File

@ -1,5 +1,5 @@
@echo off
:- $Id$
:- $Id: default.bat 1482 2009-07-11 16:59:43Z perditionc $
:- with option clearset, clears all config.bat-made environment variables
:- without options, MAKE / LINK / ... are set to defaults based on COMPILER ...

View File

@ -115,6 +115,6 @@ component. Study the makefile to better understand this.
---------------------------------------------------------------------
$Id$
$Id: build.txt 1387 2009-05-19 21:39:29Z bartoldeman $

View File

@ -195,4 +195,4 @@ See COPYING in DOS-C root directory for license.
---------------------------------------------------------------------
$Id$
$Id: intfns.txt 1344 2007-07-28 18:29:50Z mceric $

View File

@ -1,4 +1,4 @@
Current version: $Id$
Current version: $Id: nls.txt 59 2000-08-06 04:42:32Z jimtabor $
This document describes all aspects of the implementation
of NLS in the FreeDOS kernel -- 2000/06/16 ska

View File

@ -25,7 +25,7 @@
; write to the Free Software Foundation, 675 Mass Ave,
; Cambridge, MA 02139, USA.
;
; $Id$
; $Id: floppy.asm 980 2004-06-19 19:41:47Z perditionc $
;
%include "../kernel/segs.inc"

View File

@ -1,7 +1,7 @@
#
# makefile for device.lib
#
# $Id$
# $Id: makefile 1387 2009-05-19 21:39:29Z bartoldeman $
#

View File

@ -33,7 +33,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *buffer_hRcsId =
"$Id$";
"$Id: buffer.h 1702 2012-02-04 08:46:16Z perditionc $";
#endif
#endif

View File

@ -33,7 +33,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *clock_hRcsId =
"$Id$";
"$Id: clock.h 485 2002-12-09 00:17:15Z bartoldeman $";
#endif
#endif

View File

@ -33,7 +33,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *date_hRcsId =
"$Id$";
"$Id: date.h 485 2002-12-09 00:17:15Z bartoldeman $";
#endif
#endif

View File

@ -31,7 +31,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *clock_hRcsId =
"$Id$";
"$Id: dcb.h 485 2002-12-09 00:17:15Z bartoldeman $";
#endif
#endif

View File

@ -31,7 +31,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *dirmatch_hRcsId =
"$Id$";
"$Id: dirmatch.h 1415 2009-06-02 13:18:24Z bartoldeman $";
#endif
#endif

View File

@ -31,7 +31,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *error_hRcsId =
"$Id$";
"$Id: error.h 485 2002-12-09 00:17:15Z bartoldeman $";
#endif
#endif

View File

@ -31,7 +31,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *exe_hRcsId =
"$Id$";
"$Id: exe.h 485 2002-12-09 00:17:15Z bartoldeman $";
#endif
#endif

View File

@ -31,7 +31,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *fat_hRcsId =
"$Id$";
"$Id: fat.h 1448 2009-06-16 21:45:17Z bartoldeman $";
#endif
#endif

View File

@ -31,7 +31,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *fcb_hRcsId =
"$Id$";
"$Id: fcb.h 485 2002-12-09 00:17:15Z bartoldeman $";
#endif
#endif

View File

@ -31,7 +31,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *file_hRcsId =
"$Id$";
"$Id: file.h 831 2004-03-27 00:27:11Z bartoldeman $";
#endif
#endif

View File

@ -31,7 +31,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *fnode_hRcsId =
"$Id$";
"$Id: fnode.h 1432 2009-06-10 16:10:54Z bartoldeman $";
#endif
#endif

View File

@ -31,7 +31,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *kbd_hRcsId =
"$Id$";
"$Id: kbd.h 485 2002-12-09 00:17:15Z bartoldeman $";
#endif
#endif

View File

@ -31,7 +31,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *mcb_hRcsId =
"$Id$";
"$Id: mcb.h 822 2004-03-25 00:20:20Z bartoldeman $";
#endif
#endif

View File

@ -52,7 +52,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *pcb_hRcsId =
"$Id$";
"$Id: pcb.h 1316 2007-05-15 17:48:47Z bartoldeman $";
#endif
#endif

View File

@ -31,7 +31,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static char *portab_hRcsId =
"$Id$";
"$Id: portab.h 1121 2005-03-15 15:25:08Z perditionc $";
#endif
#endif

View File

@ -30,7 +30,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *sft_hRcsId =
"$Id$";
"$Id: sft.h 1429 2009-06-09 18:50:03Z bartoldeman $";
#endif
#endif

View File

@ -25,7 +25,7 @@
; write to the Free Software Foundation, 675 Mass Ave,
; Cambridge, MA 02139, USA.
;
; $Id$
; $Id: stacks.inc 1591 2011-05-06 01:46:55Z bartoldeman $
;
;

View File

@ -31,7 +31,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *tail_hRcsId =
"$Id$";
"$Id: tail.h 485 2002-12-09 00:17:15Z bartoldeman $";
#endif
#endif

View File

@ -35,7 +35,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *time_hRcsId =
"$Id$";
"$Id: time.h 942 2004-05-23 15:00:37Z bartoldeman $";
#endif
#endif

View File

@ -9,7 +9,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *XStructs_hRcsId =
"$Id$";
"$Id: xstructs.h 1457 2009-06-26 20:00:41Z bartoldeman $";
#endif
#endif

View File

@ -24,7 +24,7 @@
; write to the Free Software Foundation, 675 Mass Ave,
; Cambridge, MA 02139, USA.
;
; $Id$
; $Id: apisupt.asm 538 2003-03-12 22:43:53Z bartoldeman $
;
%include "segs.inc"

View File

@ -31,7 +31,7 @@
; Bart Oldeman: optimized a bit: see /usr/include/bits/string.h from
; glibc 2.2
;
; $Id$
; $Id: asmsupt.asm 1568 2011-04-09 02:42:51Z bartoldeman $
;
; for OW on Linux:

View File

@ -33,7 +33,7 @@
#ifdef VERSION_STRINGS
static BYTE *blockioRcsId =
"$Id$";
"$Id: blockio.c 1702 2012-02-04 08:46:16Z perditionc $";
#endif
#define b_next(bp) ((struct buffer FAR *)(MK_FP(FP_SEG(bp), bp->b_next)))

View File

@ -33,7 +33,7 @@
#ifdef VERSION_STRINGS
static BYTE *RcsId =
"$Id$";
"$Id: break.c 885 2004-04-14 15:40:51Z bartoldeman $";
#endif
#define CB_FLG *(UBYTE FAR*)MK_FP(0x0, 0x471)

View File

@ -32,7 +32,7 @@
#ifdef VERSION_STRINGS
static BYTE *charioRcsId =
"$Id$";
"$Id: chario.c 1413 2009-06-01 13:41:03Z bartoldeman $";
#endif
#include "globals.h"

View File

@ -33,7 +33,7 @@
#ifdef VERSION_STRINGS
static BYTE *RcsId =
"$Id$";
"$Id: config.c 1705 2012-02-07 08:10:33Z perditionc $";
#endif
#ifdef DEBUG

View File

@ -24,7 +24,7 @@
; 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
; or go to http://www.gnu.org/licenses/gpl.html
; $Id$
; $Id: country.asm 1637 2011-06-27 01:05:22Z perditionc $
; This COUNTRY.SYS is compatible with COUNTRY.SYS
; of MS-DOS, PC-DOS, PTS-DOS, OS/2, Win9x, WinNT

View File

@ -30,7 +30,7 @@
#ifdef VERSION_STRINGS
static BYTE *dosfnsRcsId =
"$Id$";
"$Id: dosfns.c 1564 2011-04-08 18:27:48Z bartoldeman $";
#endif
#include "globals.h"

View File

@ -30,7 +30,7 @@
#ifdef VERSION_STRINGS
static BYTE *dskRcsId =
"$Id$";
"$Id: dsk.c 1702 2012-02-04 08:46:16Z perditionc $";
#endif
#if defined(DEBUG)

View File

@ -25,7 +25,7 @@
; write to the Free Software Foundation, 675 Mass Ave,
; Cambridge, MA 02139, USA.
;
; $Id$
; $Id: entry.asm 1701 2012-01-16 22:06:21Z perditionc $
;
%include "segs.inc"

View File

@ -30,7 +30,7 @@
#ifdef VERSION_STRINGS
static BYTE *errorRcsId =
"$Id$";
"$Id: error.c 709 2003-09-24 19:34:11Z bartoldeman $";
#endif
#include "globals.h"

View File

@ -25,7 +25,7 @@
; write to the Free Software Foundation, 675 Mass Ave,
; Cambridge, MA 02139, USA.
;
; $Id$
; $Id: execrh.asm 1184 2006-05-20 20:49:59Z mceric $
;
%include "segs.inc"

View File

@ -32,7 +32,7 @@
#ifdef VERSION_STRINGS
static BYTE *fatdirRcsId =
"$Id$";
"$Id: fatdir.c 1561 2011-04-08 15:35:23Z bartoldeman $";
#endif
/* Description.

View File

@ -31,7 +31,7 @@
#include "globals.h"
#ifdef VERSION_STRINGS
BYTE *RcsId = "$Id$";
BYTE *RcsId = "$Id: fatfs.c 1632 2011-06-13 16:29:14Z bartoldeman $";
#endif
/* */

View File

@ -31,7 +31,7 @@
#ifdef VERSION_STRINGS
static BYTE *RcsId =
"$Id$";
"$Id: fattab.c 1631 2011-06-13 16:27:34Z bartoldeman $";
#endif
/************************************************************************/

View File

@ -31,7 +31,7 @@
#ifdef VERSION_STRINGS
static BYTE *RcsId =
"$Id$";
"$Id: fcbfns.c 1405 2009-05-26 20:44:44Z bartoldeman $";
#endif
#define FCB_SUCCESS 0

View File

@ -30,7 +30,7 @@
#ifdef VERSION_STRINGS
#ifdef MAIN
static BYTE *Globals_hRcsId =
"$Id$";
"$Id: globals.h 1705 2012-02-07 08:10:33Z perditionc $";
#endif
#endif

View File

@ -31,7 +31,7 @@
#ifdef VERSION_STRINGS
static char *RcsId =
"$Id$";
"$Id: initclk.c 1359 2008-03-09 16:11:10Z mceric $";
#endif
/* */

View File

@ -68,7 +68,7 @@
#ifdef VERSION_STRINGS
static BYTE *RcsId =
"$Id$";
"$Id: inithma.c 956 2004-05-24 17:07:04Z bartoldeman $";
#endif
BYTE DosLoadedInHMA BSS_INIT(FALSE); /* set to TRUE if loaded HIGH */

View File

@ -32,7 +32,7 @@
#ifdef VERSION_STRINGS
static BYTE *RcsId =
"$Id$";
"$Id: initoem.c 1321 2007-05-21 02:16:36Z bartoldeman $";
#endif
#define EBDASEG 0x40e

View File

@ -25,7 +25,7 @@
; write to the Free Software Foundation, 675 Mass Ave,
; Cambridge, MA 02139, USA.
;
; $Id$
; $Id: int2f.asm 1591 2011-05-06 01:46:55Z bartoldeman $
;
%include "segs.inc"

View File

@ -34,7 +34,7 @@
#ifdef VERSION_STRINGS
BYTE *RcsId =
"$Id$";
"$Id: inthndlr.c 1709 2012-02-08 02:13:49Z perditionc $";
#endif
#ifdef TSC

View File

@ -31,7 +31,7 @@
#ifdef VERSION_STRINGS
static BYTE *RcsId =
"$Id$";
"$Id: ioctl.c 1427 2009-06-09 12:23:14Z bartoldeman $";
#endif
/*

View File

@ -24,7 +24,7 @@
; write to the Free Software Foundation, 675 Mass Ave,
; Cambridge, MA 02139, USA.
;
; $Id$
; $Id: irqstack.asm 1567 2011-04-09 02:03:20Z bartoldeman $
;

View File

@ -25,7 +25,7 @@
; write to the Free Software Foundation, 675 Mass Ave,
; Cambridge, MA 02139, USA.
;
; $Id$
; $Id: kernel.asm 1705 2012-02-07 08:10:33Z perditionc $
;
%include "segs.inc"

View File

@ -11,7 +11,7 @@
#ifdef VERSION_STRINGS
static BYTE *lfnaidRcsId =
"$Id$";
"$Id: lfnapi.c 1389 2009-05-20 18:13:37Z bartoldeman $";
#endif
#ifdef WITHLFNAPI

View File

@ -34,7 +34,7 @@
#ifdef VERSION_STRINGS
static BYTE *mainRcsId =
"$Id$";
"$Id: main.c 1699 2012-01-16 20:45:44Z perditionc $";
#endif
static char copyright[] =

View File

@ -31,7 +31,7 @@
#ifdef VERSION_STRING
static BYTE *memmgrRcsId =
"$Id$";
"$Id: memmgr.c 1338 2007-07-20 20:52:33Z mceric $";
#endif
#define nxtMCBsize(mcb,size) MK_FP(FP_SEG(mcb) + (size) + 1, FP_OFF(mcb))

View File

@ -30,7 +30,7 @@
#ifdef VERSION_STRINGS
static BYTE *miscRcsId =
"$Id$";
"$Id: misc.c 653 2003-08-09 09:35:18Z bartoldeman $";
#endif
#include "globals.h"

View File

@ -32,7 +32,7 @@
#ifdef VERSION_STRINGS
static BYTE *RcsId =
"$Id$";
"$Id: network.c 895 2004-04-21 17:40:12Z bartoldeman $";
#endif
/* see RBIL D-2152 and D-215D06 before attempting

View File

@ -27,7 +27,7 @@
#ifdef VERSION_STRINGS
static BYTE *mainRcsId =
"$Id$";
"$Id: newstuff.c 1479 2009-07-07 13:33:24Z bartoldeman $";
#endif
#include "portab.h"

View File

@ -40,7 +40,7 @@
#ifdef VERSION_STRINGS
static BYTE *RcsId =
"$Id$";
"$Id: nls.c 1491 2009-07-18 20:48:44Z bartoldeman $";
#endif
#ifdef NLS_DEBUG

View File

@ -33,7 +33,7 @@
#ifdef VERSION_STRINGS
static BYTE *RcsId =
"$Id$";
"$Id: nls_load.c 625 2003-06-27 22:02:57Z bartoldeman $";
#endif
/** Setup the environment for shared source NLS_LOAD.SRC **/

View File

@ -24,7 +24,7 @@
; write to the Free Software Foundation, 675 Mass Ave,
; Cambridge, MA 02139, USA.
;
; $Id$
; $Id: nlssupt.asm 971 2004-05-30 19:31:07Z bartoldeman $
;

View File

@ -25,7 +25,7 @@
; write to the Free Software Foundation, 675 Mass Ave,
; Cambridge, MA 02139, USA.
;
; $Id$
; $Id: procsupt.asm 1591 2011-05-06 01:46:55Z bartoldeman $
;

View File

@ -29,7 +29,7 @@
#ifdef MAIN
#ifdef VERSION_STRINGS
static BYTE *Proto_hRcsId =
"$Id$";
"$Id: proto.h 1491 2009-07-18 20:48:44Z bartoldeman $";
#endif
#endif

View File

@ -30,7 +30,7 @@
#ifdef VERSION_STRINGS
static BYTE *stringsRcsId =
"$Id$";
"$Id: strings.c 653 2003-08-09 09:35:18Z bartoldeman $";
#endif
#ifndef I86

View File

@ -31,7 +31,7 @@
#ifdef VERSION_STRINGS
static char *RcsId =
"$Id$";
"$Id: sysclk.c 681 2003-09-09 17:32:20Z bartoldeman $";
#endif
/* */

View File

@ -32,7 +32,7 @@
#ifdef VERSION_STRINGS
static BYTE *syspackRcsId =
"$Id$";
"$Id: syspack.c 485 2002-12-09 00:17:15Z bartoldeman $";
#endif
#ifdef NONNATIVE

View File

@ -33,7 +33,7 @@
#ifdef VERSION_STRINGS
static BYTE *RcsId =
"$Id$";
"$Id: systime.c 683 2003-09-09 17:43:43Z bartoldeman $";
#endif
const UWORD days[2][13] = {

View File

@ -31,7 +31,7 @@
#ifdef VERSION_STRINGS
static BYTE *RcsId =
"$Id$";
"$Id: task.c 1563 2011-04-08 16:04:24Z bartoldeman $";
#endif
#define toupper(c) ((c) >= 'a' && (c) <= 'z' ? (c) + ('A' - 'a') : (c))

View File

@ -1,7 +1,7 @@
#
# makefile for libm.lib
#
# $Id$
# $Id: makefile 688 2003-09-15 10:46:24Z bartoldeman $
#

View File

@ -1,7 +1,7 @@
#
# makefile for bin2c.com and sys.com
#
# $Id$
# $Id: makefile 1482 2009-07-11 16:59:43Z perditionc $
#
!include "../mkfiles/generic.mak"

0
utils/echoto.bat Executable file → Normal file
View File

0
utils/wlinker.bat Executable file → Normal file
View File