-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuseries.sh
More file actions
executable file
·57 lines (55 loc) · 1.51 KB
/
Copy pathuseries.sh
File metadata and controls
executable file
·57 lines (55 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
show_menu() {
clear
echo -e "\e[1;36m========================================\e[0m"
echo -e "\e[1;36m THE µSERIES BASH SELECTOR\e[0m"
echo -e "\e[1;36m========================================\e[0m"
echo ""
echo -e " 1. \e[1;33mµGauntlet Pro\e[0m (16KB 3D Engine)"
echo -e " 2. \e[1;33mµStatic\e[0m (Minimalist SSG)"
echo -e " 3. \e[1;33mµBrain\e[0m (Brainfuck JIT)"
echo -e " 4. \e[1;33mµCHIP-8\e[0m (12KB Emulator)"
echo -e " 5. \e[1;33mµGauntlet\e[0m (Original Benchmarks)"
echo -e " 6. \e[1;32mRun Multi-Tool (C version)\e[0m"
echo -e " q. Exit"
echo ""
read -p "Select an option: " choice
}
while true; do
show_menu
case $choice in
1)
echo "Starting µGauntlet Pro..."
./gauntlet_pro world.js
;;
2)
echo "Starting µStatic..."
./ustatic ssg.js
;;
3)
echo "Starting µBrain..."
./ubrain brain.js
;;
4)
echo "Starting µCHIP-8..."
./uchip8 chip8.js test.ch8
;;
5)
echo "Starting µGauntlet..."
./gauntlet benchmarks.js 32
;;
6)
./useries
;;
q)
echo "Goodbye!"
exit 0
;;
*)
echo -e "\e[1;31mInvalid option\e[0m"
sleep 1
;;
esac
echo ""
read -p "Press Enter to return to menu..."
done