Immediate launch of emulator after successful "Export & Test" command

cargo

spam bots yandex
For your consideration:

Ideally I would prefer that the "Menu->Export and Test" would go straight to the emulator after a successful compilation attempt. Yet as it is now the user has to contend with an additional step created by the pause command on the compilation script. I'd like to suggest a smarter batch file that will only pause when the assembler spits out an error. Otherwise go straight to launching the emulator. It's a minor annoyance but after compiling a project for the nth time this quirk gets old really fast.
 

cargo

spam bots yandex
As a workaround this is satisfactory but I was hoping for something more elegant.

EDIT: Since nobody here apparently knows to do this here is an improved version of the "TestBat.bat" (guys you need to find more appropriate file names):

Code:
@echo off
if exist "game.nes" del "game.nes"

@echo on
asm6 -q MainASM.nes game.nes demo.txt > compile.log

@echo off
if exist "game.nes" goto EOF
pause

:EOF

Been using it non-stop for a month now and it works fine for me.
 
Top Bottom