@echo off echo ----- Assembling %1 for the TI-83 Plus MIRAGE echo #define MIRAGE >temp.z80 if exist %1.z80 type %1.z80 >>temp.z80 if exist %1.asm type %1.asm >>temp.z80 tasm -80 -i -b temp.z80 %1.bin if errorlevel 1 goto ERRORSMIRAGE devpac83 %1 copy %1.83p %1m.8xp >nul goto NOERRORMIRAGE :ERRORSMIRAGE echo ----- Compiling for 83+ Failed!!! :NOERRORMIRAGE echo ----- Assembling %1 for the TI-83... echo #define TI83 >temp.z80 if exist %1.z80 type %1.z80 >>temp.z80 if exist %1.asm type %1.asm >>temp.z80 tasm -80 -i -b temp.z80 %1.bin if errorlevel 1 goto ERRORS devpac83 %1 echo ----- Good job you jack ass, now go test it out! echo TI-83 version is %1.83p echo TI-83 Plus version is %1.8xp goto DONE :ERRORS echo ----- Compiling of 83 FAILED!!! :DONE del temp.z80 >nul del %1.bin >nul