diff -Nru --ignore-file-name-case 004/main/153/PCB_BC31.RES 005/main/153/pcb_bc31.res
--- 004/main/153/PCB_BC31.RES	1996-08-14 06:32:06 +0000
+++ 005/main/153/pcb_bc31.res	2013-02-26 23:46:20 +0000
@@ -1,128 +1,128 @@
-/o- \proj\pcb\obj\bc31\noscroll.obj+
-/o- \proj\lib\bcdos\bc31\misc\large\swap.obj+
-/o- \proj\pcb\obj\bc31\pcboard.obj+
-/o- \proj\pcb\obj\bc31\overlay.obj+
-/o- \proj\pcb\obj\bc31\inkey.obj+
-/o- \proj\pcb\obj\bc31\memory.obj+
-/o- \proj\pcb\obj\bc31\modem.obj+
-/o- \proj\pcb\obj\bc31\dosopen.obj+
-/o- \proj\pcb\obj\bc31\dosclose.obj+
-/o- \proj\pcb\obj\bc31\dosread.obj+
-/o- \proj\pcb\obj\bc31\doswrite.obj+
-/o- \proj\pcb\obj\bc31\dostime.obj+
-/o- \proj\pcb\obj\bc31\ansi.obj+
-/o- \proj\pcb\obj\bc31\async.obj+
-/o- \proj\pcb\obj\bc31\bgkey.obj+
-/o- \proj\pcb\obj\bc31\cutil.obj+
-/o- \proj\pcb\obj\bc31\memmove.obj+
-/o- \proj\pcb\obj\bc31\timer.obj+
-/o- \proj\pcb\obj\bc31\display.obj+
-/o- \proj\pcb\obj\bc31\xlate.obj+
-/o- \proj\pcb\obj\bc31\devioctl.obj+
-/o- \proj\pcb\obj\bc31\VAR.obj+
-/o- \proj\pcb\obj\bc31\ticdelay.obj+
-/o+ \proj\pcb\obj\bc31\init.obj+
-/o+ \proj\pcb\obj\bc31\pcbtext.obj+
-/o+ \proj\pcb\obj\bc31\language.obj+
-/o+ \proj\pcb\obj\bc31\sys.obj+
-/o+ \proj\pcb\obj\bc31\log.obj+
-/o+ \proj\pcb\obj\bc31\token.obj+
-/o+ \proj\pcb\obj\bc31\users.obj+
-/o+ \proj\pcb\obj\bc31\usernet.obj+
-/o+ \proj\pcb\obj\bc31\stats.obj+
-/o+ \proj\pcb\obj\bc31\screen.obj+
-/o+ \proj\pcb\obj\bc31\callwait.obj+
-/o+ \proj\pcb\obj\bc31\account.obj+
-/o+ \proj\pcb\obj\bc31\blt.obj+
-/o+ \proj\pcb\obj\bc31\capture.obj+
-/o+ \proj\pcb\obj\bc31\chat.obj+
-/o+ \proj\pcb\obj\bc31\cmds.obj+
-/o+ \proj\pcb\obj\bc31\command.obj+
-/o+ \proj\pcb\obj\bc31\crc32.obj+
-/o+ \proj\pcb\obj\bc31\confrnce.obj+
-/o+ \proj\pcb\obj\bc31\copyfile.obj+
-/o+ \proj\pcb\obj\bc31\dir.obj+
-/o+ \proj\pcb\obj\bc31\diz.obj+
-/o+ \proj\pcb\obj\bc31\dlpath.obj+
-/o+ \proj\pcb\obj\bc31\doors.obj+
-/o+ \proj\pcb\obj\bc31\event.obj+
-/o+ \proj\pcb\obj\bc31\data.obj+
-/o+ \proj\pcb\obj\bc31\passthru.obj+
-/o+ \proj\pcb\obj\bc31\fidomenu.obj+
-/o+ \proj\pcb\obj\bc31\fidomisc.obj+
-/o+ \proj\pcb\obj\bc31\filelist.obj+
-/o+ \proj\pcb\obj\bc31\files.obj+
-/o+ \proj\pcb\obj\bc31\help.obj+
-/o+ \proj\pcb\obj\bc31\index.obj+
-/o+ \proj\pcb\obj\bc31\input.obj+
-/o+ \proj\pcb\obj\bc31\logview.obj+
-/o+ \proj\pcb\obj\bc31\login.obj+
-/o+ \proj\pcb\obj\bc31\msgbase.obj+
-/o+ \proj\pcb\obj\bc31\messages.obj+
-/o+ \proj\pcb\obj\bc31\misc.obj+
-/o+ \proj\pcb\obj\bc31\modemasy.obj+
-/o+ \proj\pcb\obj\bc31\modemfos.obj+
-/o+ \proj\pcb\obj\bc31\modemdrv.obj+
-/o+ \proj\pcb\obj\bc31\modemos2.obj+
-/o+ \proj\pcb\obj\bc31\msgenter.obj+
-/o+ \proj\pcb\obj\bc31\msgread.obj+
-/o+ \proj\pcb\obj\bc31\msgscan.obj+
-/o+ \proj\pcb\obj\bc31\newchat.obj+
-/o+ \proj\pcb\obj\bc31\node.obj+
-/o+ \proj\pcb\obj\bc31\pcbtoss.obj+
-/o+ \proj\pcb\obj\bc31\tossmisc.obj+
-/o+ \proj\pcb\obj\bc31\ratio.obj+
-/o+ \proj\pcb\obj\bc31\recycle.obj+
-/o+ \proj\pcb\obj\bc31\script.obj+
-/o+ \proj\pcb\obj\bc31\scrlback.obj+
-/o+ \proj\pcb\obj\bc31\settings.obj+
-/o+ \proj\pcb\obj\bc31\shell.obj+
-/o+ \proj\pcb\obj\bc31\showerr.obj+
-/o+ \proj\pcb\obj\bc31\status.obj+
-/o+ \proj\pcb\obj\bc31\transfer.obj+
-/o+ \proj\pcb\obj\bc31\userstat.obj+
-/o+ \proj\pcb\obj\bc31\usersys.obj+
-/o+ \proj\pcb\obj\bc31\userscan.obj+
-/o+ \proj\pcb\obj\bc31\usrmaint.obj+
-/o+ \proj\pcb\obj\bc31\FILESTUB.obj+
-/o+ \proj\pcb\obj\bc31\LABEL.obj+
-/o+ \proj\pcb\obj\bc31\SCRMISC.obj+
-/o+ \proj\pcb\obj\bc31\NEWSCR.obj+
-/o+ \proj\pcb\obj\bc31\PCBMISC.obj+
-/o+ \proj\pcb\obj\bc31\SCREXEC.obj+
-/o+ \proj\pcb\obj\bc31\EVALP.obj+
-/o+ \proj\pcb\obj\bc31\EXECDB.obj+
-/o+ \proj\pcb\obj\bc31\MENU.obj+
-/o+ \proj\pcb\obj\bc31\LRAND.obj+
-/o+ \proj\pcb\obj\bc31\DBASE.obj+
-/o+ \proj\pcb\obj\bc31\recemsi.obj+
-/o+ \proj\pcb\obj\bc31\fconfig.obj+
-/o+ \proj\pcb\obj\bc31\hex.obj+
-/o+ \proj\pcb\obj\bc31\crc-16f.obj+
-/o+ \proj\pcb\obj\bc31\xmitemsi.obj+
-/o+ \proj\pcb\obj\bc31\fidofunc.obj+
-/o+ \proj\pcb\obj\bc31\recwazoo.obj+
-/o+ \proj\pcb\obj\bc31\umwf.obj+
-/o+ \proj\pcb\obj\bc31\pcbmsgs.obj+
-/o- \proj\pcb\obj\bc31\msgstub.obj+
-/o+ \proj\pcb\obj\bc31\fidoque.obj+
-/o+ \proj\pcb\obj\bc31\fidomsg.obj+
-/o+ \proj\pcb\obj\bc31\seenby.obj+
-/o+ \proj\pcb\obj\bc31\dupechec.obj+
-/o+ \proj\lib\bcdos\bc31\misc\large\bmsearch.obj+
-/o+ \proj\lib\bcdos\bc31\misc\large\psearch.obj+
-/o+ \proj\lib\bcdos\bc31\misc\large\julian.obj+
-/o+ \proj\lib\bcdos\bc31\misc\large\ctod.obj+
-/o+ \proj\lib\bcdos\bc31\misc\large\append.obj+
-/o+ \proj\lib\bcdos\bc31\misc\large\proper.obj+
-/o+ \proj\lib\bcdos\bc31\misc\large\diskfree.obj+
-/o+ \proj\lib\bcdos\bc31\misc\large\subst.obj+
-/o+ \proj\lib\bcdos\bc31\dos\large\doserror.obj+
-/o+ \proj\lib\bcdos\bc31\dos\large\dosfread.obj+
-/o+ \proj\lib\bcdos\bc31\dos\large\dosfgets.obj+
-/o+ \proj\lib\bcdos\bc31\dos\large\dosfugts.obj+
-/o+ \proj\lib\bcdos\bc31\pcb\large\datafil2.obj+
-/o+ \proj\lib\bcdos\bc31\pcb\large\cnames.obj+
-/o+ \proj\lib\bcdos\bc31\country\large\country.obj+
-/o+ \proj\lib\bcdos\bc31\screen\large\getmode.obj+
-/o+ \proj\lib\bcdos\bc31\screen\large\box.obj
+/o- obj\bc31\noscroll.obj+
+/o- ..\lib\bcdos\bc31\misc\large.386\swap.obj+
+/o- obj\bc31\pcboard.obj+
+/o- obj\bc31\overlay.obj+
+/o- obj\bc31\inkey.obj+
+/o- obj\bc31\memory.obj+
+/o- obj\bc31\modem.obj+
+/o- obj\bc31\dosopen.obj+
+/o- obj\bc31\dosclose.obj+
+/o- obj\bc31\dosread.obj+
+/o- obj\bc31\doswrite.obj+
+/o- obj\bc31\dostime.obj+
+/o- obj\bc31\ansi.obj+
+/o- obj\bc31\async.obj+
+/o- obj\bc31\bgkey.obj+
+/o- obj\bc31\cutil.obj+
+/o- obj\bc31\memmove.obj+
+/o- obj\bc31\timer.obj+
+/o- obj\bc31\display.obj+
+/o- obj\bc31\xlate.obj+
+/o- obj\bc31\devioctl.obj+
+/o- obj\bc31\var.obj+
+/o- obj\bc31\ticdelay.obj+
+/o  obj\bc31\init.obj+
+/o  obj\bc31\pcbtext.obj+
+/o  obj\bc31\language.obj+
+/o  obj\bc31\sys.obj+
+/o  obj\bc31\log.obj+
+/o  obj\bc31\token.obj+
+/o  obj\bc31\users.obj+
+/o  obj\bc31\usernet.obj+
+/o  obj\bc31\stats.obj+
+/o  obj\bc31\screen.obj+
+/o  obj\bc31\callwait.obj+
+/o  obj\bc31\account.obj+
+/o  obj\bc31\blt.obj+
+/o  obj\bc31\capture.obj+
+/o  obj\bc31\chat.obj+
+/o  obj\bc31\cmds.obj+
+/o  obj\bc31\command.obj+
+/o  obj\bc31\crc32.obj+
+/o  obj\bc31\confrnce.obj+
+/o  obj\bc31\copyfile.obj+
+/o  obj\bc31\dir.obj+
+/o  obj\bc31\diz.obj+
+/o  obj\bc31\dlpath.obj+
+/o  obj\bc31\doors.obj+
+/o  obj\bc31\event.obj+
+/o  obj\bc31\data.obj+
+/o  obj\bc31\passthru.obj+
+/o  obj\bc31\fidomenu.obj+
+/o  obj\bc31\fidomisc.obj+
+/o  obj\bc31\filelist.obj+
+/o  obj\bc31\files.obj+
+/o  obj\bc31\help.obj+
+/o  obj\bc31\index.obj+
+/o  obj\bc31\input.obj+
+/o  obj\bc31\logview.obj+
+/o  obj\bc31\login.obj+
+/o  obj\bc31\msgbase.obj+
+/o  obj\bc31\messages.obj+
+/o  obj\bc31\misc.obj+
+/o  obj\bc31\modemasy.obj+
+/o  obj\bc31\modemfos.obj+
+/o  obj\bc31\modemdrv.obj+
+/o  obj\bc31\modemos2.obj+
+/o  obj\bc31\msgenter.obj+
+/o  obj\bc31\msgread.obj+
+/o  obj\bc31\msgscan.obj+
+/o  obj\bc31\newchat.obj+
+/o  obj\bc31\node.obj+
+/o  obj\bc31\pcbtoss.obj+
+/o  obj\bc31\tossmisc.obj+
+/o  obj\bc31\ratio.obj+
+/o  obj\bc31\recycle.obj+
+/o  obj\bc31\script.obj+
+/o  obj\bc31\scrlback.obj+
+/o  obj\bc31\settings.obj+
+/o  obj\bc31\shell.obj+
+/o  obj\bc31\showerr.obj+
+/o  obj\bc31\status.obj+
+/o  obj\bc31\transfer.obj+
+/o  obj\bc31\userstat.obj+
+/o  obj\bc31\usersys.obj+
+/o  obj\bc31\userscan.obj+
+/o  obj\bc31\usrmaint.obj+
+/o  obj\bc31\filestub.obj+
+/o  obj\bc31\label.obj+
+/o  obj\bc31\scrmisc.obj+
+/o  obj\bc31\newscr.obj+
+/o  obj\bc31\pcbmisc.obj+
+/o  obj\bc31\screxec.obj+
+/o  obj\bc31\evalp.obj+
+/o  obj\bc31\execdb.obj+
+/o  obj\bc31\menu.obj+
+/o  obj\bc31\lrand.obj+
+/o  obj\bc31\dbase.obj+
+/o  obj\bc31\recemsi.obj+
+/o  obj\bc31\fconfig.obj+
+/o  obj\bc31\hex.obj+
+/o  obj\bc31\crc-16f.obj+
+/o  obj\bc31\xmitemsi.obj+
+/o  obj\bc31\fidofunc.obj+
+/o  obj\bc31\recwazoo.obj+
+/o  obj\bc31\umwf.obj+
+/o  obj\bc31\pcbmsgs.obj+
+/o- obj\bc31\msgstub.obj+
+/o  obj\bc31\fidoque.obj+
+/o  obj\bc31\fidomsg.obj+
+/o  obj\bc31\seenby.obj+
+/o  obj\bc31\dupechec.obj+
+/o  ..\lib\bcdos\bc31\misc\large.386\bmsearch.obj+
+/o  ..\lib\bcdos\bc31\misc\large.386\psearch.obj+
+/o  ..\lib\bcdos\bc31\misc\large.386\julian.obj+
+/o  ..\lib\bcdos\bc31\misc\large.386\ctod.obj+
+/o  ..\lib\bcdos\bc31\misc\large.386\diskfree.obj+
+/o  ..\lib\bcdos\bc31\misc\large.386\append.obj+
+/o  ..\lib\bcdos\bc31\misc\large.386\proper.obj+
+/o  ..\lib\bcdos\bc31\misc\large.386\subst.obj+
+/o  ..\lib\bcdos\bc31\dos\large.386\doserror.obj+
+/o  ..\lib\bcdos\bc31\dos\large.386\dosfread.obj+
+/o  ..\lib\bcdos\bc31\dos\large.386\dosfgets.obj+
+/o  ..\lib\bcdos\bc31\dos\large.386\dosfugts.obj+
+/o  ..\lib\bcdos\bc31\pcb\large.386\datafil2.obj+
+/o  ..\lib\bcdos\bc31\pcb\large.386\cnames.obj+
+/o  ..\lib\bcdos\bc31\country\large.386\country.obj+
+/o  ..\lib\bcdos\bc31\screen\large.386\getmode.obj+
+/o  ..\lib\bcdos\bc31\screen\large.386\box.obj
diff -Nru --ignore-file-name-case 004/main/153/PCBOARD.MAK 005/main/153/PCBOARD.MAK
--- 004/main/153/PCBOARD.MAK	2013-02-26 23:46:20 +0000
+++ 005/main/153/PCBOARD.MAK	2013-03-02 20:28:50 +0000
@@ -136,19 +136,13 @@
 GEN = $(GEN) -DPCB_DEMO
 !endif
 
