diff -Nru --ignore-file-name-case 003/lib/build.bat 004/lib/build.bat
--- 003/lib/build.bat	1970-01-01 00:00:00 +0000
+++ 004/lib/build.bat	2013-02-26 23:46:12 +0000
@@ -0,0 +1,21 @@
+@echo off
+cd source\country
+make
+cd ..\dos
+make
+cd ..\doscls
+make
+cd ..\misc
+make
+cd ..\pcb
+make
+cd ..\screen
+make
+cd ..\system
+make
+cd ..\toolkit
+make
+cd ..\..\bcdos\bc31
+del *.bak *.386
+ren *.lib *.386
+cd ..\..
diff -Nru --ignore-file-name-case 003/lib/CFG/BC31/PCBOARD.CFG 004/lib/CFG/BC31/PCBOARD.CFG
--- 003/lib/CFG/BC31/PCBOARD.CFG	2012-04-26 02:36:52 +0000
+++ 004/lib/CFG/BC31/PCBOARD.CFG	2013-02-26 23:46:12 +0000
@@ -56,8 +56,8 @@
 -Y
 -d
 -nOBJ\bc31
--I\B\C31\INCLUDE;\pcbsrc\lib\h
--L\B\C31\LIB
+-I..\..\..\..\B\C31\INCLUDE;..\..\h
+-L..\..\..\..\B\C31\LIB
 -DPCBOARD
 -DPCBCOMM
 -DOSDRIVER
diff -Nru --ignore-file-name-case 003/lib/SOURCE/MISC/ASCII.C 004/lib/SOURCE/MISC/ASCII.C
--- 003/lib/SOURCE/MISC/ASCII.C	1996-08-09 09:48:26 +0000
+++ 004/lib/SOURCE/MISC/ASCII.C	2013-02-26 23:46:12 +0000
@@ -12,9 +12,6 @@
 /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
 
 
-#include <misc.h>
-#include <stdlib.h>
-
 #ifndef __OS2__
   #ifdef _MSC_VER
     #include <borland.h>
@@ -24,6 +21,9 @@
   #include <model.h>
 #endif
 
