From e9f0585e0bbba15beb0795a87c5d63625e454c17 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Mon, 8 Nov 2021 12:19:45 -0500 Subject: [PATCH] Start emulator from bin --- build.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 16b50ac..07bafe1 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ echo "Cleaning.." rm -f ./bin/uxnasm rm -f ./bin/uxnemu rm -f ./bin/uxncli -rm -f ./boot.rom +rm -f ./bin/boot.rom rm -f ./bin/asma.rom # When clang-format is present @@ -62,7 +62,7 @@ then fi echo "Assembling(boot).." -./bin/uxnasm projects/software/boot.tal boot.rom +./bin/uxnasm projects/software/boot.tal bin/boot.rom echo "Assembling(asma).." ./bin/uxnasm projects/software/asma.tal bin/asma.rom @@ -72,6 +72,8 @@ echo "Assembling(piano).." bin/uxncli bin/asma.rom projects/examples/demos/piano.tal bin/piano.rom 2> bin/piano.log echo "Running.." -./bin/uxnemu bin/piano.rom +cd bin +./uxnemu piano.rom echo "Done." +cd ..