-!if $d(386) && ! $d(TC30)    # TC 3.0 does not support 386 compilation
 COPT   = $(COPT) -3 /DCPU386
 ASMOPT = $(ASMOPT) /DCPU386
-EXT    = 386
-LIBEXT = 386
-RES    = PCB_$(BCCOMPILER).386
-!else
-EXT    = RES
+EXT    = LIB
 LIBEXT = LIB
 RES    = PCB_$(BCCOMPILER).RES
-!endif
 
-LIBS = $(VERSION)\LIBS$(BCCOMPILER).$(EXT)
+LIBS = $(VERSION)\LIBS_$(BCCOMPILER).RES
 
 #source code generation options
 CODEOPT = -D$(GEN) -D$(COM) -D$(STATS) -D$(NUMNODES) -D$(DRV) -D$(DEFFIDO) -DKEY=KEY_$(NODES)
diff -Nru --ignore-file-name-case 004/main/153/PPLC.MAK 005/main/153/PPLC.MAK
--- 004/main/153/PPLC.MAK	1996-08-10 23:30:58 +0000
+++ 005/main/153/PPLC.MAK	2013-03-02 20:28:50 +0000
@@ -48,36 +48,54 @@
 !endif
 
 SRCDEF  = ___COMP___
-OBJPTH  = d:\proj\pcb\obj\ppl\ # Comment needed to keep \ from continuing to next line
+OBJPTH  = obj\pplc\ # Comment needed to keep \ from continuing to next line
 DSTNAME = pplc
 MODEL   = l
