From afa9874473ae966d5817b7772f642de37591915a Mon Sep 17 00:00:00 2001 From: Jim Tabor Date: Sat, 16 Dec 2000 01:38:35 +0000 Subject: [PATCH] Added patches from Bart Oldeman git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@89 6ac86273-5f31-0410-b378-82cca8765d1b --- docs/history.txt | 5 +++++ kernel/globals.h | 5 ++++- kernel/inthndlr.c | 5 ++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/history.txt b/docs/history.txt index 73b1f51..eb49936 100644 --- a/docs/history.txt +++ b/docs/history.txt @@ -1,3 +1,8 @@ +2000 Dec 15 - Build 2022 +-------- James Tabor (jimtabor@infohwy.com) ++ Fixes Added Patches from Bart Oldeman (Bart.Oldeman@bristol.ac.uk) + Fix for NLAST in globals.h and change default return in inthndlr.c. + 2000 Oct 29 - Build 2022 -------- James Tabor (jimtabor@infohwy.com) Rebuild local cvs tree after a crash. Update CVS at Sourceforge.net diff --git a/kernel/globals.h b/kernel/globals.h index 5c1dbdd..bbd5de3 100644 --- a/kernel/globals.h +++ b/kernel/globals.h @@ -36,6 +36,9 @@ static BYTE *Globals_hRcsId = "$Id$"; /* * $Log$ + * Revision 1.6 2000/12/16 01:38:35 jimtabor + * Added patches from Bart Oldeman + * * Revision 1.5 2000/08/06 05:50:17 jimtabor * Add new files and update cvs with patches and changes * @@ -213,7 +216,7 @@ static BYTE *Globals_hRcsId = "$Id$"; #define NFCBS 16 /* number of fcbs */ #define NDEVS 8 /* number of supported devices */ #define NSTACKS 8 /* number of stacks */ -#define NLAST 2 /* last drive */ +#define NLAST 6 /* last drive */ #define NAMEMAX PARSE_MAX /* Maximum path for CDS */ #define NUMBUFF 6 /* Number of track buffers */ /* -- must be at least 3 */ diff --git a/kernel/inthndlr.c b/kernel/inthndlr.c index 67e3c1e..45d4867 100644 --- a/kernel/inthndlr.c +++ b/kernel/inthndlr.c @@ -36,6 +36,9 @@ BYTE *RcsId = "$Id$"; /* * $Log$ + * Revision 1.12 2000/12/16 01:38:35 jimtabor + * Added patches from Bart Oldeman + * * Revision 1.11 2000/10/30 00:21:15 jimtabor * Adding Brian Reifsnyder Fix for Int 25/26 * @@ -346,7 +349,6 @@ dispatch: /* int 21h common error handler */ case 0x64: case 0x6b: - default: error_invalid: r->AX = -DE_INVLDFUNC; goto error_out; @@ -543,6 +545,7 @@ dispatch: #ifndef TSC case 0x61: #endif + default: r->AL = 0; break;