 cd \tbird\m332\actor
 
@echo Create Release Disks (rel332.bat) >> c:\tbird\m332\bldtime.log
c:\dos\asctime >> c:\tbird\m332\bldtime.log

rem  *** create temporary working directory ***
mkdir cfg
mkdir dll1
mkdir dll2
mkdir dll3
mkdir dll4
mkdir nfsnet
mkdir lannet
mkdir samp332
mkdir sampcp32
mkdir samphc16
mkdir teknotes

rem *** create directories for release diskettes ***
mkdir disk1
mkdir disk2
mkdir diskx
mkdir pcnfs
mkdir lanservr

rem ** copy files to subdirectory for compression ***
copy \tbird\m332\addr\addr.dll dll1
copy \tbird\m332\baselib\baselib.dll dll1
copy \tbird\m332\bkptexec\bkptexec.dll dll1	
copy \tbird\m332\bkroot\bkroot.dll dll1  
copy \tbird\m332\cliulib\cliulib.dll dll1 	
copy \tbird\m332\cpu\cpu.dll dll1     	
copy dll1 .
\tools\bc\bin\tdstrip dll1\*.dll

copy \tbird\m332\dasm\dasm16.dll dll2    	
copy \tbird\m332\dasm\dasm32.dll dll2    	
copy \tbird\m332\enlib\enlib.dll dll2   	
copy \tbird\m332\errtext\errtext.dll dll2
copy \tbird\m332\trace\event.dll dll2   	
copy \tbird\m332\trace\evttmplt.dll dll2	
copy \tbird\m332\l695\ld695.dll dll2   	
copy \tbird\m332\malloc\malloc.dll dll2  
copy dll2 .
\tools\bc\bin\tdstrip dll2\*.dll

copy \tbird\m332\map\map.dll dll3	
copy \tbird\m332\mem\mem.dll dll3    	
copy \tbird\m332\peri\peri.dll dll3    	
copy \tbird\m332\proc\proc.dll dll3    	
copy \tbird\m332\sds\sdserver.dll dll3
copy \tbird\m332\loader\srec\srec.dll dll3	
copy \tbird\m332\stkservr\stkservr.dll dll3	
copy dll3 .
\tools\bc\bin\tdstrip dll3\*.dll


copy \tbird\m332\peri\muscroll.dll dll4
copy \tbird\m332\symbol\symbl.dll dll4
copy \tbird\m332\trace\trace.dll dll4   
copy \tbird\m332\trace\trig.dll dll4    	
copy \tbird\m332\varsrv\varservr.dll dll4	
copy \tbird\m332\sds\wscom.dll dll4
copy \tbird\m332\sds\pvtask.dll dll4
copy dll4 .
\tools\bc\bin\tdstrip dll4\*.dll
copy \tbird\m332\actor\bc30rtl.dll dll4
copy \tbird\m332\actor\tclass31.dll dll4
copy \tbird\m332\actor\tklib.dll dll4


copy \tbird\m332\pcnfs\ws_pcnfs.dll nfsnet
\tools\bc\bin\tdstrip nfsnet\*.dll

copy \tbird\m332\lanservr\wslansvr.dll lannet

\tools\bc\bin\tdstrip lannet\*.dll

copy \tbird\m332\samples\samp332\332qsm.abs samp332
copy \tbird\m332\samples\samp332\332qsm.c samp332
copy \tbird\m332\samples\samp332\main.c samp332
copy \tbird\m332\samples\samp332\vector.c samp332
copy \tbird\m332\samples\samp332\mkqsm.bat samp332
copy \tbird\m332\samples\samp332\mcc.bat samp332
copy \tbird\m332\samples\samp332\mccno.bat samp332
copy \tbird\m332\samples\samp332\332qsm.inc samp332
copy \tbird\m332\samples\samp332\vesta.inc samp332
copy \tbird\m332\samples\samp332\332qsm.cmd samp332
copy \tbird\m332\samples\samp332\332qsm.map samp332
copy \tbird\m332\samples\samp332\samples.txt samp332