+VERSION = 153
 
-OBJLST  = d:\proj\pcb\obj\ppl\scomp.obj    \
-          d:\proj\pcb\obj\ppl\newscr.obj   \
-          d:\proj\pcb\obj\ppl\scrcomp.obj  \
-          d:\proj\pcb\obj\ppl\scrmisc.obj  \
-          d:\proj\pcb\obj\ppl\pcbmisc.obj  \
-          d:\proj\pcb\obj\ppl\var.obj      \
-          d:\proj\pcb\obj\ppl\label.obj    \
-          d:\proj\pcb\obj\ppl\ceh.obj      \
-          d:\proj\pcb\obj\ppl\h2name.obj
-
-LIBLST  = misc_$(MODEL).lib          \
-          pcbkit_$(MODEL).lib        \
-          math$(MODEL).lib           \
-          emu.lib                    \
-          c$(MODEL).lib
+OBJLST  = $(OBJPTH)scomp.obj    \
+	  $(OBJPTH)newscr.obj   \
+          $(OBJPTH)scrcomp.obj  \
+          $(OBJPTH)scrmisc.obj  \
+          $(OBJPTH)pcbmisc.obj  \
+          $(OBJPTH)var.obj      \
+          $(OBJPTH)label.obj    \
+          $(OBJPTH)ceh.obj
+
+
+LIBLST  = misc_$(MODEL)   \
+          country$(MODEL) \
+          pcbkit_$(MODEL) \
+          math$(MODEL)    \
+          emu             \
+          misc_$(MODEL)   \
+          c$(MODEL)
 
 ################################################################################
 
 .path.obj = $(OBJPTH)
