Skip to content

Commit 333d127

Browse files
add fasmg upgrade script for mateo
1 parent 13954fc commit 333d127

File tree

5 files changed

+25
-1
lines changed

5 files changed

+25
-1
lines changed

tools/fasmg/linux/fasmg

100755100644
1.23 KB
Binary file not shown.

tools/fasmg/macos/fasmg

100755100644
0 Bytes
Binary file not shown.

tools/fasmg/upgrade_fasmg.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
3+
# this script currently only runs on linux.
4+
5+
build_fasmg () {
6+
.tmp/fasmg/fasmg .tmp/fasmg/source/$1/fasmg.asm $1/$2
7+
chmod -x $1/$2
8+
}
9+
10+
cd fasmg-ez80
11+
git pull origin master
12+
cd ..
13+
mkdir -p .tmp
14+
wget --no-verbose https://flatassembler.net/fasmg.zip --output-document=.tmp/fasmg.zip
15+
unzip -od .tmp/fasmg .tmp/fasmg.zip
16+
patch -p0 -d .tmp/fasmg < fasmg-ez80/fasmg.patch
17+
chmod +x .tmp/fasmg/fasmg
18+
19+
build_fasmg linux fasmg
20+
build_fasmg windows fasmg.exe
21+
build_fasmg macos fasmg
22+
23+
rm -rf .tmp
24+

tools/fasmg/windows/fasmg.exe

100755100644
1 KB
Binary file not shown.

0 commit comments

Comments
 (0)