Browse code

Start emulator from bin

Devine Lu Linvega authored on 08/11/2021 17:19:45
Showing 1 changed files
... ...
@@ -4,7 +4,7 @@ echo "Cleaning.."
4 4
 rm -f ./bin/uxnasm
5 5
 rm -f ./bin/uxnemu
6 6
 rm -f ./bin/uxncli
7
-rm -f ./boot.rom
7
+rm -f ./bin/boot.rom
8 8
 rm -f ./bin/asma.rom
9 9
 
10 10
 # When clang-format is present
... ...
@@ -62,7 +62,7 @@ then
62 62
 fi
63 63
 
64 64
 echo "Assembling(boot).."
65
-./bin/uxnasm projects/software/boot.tal boot.rom
65
+./bin/uxnasm projects/software/boot.tal bin/boot.rom
66 66
 echo "Assembling(asma).."
67 67
 ./bin/uxnasm projects/software/asma.tal bin/asma.rom
68 68
 
... ...
@@ -72,6 +72,8 @@ echo "Assembling(piano).."
72 72
 bin/uxncli bin/asma.rom projects/examples/demos/piano.tal bin/piano.rom 2> bin/piano.log
73 73
 
74 74
 echo "Running.."
75
-./bin/uxnemu bin/piano.rom
75
+cd bin
76
+./uxnemu piano.rom
76 77
 
77 78
 echo "Done."
79
+cd ..