-.path.c   = d:\proj\pcb\source\compiler
+.path.c   = source\ppl
+.path.cpp = source\ppl
+
+################################################################################
+
+INCPTH = $(INCPTH)..\..\b\c31\include;
+INCPTH = $(INCPTH)source\h;
+INCPTH = $(INCPTH)..\lib\h
+
+LIBPTH = $(LIBPTH)..\..\b\c31\lib;
+LIBPTH = $(LIBPTH)..\lib\bcdos\bc31;
+LIBPTH = $(LIBPTH)obj\pplc;
 
 ################################################################################
 
 CC = bcc
 CO = -c -m$(MODEL)
 CD = -DLIB;COMM;$(SRCDEF)
+CI = -I$(INCPTH)
+RES = $(VERSION)\PPLC.RES
+CFG = $(VERSION)\PPLC.CFG
+MAK = $(VERSION)\PPLC.MAK
 
 AC = tasm.exe
 AO = /m3
@@ -124,41 +142,216 @@
 
 ################################################################################
 
-INCPTH = $(INCPTH)e:\tc\h;
-INCPTH = $(INCPTH)d:\proj\pcb\source\h;
-INCPTH = $(INCPTH)d:\proj\lib\h
-
-LIBPTH = $(LIBPTH)e:\tc\lib;
-LIBPTH = $(LIBPTH)d:\proj\lib\bcdos
-
-################################################################################
-
 # Implicit Rules
 
 .c.obj:
