@echo --------------------------------------------------------------------------
@echo 	Keith's Z80 Dev Toolkit - Please see the Readme for instructions!
@echo --------------------------------------------------------------------------
@echo 		Make a CPR cartridge from disk image with NoCart!
@echo. 			
@echo 	This tool uses disk emulation to create a cartridge that can be used 
@echo   On GX4000 systems...
@echo 	Note, Winape will need to be closed and re-opened before it notices 
@echo 	The file has changed!
@echo. 
@echo 	Also note, I have made an alternative example which uses BuildCPR
@echo   and reads from cartridge rom directly... example is remmed out in 
@echo   this batchfile!
@echo --------------------------------------------------------------------------

cd Utils\nocart
nocart32 ..\..\RelCPC\disk.dsk ..\..\RelCPC\cart.cpr go.bas
cd ..\..\
Emu\Arnold\Arnold.exe /as=..\..\RelCPC\cart.cpr /cfg=6128+
@echo off
rem This is an alternative - it will build a custom CPR without using disk emulaton!
rem copy /B /Y Utils\buildcpr\os.rom+Utils\buildcpr\basic.rom+Utils\buildcpr\amsdos.rom+BldCPC\program.bin  BldCPC\Cart.tmp
rem \\utils\buildcpr.exe BldCPC\Cart.tmp RelCPC\cart.cpr

..\..\utils\sleep 60