diff -Nru --ignore-file-name-case 005/main/153/PCBOARD.MAK 006/main/153/PCBOARD.MAK
--- 005/main/153/PCBOARD.MAK	2013-03-02 20:28:50 +0000
+++ 006/main/153/PCBOARD.MAK	2013-03-02 20:45:46 +0000
@@ -136,13 +136,19 @@
 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    = LIB
+EXT    = 386
+LIBEXT = 386
+RES    = PCB_$(BCCOMPILER).386
+!else
+EXT    = RES
 LIBEXT = LIB
 RES    = PCB_$(BCCOMPILER).RES
+!endif
 
-LIBS = $(VERSION)\LIBS_$(BCCOMPILER).RES
+LIBS = $(VERSION)\LIBS$(BCCOMPILER).$(EXT)
 
 #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 005/main/153/PPLC.MAK 006/main/153/PPLC.MAK
--- 005/main/153/PPLC.MAK	2013-03-02 20:28:50 +0000
+++ 006/main/153/PPLC.MAK	2013-03-02 20:45:46 +0000
@@ -48,54 +48,36 @@
 !endif
 
 SRCDEF  = ___COMP___
-OBJPTH  = obj\pplc\ # Comment needed to keep \ from continuing to next line
+OBJPTH  = d:\proj\pcb\obj\ppl\ # Comment needed to keep \ from continuing to next line
 DSTNAME = pplc
 MODEL   = l
-VERSION = 153
 
-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)
+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
 
 ################################################################################
 
 .path.obj = $(OBJPTH)
-.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;
+.path.c   = d:\proj\pcb\source\compiler
 
 ################################################################################
 
 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
@@ -142,216 +124,41 @@
 
 ################################################################################
 
-# Implicit Rules
-
-.c.obj:
-	$(CC) @$(RES) $(CO) $(CD) {$< }
-
-.cpp.obj:
-	$(CC) @$(RES) $(CO) $(CD) {$< }
-
-{source\compiler}.c.obj:
-        $(CC) /P @$(RES) $(CO) $(CD) {$< }
+INCPTH = $(INCPTH)e:\tc\h;
+INCPTH = $(INCPTH)d:\proj\pcb\source\h;
+INCPTH = $(INCPTH)d:\proj\lib\h
 
-{source\compiler}.cpp.obj:
-        $(CC) @$(RES) $(CO) $(CD) {$< }
+LIBPTH = $(LIBPTH)e:\tc\lib;
+LIBPTH = $(LIBPTH)d:\proj\lib\bcdos
 
-{source\compiler}.asm.obj:
-        $(AC) $(AO) $<,$(OBJPTH)$&
+################################################################################
 
-{..\lib\source\dos}.c.obj:
-        $(CC) @$(RES) @..\lib\cfg\bc31\all.res $(CO) $(CD) {$< }
+# Implicit Rules
 
-{..\lib\source\dos}.asm.obj:
-        $(AC) $(AO) -d__l__ $<,$(OBJPTH)$&
+.c.obj:
+        $(CC) $(CO) $(CD) {$< }
 
-{..\lib\source\misc}.c.obj:
-        $(CC) @$(RES) @..\lib\cfg\bc31\all.res $(CO) $(CD) {$< }
+{d:\proj\pcb\source\compiler}.cpp.obj:
+        $(CC) $(CO) $(CD) {$< }
 
-{..\lib\source\country}.c.obj:
-        $(CC) @$(RES) @..\lib\cfg\bc31\all.res $(CO) $(CD) {$< }
+{d:\proj\pcb\source\ppl}.cpp.obj:
+        $(CC) $(CO) $(CD) {$< }
 
-{..\lib\source\system}.c.obj:
-        $(CC) @$(RES) @..\lib\cfg\bc31\all.res $(CO) $(CD) {$< }
+{x:\sdrlib}.cpp.obj:
+        $(CC) $(CO) $(CD) {$< }
 
-{..\lib\source\toolkit}.c.obj:
-        $(CC) @$(RES) @..\lib\cfg\bc31\all.res $(CO) $(CD) {$< }
+{d:\proj\pcb\source\compiler}.asm.obj:
+        $(AC) $(AO) $<,$(OBJPTH)$&
 
 ################################################################################
 
 # Explicit Rules
 
-all: $(RES) $(CFG) pcbkit $(DSTNAME)
-
-$(DSTNAME): $(OBJLST)
-        $(LC) $(LO) /x /L$(LIBPTH) @&&|
-c0$(MODEL) $(**:pplc.cfg=)
-obj\pplc\pplc
-#obj\pplc\pplc
+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
 $(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 005/main/153/usedbc31 006/main/153/usedbc31
--- 005/main/153/usedbc31	2013-03-02 20:28:50 +0000
+++ 006/main/153/usedbc31	1970-01-01 00:00:00 +0000
@@ -1 +0,0 @@
-Now using bc31 to compile PCBoard. 
diff -Nru --ignore-file-name-case 005/main/COMPILE.BAT 006/main/COMPILE.BAT
--- 005/main/COMPILE.BAT	2013-03-02 20:28:50 +0000
+++ 006/main/COMPILE.BAT	2013-03-02 20:45:46 +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\libs_bc31.res del 153\libs_bc31.res
+if exist 153\libsbc31.386 del 153\libsbc31.386
 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 005/main/pplc.bat 006/main/pplc.bat
--- 005/main/pplc.bat	2013-03-02 20:28:50 +0000
+++ 006/main/pplc.bat	1970-01-01 00:00:00 +0000
@@ -1,12 +0,0 @@
-@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 005/main/SOURCE/PPL/SCRMISC.CPP 006/main/SOURCE/PPL/SCRMISC.CPP
--- 005/main/SOURCE/PPL/SCRMISC.CPP	2013-03-02 20:28:50 +0000
+++ 006/main/SOURCE/PPL/SCRMISC.CPP	2013-03-02 20:45:46 +0000
@@ -64,12 +64,6 @@
 
 #ifdef LIB
 
-#if defined(__LARGE__) || defined (__COMPACT__)
-statustype far Status;
-#else
-statustype Status;
-#endif
-
 char *errText[] =
 {
 #ifdef PCBTEXT