-        $(CC) $(CO) $(CD) {$< }
+	$(CC) @$(RES) $(CO) $(CD) {$< }
 
-{d:\proj\pcb\source\compiler}.cpp.obj:
-        $(CC) $(CO) $(CD) {$< }
+.cpp.obj:
+	$(CC) @$(RES) $(CO) $(CD) {$< }
 
-{d:\proj\pcb\source\ppl}.cpp.obj:
-        $(CC) $(CO) $(CD) {$< }
+{source\compiler}.c.obj:
+        $(CC) /P @$(RES) $(CO) $(CD) {$< }
 
-{x:\sdrlib}.cpp.obj:
-        $(CC) $(CO) $(CD) {$< }
+{source\compiler}.cpp.obj:
+        $(CC) @$(RES) $(CO) $(CD) {$< }
 
-{d:\proj\pcb\source\compiler}.asm.obj:
+{source\compiler}.asm.obj:
         $(AC) $(AO) $<,$(OBJPTH)$&
 
+{..\lib\source\dos}.c.obj:
+        $(CC) @$(RES) @..\lib\cfg\bc31\all.res $(CO) $(CD) {$< }
+
+{..\lib\source\dos}.asm.obj:
+        $(AC) $(AO) -d__l__ $<,$(OBJPTH)$&
+
+{..\lib\source\misc}.c.obj:
+        $(CC) @$(RES) @..\lib\cfg\bc31\all.res $(CO) $(CD) {$< }
+
+{..\lib\source\country}.c.obj:
+        $(CC) @$(RES) @..\lib\cfg\bc31\all.res $(CO) $(CD) {$< }
+
+{..\lib\source\system}.c.obj:
+        $(CC) @$(RES) @..\lib\cfg\bc31\all.res $(CO) $(CD) {$< }
+
+{..\lib\source\toolkit}.c.obj:
+        $(CC) @$(RES) @..\lib\cfg\bc31\all.res $(CO) $(CD) {$< }
+
 ################################################################################
 
 # Explicit Rules
 
