@echo --------------------------------------------------------------------------
@echo 	Keith's Z80 Dev Toolkit - Please see the Readme for instructions!
@echo --------------------------------------------------------------------------
@echo 			Make a CDT Tape Image from compiled program
@echo. 			
@echo 			This tool will make a valid CDT with loader
@echo 	Note, Winape will need to be closed and re-opened before it notices 
@echo 	The file has changed!
@echo. 
@echo --------------------------------------------------------------------------


utils\2cdt -n -r go.bas ResCPC\TAPEGO.BAS RelCPC\tape.cdt
utils\2cdt -r program.bin BldCPC\program.bin RelCPC\tape.cdt
rem utils\2cdt -r "-01C1.Z01" "BldCPC\-01C1.Z01" RelCPC\tape.cdt -t 0
utils\2cdt -r "-01C1.Z01" "BldCPC\program.bin" RelCPC\tape.cdt -t 0

cd Emu\Arnold
Arnold.exe -tape ..\..\RelCPC\tape.cdt -snapshot ArnoldTape.sna 
utils\sleep 60