From 7270f921397fb89debcbe58451a7d73a5488f6c1 Mon Sep 17 00:00:00 2001 From: David Lee Date: Thu, 4 Jul 2024 14:48:17 -0700 Subject: [PATCH] linux build --- Microsoft QuickBASIC v71/m.sh | 17 +++++++++++++++++ Microsoft QuickBASIC v71/mi.sh | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 Microsoft QuickBASIC v71/m.sh create mode 100644 Microsoft QuickBASIC v71/mi.sh diff --git a/Microsoft QuickBASIC v71/m.sh b/Microsoft QuickBASIC v71/m.sh new file mode 100644 index 0000000..cf556e7 --- /dev/null +++ b/Microsoft QuickBASIC v71/m.sh @@ -0,0 +1,17 @@ +str=$(tr '[a-z]' '[A-Z]' <<< $1) + +rm $str.EXE 2>/dev/null +rm $str.LST 2>/dev/null +rm $str.MAP 2>/dev/null +rm $str.OBJ 2>/dev/null + +ntvdm -u -r:. -c bc $str.bas $str.obj $str.lst /O +ntvdm -u -r:. -c link $str,,$str,,,; + +rm $str.LST 2>/dev/null +rm $str.MAP 2>/dev/null +rm $str.OBJ 2>/dev/null + +ntvdm -u -r:. -c $str + + diff --git a/Microsoft QuickBASIC v71/mi.sh b/Microsoft QuickBASIC v71/mi.sh new file mode 100644 index 0000000..9085f2b --- /dev/null +++ b/Microsoft QuickBASIC v71/mi.sh @@ -0,0 +1,2 @@ +ntvdm -u -r:. -c -p QBX /RUN $1.BAS +