-d:\proj\pcb\obj\ppl\pplc.exe: $(OBJLST)
-        $(LC) $(LO) /L$(LIBPTH) @&&|
-c0$(MODEL).obj $(**:turboc.cfg=)
-d:\proj\pcb\obj\ppl\pplc.exe
-# No map file
+all: $(RES) $(CFG) pcbkit $(DSTNAME)
+
+$(DSTNAME): $(OBJLST)
+        $(LC) $(LO) /x /L$(LIBPTH) @&&|
+c0$(MODEL) $(**:pplc.cfg=)
+obj\pplc\pplc
+#obj\pplc\pplc
 $(LIBLST)
 |
 
+pcbkit: \
+	  obj\pplc\addchar.obj  \
+	  obj\pplc\ascii.obj    \
+	  obj\pplc\chkappen.obj \
+	  obj\pplc\chkcreat.obj \
+	  obj\pplc\chkopen.obj  \
+	  obj\pplc\chkread.obj  \
+	  obj\pplc\chkwrite.obj \
+	  obj\pplc\crypt.obj    \
+	  obj\pplc\date.obj     \
+	  obj\pplc\dosappen.obj \
+	  obj\pplc\dosclose.obj \
+	  obj\pplc\doscomit.obj \
+	  obj\pplc\doscreat.obj \
+	  obj\pplc\dosdup.obj   \
+	  obj\pplc\dosfgets.obj \
+	  obj\pplc\dosflush.obj \
+	  obj\pplc\dosfopen.obj \
+	  obj\pplc\dosopen.obj  \
+	  obj\pplc\dosfclos.obj \
+	  obj\pplc\doslseek.obj \
+	  obj\pplc\dosread.obj  \
+	  obj\pplc\dosrewin.obj \
+	  obj\pplc\dostrunc.obj \
+	  obj\pplc\doswrite.obj \
+	  obj\pplc\exist.obj    \
+	  obj\pplc\extended.obj \
+          obj\pplc\h2name.obj   \
+	  obj\pplc\isopen.obj   \
+          obj\pplc\int24hnd.obj \
+	  obj\pplc\julian.obj   \
+	  obj\pplc\rle.obj      \
+	  obj\pplc\stripr.obj   \
+	  obj\pplc\stripl.obj   \
+	  obj\pplc\strnchr.obj  \
+	  obj\pplc\sysdate.obj
+
+		del $(OBJPTH)\pcbkit_$(MODEL)
+
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\h2name
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\dosfopen
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\dosfgets
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\crypt
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\rle
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\stripr
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\addchar
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\stripl
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\julian
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\ascii
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\chkcreat
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\date
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\exist
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\chkopen
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\chkwrite
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\dosopen
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\dosclose
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\dosfclos
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\doslseek
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\dosrewin
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\dosdup
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\dosflush
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\chkread
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\chkappen
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\extended
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\dostrunc
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\dosread
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\doswrite
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\isopen
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\doscomit
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\strnchr
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\sysdate
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\doscreat
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\dosappen
+		tlib $(OBJPTH)\pcbkit_$(MODEL) + $(OBJPTH)\int24hnd
+
+################################################################################
+# Compiler Configuration File
+################################################################################
+$(CFG): $(MAK)
+  copy &&|
+-w-eas
+-wbbf
+-wbig
+-wdpu
+-wdup
+-wext
+-wpin
+-wret
+-wstu
+-wsus
+-wvoi
+-wzdi
+-wamb
+-wamp
+-wasm
+-waus
+-wccc
+-wdef
+-weff
+-wias
+-will
+-wnod
+-wpar
+-wpia
+-wpro
+-wrch
+-wrvl
+-wstv
+-wuse
+-wcln
+-wcpt
+-wrng
+-wrpt
+-wsig
+-wucp
+-wbei
+-wdsz
+-whid
+-wibc
+-winl
+-wlin
+-wlvc
+-wmpc
+-wmpd
+-wncf
+-wnci
+-wnst
+-wnvf
+-wobi
+-wofp
+-wovl
+-wpre
+-ff
+-f
+-K
+-Y
+-d
+-nOBJ\ppl
+-I..\..\b\c31\include;source\h;..\lib\h;source\compiler
+-L..\..\b\c31\lib;..\lib\bcdos\bc31;
+-DPCBOARD
+-DPCBCOMM
+-DOSDRIVER
+-DFOSSIL
+-DBIGNDX
+-D___USE_VAR___
+-DS4ERROR_HOOK
+-DNDEBUG
+-DPCB152
+-DPCB153
+-DDBASE
+-DMG
+-DTOSSCLASS
+| $(CFG)
+
+################################################################################
+# Compiler Configuration File
+################################################################################
+$(RES): $(MAK)
+  copy &&|
+-I..\..\b\c31\include;source\h;..\lib\h;source\compiler
+-L..\..\b\c31\lib;..\lib\bcdos\bc31;obj\pplc
+-nobj\pplc
+| $(RES)
diff -Nru --ignore-file-name-case 004/main/153/usedbc31 005/main/153/usedbc31
--- 004/main/153/usedbc31	1970-01-01 00:00:00 +0000
+++ 005/main/153/usedbc31	2013-03-02 20:28:50 +0000
@@ -0,0 +1 @@
+Now using bc31 to compile PCBoard. 
diff -Nru --ignore-file-name-case 004/main/COMPILE.BAT 005/main/COMPILE.BAT
--- 004/main/COMPILE.BAT	2012-04-26 02:30:10 +0000
+++ 005/main/COMPILE.BAT	2013-03-02 20:28:50 +0000
@@ -32,7 +32,7 @@
 rem  one and, in the process, it will delete the PCBOARD.CFG file and let the
 rem  PCBOARD.MAK file create a new one.
 
