From 58c6e2989536317848e72b46972d02243a175465 Mon Sep 17 00:00:00 2001 From: Luchezar Georgiev Date: Mon, 19 Sep 2005 17:43:11 +0000 Subject: [PATCH] Fix BC 3.1 CONFIG.C compile and SYS Abnormal Program Termination error for BC git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1144 6ac86273-5f31-0410-b378-82cca8765d1b --- kernel/config.c | 4 ++-- sys/sys.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/config.c b/kernel/config.c index d773e4a..b385e3e 100644 --- a/kernel/config.c +++ b/kernel/config.c @@ -166,7 +166,7 @@ STATIC BOOL GetNumArg2(PCStr, int default2); static void hintSkipAll(void); static BOOL askSkipLine(void); STATIC char strcasediff(PCStr, PCStr); -STATIC void LoadCountryInfoHardCoded(CStr filename, int ccode, int cpage); +STATIC void LoadCountryInfoHardCoded(PCStr filename, int ccode, int cpage); STATIC void umb_init(void); STATIC void config_init_buffers(int anzBuffers); /* from BLOCKIO.C */ @@ -1139,7 +1139,7 @@ STATIC void Fcbs(PCStr p) * the default code page for the country will be used. */ -STATIC void LoadCountryInfo(CStr filename, int ccode, int cpage) +STATIC void LoadCountryInfo(PCStr filename, int ccode, int cpage) { /* COUNTRY.SYS file data structures - see RBIL tables 2619-2622 */ diff --git a/sys/sys.c b/sys/sys.c index 3f4b6a3..14353e3 100644 --- a/sys/sys.c +++ b/sys/sys.c @@ -204,7 +204,7 @@ char *getenv(const char *name) BYTE pgm[] = "SYS"; #define SEC_SIZE 512 -#define COPY_SIZE 0x7e00 +#define COPY_SIZE 0x4000 struct bootsectortype { UBYTE bsJump[3];