 
rem @echo Create Release Disks (release.bat) >> ..\bldtime.log
rem c:\dos\asctime >> ..\bldtime.log

deltree/y disk1
deltree/y disk2
deltree/y cfg603e
deltree/y cfg860
deltree/y dll1
deltree/y dll2
deltree/y dll3
deltree/y dll4
deltree/y samples

rem  *** create temporary working directory ***
mkdir cfg603e
mkdir cfg860
mkdir dll1
mkdir dll2
mkdir dll3
mkdir dll4
mkdir samples
rem mkdir teknotes

rem *** create directories for release diskettes ***
mkdir disk1
mkdir disk2

rem ** copy files to subdirectory for compression ***
copy ..\addr\addr.dll dll1
copy ..\baselib\baselib.dll dll1
copy ..\bkptexec\bkptexec.dll dll1
copy ..\bkroot\bkroot.dll dll1  
copy ..\cliulib\cliulib.dll dll1       
copy ..\cpu\cpu.dll dll1       
copy dll1 ..\pwrviews
c:\tools\bc\bin\tdstrip dll1\*.dll
touch dll1\*.*

copy ..\dasm\dasm32.dll dll2          
copy ..\enlib\enlib.dll dll2           
copy ..\errtext\errtext.dll dll2
copy ..\lelf\ldelf.dll dll2    
copy ..\malloc\malloc.dll dll2  
copy dll2 ..\pwrviews
c:\tools\bc\bin\tdstrip dll2\*.dll
touch dll2\*.*

copy ..\peri\muscroll.dll dll3
copy ..\symbol\symbl.dll dll3
copy ..\trace\trace.dll dll3   
copy ..\trace\trig.dll dll3
copy ..\trace\event.dll dll3
copy ..\trace\evttmplt.dll dll3
copy ..\varsrv\varservr.dll dll3       
copy ..\sds\wscom.dll dll3
copy ..\sds\pvtask.dll dll3
copy ..\bkptexec\whptexec.dll dll3
copy ..\mpsetup\mpsetup.exe dll3
copy ..\mpsetup\mpsetup.hlp dll3
copy dll3 ..\pwrviews
c:\tools\bc\bin\tdstrip dll3\*.dll

copy ok\bc30rtl.dll dll3
copy ok\tclass31.dll dll3
copy ok\tklib.dll dll3
touch dll3\*.*

copy ..\map\map.dll dll4
copy ..\mem\mem.dll dll4       
copy ..\peri\peri.dll dll4     
copy ..\proc\proc.dll dll4     
copy ..\sds\sdserver.dll dll4
copy ..\sds\sds2abi.dll dll4
copy ..\sds\wspar.dll dll4
copy ..\abi68k\abi68k.dll dll4
copy ..\loader\srec\srec.dll dll4      
copy ..\stkservr\stkservr.dll dll4     
copy dll4 ..\pwrviews
c:\tools\bc\bin\tdstrip dll4\*.dll
copy ok\kermit.exe   dll4
copy ok\inst_fw.bat  dll4
copy ok\wrom.tak     dll4
copy ok\longfile.exe dll4
touch dll4\*.*

copy ..\samples\sampppc\*.c samples
copy ..\samples\sampppc\*.elf samples
touch samples\*.*

rem copy ..\teknotes\teknote.1 teknotes
rem copy ..\teknotes\teknote.2 teknotes
rem copy ..\teknotes\teknote.3 teknotes
rem copy ..\teknotes\teknote.sum teknotes
rem touch teknotes\*.*

rem ** start copy of all the files to final release disk1 ***
rem copy ..\readme.txt disk1
copy ok\setup.exe disk1
rem copy ..\include.me disk1

..\install\icomp ok\micepack.exe disk1\micepack.ex$
..\install\icomp ok\mpppc.ima disk1\mpppc.im$
..\install\icomp ..\help\pwrviews.hlp disk2\pwrviews.hl$

copy ..\cpu\cpu603e.cfg  cfg603e
rem copy ..\lelf\ldr603e.cfg cfg603e
copy ..\trace\ev603e.cfg cfg603e
copy ..\peri\peri603e.cfg cfg603e
copy ..\fw\603e\bin\rom128k.hex cfg603e\fw603e.hex
touch cfg603e\*.*
..\install\icomp cfg603e\*.* disk2\cfg603e.li$

copy ..\trace\ev821.cfg cfg860
copy ..\peri\peri821.cfg cfg860
copy ..\cpu\cpu860.cfg  cfg860
rem copy ..\lelf\ldr860.cfg cfg860
copy ..\trace\ev860.cfg cfg860
copy ..\peri\peri860.cfg cfg860
copy ..\peri\*.pcf cfg860
copy ok\m860ads.ini cfg860
copy ..\fw\860\bin\mpc860.hex cfg860\fw860.hex
touch cfg860\*.*
..\install\icomp cfg860\*.* disk2\cfg860.li$

..\install\icomp dll1\*.* disk1\dll1.li$
..\install\icomp dll2\*.* disk1\dll2.li$

rem *** disk 2 contains remaining dlls, samples, .ini and flash ***
..\install\icomp dll3\*.* disk2\dll3.li$
..\install\icomp dll4\*.* disk2\dll4.li$
..\install\icomp samples\*.* disk2\samples.li$
rem ..\install\icomp teknotes\*.* disk2\teknotes.li$
copy ok\micepack.ini disk2

rem ** remove all the temporary working directory
rem rm -rf cfg603e cfg860 dll1 dll2 dll3 dll4 samples teknotes
rm -rf cfg603e cfg860 dll1 dll2 dll3 dll4 samples

copy ok\_setup.dll disk1
copy ok\uninst16.exe disk1
copy ok\problem.txt disk1
copy ok\file1.lis disk1
copy ok\include.me disk1
copy ok\_setup.lib disk1
copy ok\_isdel.exe disk1
copy ok\_inst16.ex_ disk1
copy ok\microtek.url disk1
copy ok\website.ico disk1
copy ok\readme.txt disk1
copy ..\install\setup.ins disk1
touch disk1\*.*
touch disk2\*.*

rem *** end ***

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