-if exist 153\libsbc31.386 del 153\libsbc31.386
+if exist 153\libs_bc31.res del 153\libs_bc31.res
 if exist 153\pcboard.cfg del 153\pcboard.cfg
 if exist 153\used%bccompiler% goto continue
 echo Now using %bccompiler% to compile PCBoard. > 153\used%bccompiler%
diff -Nru --ignore-file-name-case 004/main/pplc.bat 005/main/pplc.bat
--- 004/main/pplc.bat	1970-01-01 00:00:00 +0000
+++ 005/main/pplc.bat	2013-03-02 20:28:50 +0000
@@ -0,0 +1,12 @@
+@echo off
+
+call bcdos.bat
+
+if exist 153\pplc.res del 153\pplc.res
+if exist 153\pplc.cfg del 153\pplc.cfg
+
+IF NOT EXIST OBJ\PPLC\NUL mkdir OBJ\PPLC
+
+%MAKE% -f153\pplc.mak > errors
+rem start g32 errors
+
diff -Nru --ignore-file-name-case 004/main/SOURCE/PPL/SCRMISC.CPP 005/main/SOURCE/PPL/SCRMISC.CPP
--- 004/main/SOURCE/PPL/SCRMISC.CPP	1996-08-09 09:51:50 +0000
+++ 005/main/SOURCE/PPL/SCRMISC.CPP	2013-03-02 20:28:50 +0000
@@ -64,6 +64,12 @@
 
 #ifdef LIB
 
+#if defined(__LARGE__) || defined (__COMPACT__)
+statustype far Status;
+#else
+statustype Status;
+#endif
+
 char *errText[] =
 {
 #ifdef PCBTEXT