copy \tbird\m332\samples\sampcp32\demo.abs sampcp32
copy \tbird\m332\samples\sampcp32\demo.map sampcp32
copy \tbird\m332\samples\sampcp32\dm_main.c sampcp32
copy \tbird\m332\samples\sampcp32\dm_func.c sampcp32
copy \tbird\m332\samples\sampcp32\vector.c sampcp32
copy \tbird\m332\samples\sampcp32\cppdemo.abs sampcp32
copy \tbird\m332\samples\sampcp32\sample.cc sampcp32
copy \tbird\m332\samples\sampcp32\mkdemo.bat sampcp32
copy \tbird\m332\samples\sampcp32\mcc.bat sampcp32
copy \tbird\m332\samples\sampcp32\mccno.bat sampcp32
copy \tbird\m332\samples\sampcp32\demo.cmd sampcp32
copy \tbird\m332\samples\sampcp32\ccc.bat sampcp32
copy \tbird\m332\samples\sampcp32\mkcpp.bat sampcp32
copy \tbird\m332\samples\sampcp32\demo.inc sampcp32
copy \tbird\m332\samples\sampcp32\samples.txt sampcp32

copy \tbird\m332\samples\samphc16\hc16qsm.abs samphc16
copy \tbird\m332\samples\samphc16\main.c samphc16
copy \tbird\m332\samples\samphc16\vector.c samphc16
copy \tbird\m332\samples\samphc16\hc16qsm.c samphc16
copy \tbird\m332\samples\samphc16\cc16.bat samphc16
copy \tbird\m332\samples\samphc16\cc16c.bat samphc16
copy \tbird\m332\samples\samphc16\cc16no.bat samphc16
copy \tbird\m332\samples\samphc16\lnk16.bat samphc16
copy \tbird\m332\samples\samphc16\mkqsm.bat samphc16
copy \tbird\m332\samples\samphc16\hc16qsm.inc samphc16
copy \tbird\m332\samples\samphc16\hc16qsm.lnk samphc16
copy \tbird\m332\samples\samphc16\hc16qsm.map samphc16
copy \tbird\m332\samples\samphc16\crts.s samphc16
copy \tbird\m332\samples\samphc16\crts.o samphc16
copy \tbird\m332\samples\samphc16\samples.txt samphc16

copy \tbird\m332\teknotes\teknote.1 teknotes
copy \tbird\m332\teknotes\teknote.2 teknotes
copy \tbird\m332\teknotes\teknote.3 teknotes
copy \tbird\m332\teknotes\teknote.sum teknotes

rem ** start copy of all the files to final release disk1 ***
copy \tbird\m332\readme.txt disk1
copy \tbird\m332\install\net\proginet.bat \tbird\m332\actor\pcnfs
copy \tbird\m332\install\net\proginet.tak \tbird\m332\actor\pcnfs
copy \tbird\m332\install\pcnfs\install.ins \tbird\m332\actor\pcnfs
copy \tbird\m332\rd_pcnfs.txt \tbird\m332\actor\pcnfs\readnet.txt
copy \tbird\m332\install\pcnfs\info.txt \tbird\m332\actor\pcnfs\info.txt
copy \tbird\m332\install\disk1\install.ex$ \tbird\m332\actor\pcnfs
copy \tbird\m332\install\disk1\setup.exe \tbird\m332\actor\pcnfs
copy \tbird\m332\install\disk2\kermit.exe \tbird\m332\actor\pcnfs
copy \tbird\m332\install\disk2\kermit.hlp \tbird\m332\actor\pcnfs
copy \tbird\m332\include.me disk1

rem ** start copy of all the files to final release disk1 ***
copy \tbird\m332\readme.txt disk1
copy \tbird\m332\install\net\proginet.bat \tbird\m332\actor\lanservr
copy \tbird\m332\install\net\proginet.tak \tbird\m332\actor\lanservr
copy \tbird\m332\install\lanservr\install.ins \tbird\m332\actor\lanservr
copy \tbird\m332\rdlansvr.txt \tbird\m332\actor\lanservr\readnet.txt
copy \tbird\m332\install\lanservr\info.txt \tbird\m332\actor\lanservr\info.txt
copy \tbird\m332\install\disk1\install.ex$ \tbird\m332\actor\lanservr
copy \tbird\m332\install\disk1\setup.exe \tbird\m332\actor\lanservr
copy \tbird\m332\install\disk2\kermit.exe \tbird\m332\actor\lanservr
copy \tbird\m332\install\disk2\kermit.hlp \tbird\m332\actor\lanservr
copy \tbird\m332\include.me disk1