+#include <misc.h>
+#include <stdlib.h>
+
 
 void LIBENTRY lascii(char *Str, long Num) {
 #ifdef __OS2__
diff -Nru --ignore-file-name-case 003/lib/SOURCE/MISC/BD_LONG.C 004/lib/SOURCE/MISC/BD_LONG.C
--- 003/lib/SOURCE/MISC/BD_LONG.C	1996-08-29 14:23:02 +0000
+++ 004/lib/SOURCE/MISC/BD_LONG.C	2013-02-26 23:46:12 +0000
@@ -25,7 +25,7 @@
   #define SIGNBYTE  6
   #define SIGBITS  55
 
-  #pragma inline
+//#pragma inline
   #pragma warn -par
   #pragma warn -rvl
 #endif
diff -Nru --ignore-file-name-case 003/lib/SOURCE/MISC/BMSEARCH.C 004/lib/SOURCE/MISC/BMSEARCH.C
--- 003/lib/SOURCE/MISC/BMSEARCH.C	1996-08-09 09:48:26 +0000
+++ 004/lib/SOURCE/MISC/BMSEARCH.C	2013-02-26 23:46:12 +0000
@@ -19,7 +19,7 @@
   #include <string.h>
 #else
   #include <model.h>
-  #pragma inline
+//#pragma inline
 #endif
 
 #ifdef DEBUG
diff -Nru --ignore-file-name-case 003/lib/SOURCE/MISC/ISSET.C 004/lib/SOURCE/MISC/ISSET.C
--- 003/lib/SOURCE/MISC/ISSET.C	1996-08-09 09:48:26 +0000
+++ 004/lib/SOURCE/MISC/ISSET.C	2013-02-26 23:46:12 +0000
@@ -21,7 +21,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/MISC/MSTRCPY.C 004/lib/SOURCE/MISC/MSTRCPY.C
--- 003/lib/SOURCE/MISC/MSTRCPY.C	1996-08-09 09:48:26 +0000
+++ 004/lib/SOURCE/MISC/MSTRCPY.C	2013-02-26 23:46:12 +0000
@@ -18,7 +18,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
   #include <model.h>
 #endif
diff -Nru --ignore-file-name-case 003/lib/SOURCE/MISC/PADSTR.C 004/lib/SOURCE/MISC/PADSTR.C
--- 003/lib/SOURCE/MISC/PADSTR.C	1996-08-09 09:48:26 +0000
+++ 004/lib/SOURCE/MISC/PADSTR.C	2013-02-26 23:46:12 +0000
@@ -21,7 +21,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/MISC/PRNREADY.C 004/lib/SOURCE/MISC/PRNREADY.C
--- 003/lib/SOURCE/MISC/PRNREADY.C	1996-08-09 09:48:26 +0000
+++ 004/lib/SOURCE/MISC/PRNREADY.C	2013-02-26 23:46:12 +0000
@@ -22,7 +22,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/MISC/RLE.C 004/lib/SOURCE/MISC/RLE.C
--- 003/lib/SOURCE/MISC/RLE.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/MISC/RLE.C	2013-02-26 23:46:12 +0000
@@ -15,7 +15,7 @@
 #include <misc.h>
 #ifndef __OS2__
   #include <model.h>
-  #pragma inline
+//#pragma inline
 #endif
 
 unsigned LIBENTRY doRLE(char *Dest, char *Srce, unsigned Len) {
diff -Nru --ignore-file-name-case 003/lib/SOURCE/MISC/SETBIT.C 004/lib/SOURCE/MISC/SETBIT.C
--- 003/lib/SOURCE/MISC/SETBIT.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/MISC/SETBIT.C	2013-02-26 23:46:12 +0000
@@ -21,7 +21,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/MISC/SOUNDEX.C 004/lib/SOURCE/MISC/SOUNDEX.C
--- 003/lib/SOURCE/MISC/SOUNDEX.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/MISC/SOUNDEX.C	2013-02-26 23:46:12 +0000
@@ -12,13 +12,13 @@
 /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
 
 
-#include <misc.h>
-
 #ifndef __OS2__
   #pragma inline
   #include <model.h>
 #endif
 
+#include <misc.h>
+
 #ifdef DEBUG
   #include <memcheck.h>
 #endif
diff -Nru --ignore-file-name-case 003/lib/SOURCE/MISC/TTOC.C 004/lib/SOURCE/MISC/TTOC.C
--- 003/lib/SOURCE/MISC/TTOC.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/MISC/TTOC.C	2013-02-26 23:46:12 +0000
@@ -16,7 +16,7 @@
 #ifdef __OS2__
   #include <stdio.h>
 #else
-  #pragma inline
+//#pragma inline
   #include <model.h>
 #endif
 #ifdef DEBUG
diff -Nru --ignore-file-name-case 003/lib/SOURCE/MISC/UNSETBIT.C 004/lib/SOURCE/MISC/UNSETBIT.C
--- 003/lib/SOURCE/MISC/UNSETBIT.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/MISC/UNSETBIT.C	2013-02-26 23:46:12 +0000
@@ -21,7 +21,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/BOX.C 004/lib/SOURCE/SCREEN/BOX.C
--- 003/lib/SOURCE/SCREEN/BOX.C	2011-09-06 17:50:52 +0000
+++ 004/lib/SOURCE/SCREEN/BOX.C	2013-02-26 23:46:12 +0000
@@ -12,6 +12,14 @@
 /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
 
 
+#ifndef __OS2__
+  #ifdef _MSC_VER
+    #include <borland.h>
+  #else
+    #pragma inline
+  #endif
+#endif
+
 #include "screen.h"
 #ifdef BIOS
   #include "ansi.h"
@@ -32,11 +40,6 @@
 
 #include <model.h>
 
-  #ifdef _MSC_VER
-    #include <borland.h>
-  #else
-    #pragma inline
-  #endif
 #endif  /* ifdef __OS2__ */
 
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/CLS.C 004/lib/SOURCE/SCREEN/CLS.C
--- 003/lib/SOURCE/SCREEN/CLS.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/CLS.C	2013-02-26 23:46:12 +0000
@@ -23,7 +23,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif /* ifndef __OS2__ */
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/CLSBOX.C 004/lib/SOURCE/SCREEN/CLSBOX.C
--- 003/lib/SOURCE/SCREEN/CLSBOX.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/CLSBOX.C	2013-02-26 23:46:12 +0000
@@ -22,7 +22,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/CLSCOLOR.C 004/lib/SOURCE/SCREEN/CLSCOLOR.C
--- 003/lib/SOURCE/SCREEN/CLSCOLOR.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/CLSCOLOR.C	2013-02-26 23:46:12 +0000
@@ -22,7 +22,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/CURSOR.C 004/lib/SOURCE/SCREEN/CURSOR.C
--- 003/lib/SOURCE/SCREEN/CURSOR.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/CURSOR.C	2013-02-26 23:46:12 +0000
@@ -21,7 +21,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/DATESTR.C 004/lib/SOURCE/SCREEN/DATESTR.C
--- 003/lib/SOURCE/SCREEN/DATESTR.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/DATESTR.C	2013-02-26 23:46:12 +0000
@@ -12,9 +12,6 @@
 /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
 
 
-#include <system.h>
-#include <screen.h>
-
 #ifdef __OS2__
   #include <stdio.h>
 #else
@@ -26,6 +23,9 @@
   #endif
 #endif
 
+#include <system.h>
+#include <screen.h>
+
 
 /********************************************************************
  *
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/FASTPUTC.C 004/lib/SOURCE/SCREEN/FASTPUTC.C
--- 003/lib/SOURCE/SCREEN/FASTPUTC.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/FASTPUTC.C	2013-02-26 23:46:12 +0000
@@ -22,7 +22,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/GOTOXY.C 004/lib/SOURCE/SCREEN/GOTOXY.C
--- 003/lib/SOURCE/SCREEN/GOTOXY.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/GOTOXY.C	2013-02-26 23:46:12 +0000
@@ -24,7 +24,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/PRINTV.C 004/lib/SOURCE/SCREEN/PRINTV.C
--- 003/lib/SOURCE/SCREEN/PRINTV.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/PRINTV.C	2013-02-26 23:46:12 +0000
@@ -23,7 +23,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/READSCR2.C 004/lib/SOURCE/SCREEN/READSCR2.C
--- 003/lib/SOURCE/SCREEN/READSCR2.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/READSCR2.C	2013-02-26 23:46:12 +0000
@@ -22,7 +22,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/SAVEREST.C 004/lib/SOURCE/SCREEN/SAVEREST.C
--- 003/lib/SOURCE/SCREEN/SAVEREST.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/SAVEREST.C	2013-02-26 23:46:12 +0000
@@ -25,7 +25,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/SETATT.C 004/lib/SOURCE/SCREEN/SETATT.C
--- 003/lib/SOURCE/SCREEN/SETATT.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/SETATT.C	2013-02-26 23:46:12 +0000
@@ -22,7 +22,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/SETROWS.C 004/lib/SOURCE/SCREEN/SETROWS.C
--- 003/lib/SOURCE/SCREEN/SETROWS.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/SETROWS.C	2013-02-26 23:46:12 +0000
@@ -15,7 +15,7 @@
 #include "screen.h"
 
 #ifndef __OS2__
-  #pragma inline
+//#pragma inline
 #endif
 
 void LIBENTRY setrows(int NumRows) {
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/TIME1.C 004/lib/SOURCE/SCREEN/TIME1.C
--- 003/lib/SOURCE/SCREEN/TIME1.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/TIME1.C	2013-02-26 23:46:12 +0000
@@ -12,9 +12,6 @@
 /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
 
 
-#include <system.h>
-#include "screen.h"
-
 #ifdef __OS2__
   #include <stdio.h>
 #else
@@ -26,6 +23,9 @@
   #endif
 #endif
 
+#include <system.h>
+#include "screen.h"
+
 
 /********************************************************************
  *
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/TIME2.C 004/lib/SOURCE/SCREEN/TIME2.C
--- 003/lib/SOURCE/SCREEN/TIME2.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/TIME2.C	2013-02-26 23:46:12 +0000
@@ -12,9 +12,6 @@
 /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
 
 
-#include <system.h>
-#include "screen.h"
-
 #ifdef __OS2__
   #include <stdio.h>
 #else
@@ -26,6 +23,9 @@
   #endif
 #endif
 
+#include <system.h>
+#include "screen.h"
+
 
 /********************************************************************
  *
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SCREEN/WHEREY.C 004/lib/SOURCE/SCREEN/WHEREY.C
--- 003/lib/SOURCE/SCREEN/WHEREY.C	1996-08-09 09:48:28 +0000
+++ 004/lib/SOURCE/SCREEN/WHEREY.C	2013-02-26 23:46:12 +0000
@@ -21,7 +21,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SYSTEM/BGETKEY.C 004/lib/SOURCE/SYSTEM/BGETKEY.C
--- 003/lib/SOURCE/SYSTEM/BGETKEY.C	1996-08-09 09:48:30 +0000
+++ 004/lib/SOURCE/SYSTEM/BGETKEY.C	2013-02-26 23:46:12 +0000
@@ -133,7 +133,7 @@
 
 #include <dos.h>
 
-#pragma inline
+//#pragma inline
 
 uint far *KbdStatus = (uint far *) MK_FP(0x40,0x17);
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SYSTEM/SYSDATE.C 004/lib/SOURCE/SYSTEM/SYSDATE.C
--- 003/lib/SOURCE/SYSTEM/SYSDATE.C	1996-08-09 09:48:30 +0000
+++ 004/lib/SOURCE/SYSTEM/SYSDATE.C	2013-02-26 23:46:12 +0000
@@ -26,7 +26,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
diff -Nru --ignore-file-name-case 003/lib/SOURCE/SYSTEM/SYSTIME.C 004/lib/SOURCE/SYSTEM/SYSTIME.C
--- 003/lib/SOURCE/SYSTEM/SYSTIME.C	1996-08-09 09:48:30 +0000
+++ 004/lib/SOURCE/SYSTEM/SYSTIME.C	2013-02-26 23:46:12 +0000
@@ -26,7 +26,7 @@
   #ifdef _MSC_VER
     #include <borland.h>
   #else
-    #pragma inline
+//  #pragma inline
   #endif
 #endif
 
