From 6b06024058a7f6770e052d3471be2445f4fa230f Mon Sep 17 00:00:00 2001 From: David Lee Date: Thu, 4 Jul 2024 09:31:38 -0700 Subject: [PATCH] linux build --- Microsoft BASIC Compiler v5.36/{e.bas => E.BAS} | 0 Microsoft BASIC Compiler v5.36/{mm.bas => MM.BAS} | 0 .../{sieve.bas => SIEVE.BAS} | 0 Microsoft BASIC Compiler v5.36/{ttt.bas => TTT.BAS} | 0 Microsoft BASIC Compiler v5.36/m.sh | 13 +++++++++++++ 5 files changed, 13 insertions(+) rename Microsoft BASIC Compiler v5.36/{e.bas => E.BAS} (100%) rename Microsoft BASIC Compiler v5.36/{mm.bas => MM.BAS} (100%) rename Microsoft BASIC Compiler v5.36/{sieve.bas => SIEVE.BAS} (100%) rename Microsoft BASIC Compiler v5.36/{ttt.bas => TTT.BAS} (100%) create mode 100644 Microsoft BASIC Compiler v5.36/m.sh diff --git a/Microsoft BASIC Compiler v5.36/e.bas b/Microsoft BASIC Compiler v5.36/E.BAS similarity index 100% rename from Microsoft BASIC Compiler v5.36/e.bas rename to Microsoft BASIC Compiler v5.36/E.BAS diff --git a/Microsoft BASIC Compiler v5.36/mm.bas b/Microsoft BASIC Compiler v5.36/MM.BAS similarity index 100% rename from Microsoft BASIC Compiler v5.36/mm.bas rename to Microsoft BASIC Compiler v5.36/MM.BAS diff --git a/Microsoft BASIC Compiler v5.36/sieve.bas b/Microsoft BASIC Compiler v5.36/SIEVE.BAS similarity index 100% rename from Microsoft BASIC Compiler v5.36/sieve.bas rename to Microsoft BASIC Compiler v5.36/SIEVE.BAS diff --git a/Microsoft BASIC Compiler v5.36/ttt.bas b/Microsoft BASIC Compiler v5.36/TTT.BAS similarity index 100% rename from Microsoft BASIC Compiler v5.36/ttt.bas rename to Microsoft BASIC Compiler v5.36/TTT.BAS diff --git a/Microsoft BASIC Compiler v5.36/m.sh b/Microsoft BASIC Compiler v5.36/m.sh new file mode 100644 index 0000000..e881410 --- /dev/null +++ b/Microsoft BASIC Compiler v5.36/m.sh @@ -0,0 +1,13 @@ +str=$(tr '[a-z]' '[A-Z]' <<< $1) + +rm $str.MAP 2>/dev/null +rm $str.OBJ 2>/dev/null +rm $str.LST 2>/dev/null +rm $str.EXE 2>/dev/null + +ntvdm -u -r:. -c bascom $str.bas,,$str.lst, +ntvdm -u -r:. -c link $str,,$str,.\\,nul + +rm $str.MAP 2>/dev/null +rm $str.OBJ 2>/dev/null +rm $str.LST 2>/dev/null