REM delete crap
	DEL .\temp\?*.*

REM compile sources
	..\PCTOOLS\tass.exe /a .\sources\tool.txt .\temp\tool.prg

REM copy binaries into .d64
	..\PCTOOLS\c1541 -format "pd-tool 64,id" d64 .\temp\pdtool.d64 -write .\temp\tool.prg @8:main  -write .\includes\nclip.pcx @8:nclip -write .\includes\ntop.koa @8:ntop -write .\includes\nmid.koa @8:nmid -write .\includes\nbot.koa @8:nbot -write .\includes\iclip.pcx @8:iclip -write .\includes\itop.koa @8:itop -write .\includes\imid.koa @8:imid -write .\includes\ibot.koa @8:ibot

REM start the damn thing

	..\..\WinVICE-1.14\x64.exe .\temp\pdtool.d64
