projects
/
fifth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
addbf0f
)
Add detailed usage comments to `compile.sh`: describe `fasm` check, optional installa...
author
Svjatoslav Agejenko
<svjatoslav@svjatoslav.eu>
Tue, 17 Feb 2026 15:10:13 +0000
(17:10 +0200)
committer
Svjatoslav Agejenko
<svjatoslav@svjatoslav.eu>
Tue, 17 Feb 2026 15:10:13 +0000
(17:10 +0200)
emulator/compile.sh
patch
|
blob
|
history
diff --git
a/emulator/compile.sh
b/emulator/compile.sh
index
bf32a8d
..
3fd978d
100755
(executable)
--- a/
emulator/compile.sh
+++ b/
emulator/compile.sh
@@
-1,5
+1,10
@@
#!/bin/bash
+# Compile the Fifth virtual machine emulator using FASM (Flat Assembler).
+# This script checks whether fasm is installed and offers to install it
+# via apt-get if it is missing, then assembles emulator.asm into the
+# DOS COM binary (emulator.com).
+
if ! command -v fasm &> /dev/null; then
echo "fasm (flat assembler) is not installed."
read -p "Would you like to install it? (y/n): " choice
@@
-15,4
+20,4
@@
if ! command -v fasm &> /dev/null; then
fi
fi
-fasm emulator.asm
\ No newline at end of file
+fasm emulator.asm