@echo off cd tools tasm -80 -i -b code.z80 code.bin if errorlevel 1 goto errors Convert8XU ..\83P.8xu ..\boot.bin image.rom if errorlevel 1 goto errors GetPatchInfo image.rom code.bin patch.xml patch.org if errorlevel 1 goto errors if exist code_.z80. del code_.z80. copy code.z80 code_.z80 type code_.z80 >> patch.org del code_.z80 copy patch.org code_.z80 tasm -80 -i -b code_.z80 code.bin Do73Patch image.rom code.bin code.lst patch.xml if errorlevel 1 goto errors sfk partcopy FF.bin 0 1 image.rom 0x0056 -yes ConvertROM image.rom ..\73.73u RabbitSign\rabbitsign -k 02.key -K 02 -o ..\73-signed.73u -r -vv -t 73u -f ..\73.73u if errorlevel 1 goto errors goto exit :errors echo There were errors! cd .. :exit cd .. echo.