\tbird\m332\install\compress pwrviews.exe disk1\pwrviews.ex$
\tbird\m332\install\compress pwrviews.ima disk1\pwrviews.im$
\tbird\m332\install\compress \tbird\m332\help\pwrviews.hlp disk1\pwrviews.hl$

copy \tbird\m332\cpu\cpucpu32.cfg cfg
copy \tbird\m332\cpu\cpucpu16.cfg cfg
copy \tbird\m332\cpu\cpu32p.cfg cfg
copy \tbird\m332\l695\ldr32p.cfg cfg
copy \tbird\m332\peri\peri330.cfg cfg
copy \tbird\m332\peri\peri331.cfg cfg
copy \tbird\m332\peri\peri332.cfg cfg
copy \tbird\m332\peri\perif333.cfg cfg
copy \tbird\m332\peri\peri340.cfg cfg
copy \tbird\m332\peri\peri360.cfg cfg
copy \tbird\m332\peri\peri16z1.cfg cfg
copy \tbird\m332\peri\peri16y1.cfg cfg
copy \tbird\m332\peri\*.pcf cfg
copy \tbird\m332\trace\ev330.cfg cfg
copy \tbird\m332\trace\ev331.cfg cfg
copy \tbird\m332\trace\ev332.cfg cfg
copy \tbird\m332\trace\evf333.cfg cfg
copy \tbird\m332\trace\ev340.cfg cfg
copy \tbird\m332\trace\ev360.cfg cfg
copy \tbird\m332\trace\ev16z1.cfg cfg
copy \tbird\m332\trace\ev16z2.cfg cfg
copy \tbird\m332\trace\ev16y1.cfg cfg
copy \tbird\m332\trace\ev360.cfg cfg
copy \tbird\m332\l695\ldrcpu16.cfg cfg
copy \tbird\m332\l695\ldrcpu32.cfg cfg
\tbird\m332\install\compress cfg\*.* disk1\cfg.li$

\tbird\m332\install\compress dll1\*.dll disk1\dll1.li$
\tbird\m332\install\compress dll2\*.dll disk1\dll2.li$

rem *** disk 2 contains remaining dlls, samples, .ini and flash ***
\tbird\m332\install\compress dll3\*.dll disk2\dll3.li$
\tbird\m332\install\compress dll4\*.dll disk2\dll4.li$
\tbird\m332\install\compress samp332\*.* disk2\samp332.li$
\tbird\m332\install\compress sampcp32\*.* disk2\sampcp32.li$
\tbird\m332\install\compress samphc16\*.* disk2\samphc16.li$
\tbird\m332\install\compress teknotes\*.* disk2\teknotes.li$
copy pwrviews.ini disk2
copy \tbird\m332\flash\flash.abs disk2

rem *** Network related DLL's
\tbird\m332\install\compress nfsnet\*.dll pcnfs\ws_pcnfs.dl$
copy \tools\tcpdostk\lib\winsock.dll lannet
\tbird\m332\install\compress lannet\winsock.dll lanservr\winsock.dl$
del lannet\winsock.dll
\tbird\m332\install\compress lannet\*.dll lanservr\wslansvr.dl$

rem *** copy flash files and error defs to an internal disk called diskx ***
copy \tbird\m332\flash\flash.hex diskx
copy \tbird\m332\flash\flash.abs diskx
copy \tbird\m332\flash\flash.map diskx
copy \tbird\m332\inc\errcodec.h diskx

rem ** remove all the temporary working directory
rm -rf cfg dll1 dll2 dll3 dll4 lannet nfsnet samp332 sampcp32 samphc16 teknotes

copy \tbird\m332\install\disk1\*.* \tbird\m332\actor\disk1
copy \tbird\m332\install\install.ins \tbird\m332\actor\disk1
del \tbird\m332\actor\disk1\local.cfg
del \tbird\m332\actor\disk1\file.lis
del \tbird\m332\actor\disk1\file.000
del \tbird\m332\actor\disk1\getfiles.mak

copy \tbird\m332\install\disk2\*.* \tbird\m332\actor\disk2
del \tbird\m332\actor\disk2\local.cfg
del \tbird\m332\actor\disk2\file.lis
del \tbird\m332\actor\disk2\file.000
del \tbird\m332\actor\disk2\getfiles.mak

rem *** end ***

c:\dos\asctime >> c:\tbird\m332\bldtime.log
@echo ---------- >> c:\tbird\m332\bldtime.log
