From 39abf2fdddb2882d8d782f995cb630c80139f8bc Mon Sep 17 00:00:00 2001 From: David Lee Date: Thu, 4 Jul 2024 14:22:26 -0700 Subject: [PATCH] linux build --- Microsoft QuickBASIC v45/m.sh | 17 +++++++++++++++++ Microsoft QuickBASIC v45/mi.sh | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 Microsoft QuickBASIC v45/m.sh create mode 100644 Microsoft QuickBASIC v45/mi.sh diff --git a/Microsoft QuickBASIC v45/m.sh b/Microsoft QuickBASIC v45/m.sh new file mode 100644 index 0000000..cf556e7 --- /dev/null +++ b/Microsoft QuickBASIC v45/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 v45/mi.sh b/Microsoft QuickBASIC v45/mi.sh new file mode 100644 index 0000000..62ac590 --- /dev/null +++ b/Microsoft QuickBASIC v45/mi.sh @@ -0,0 +1,2 @@ +ntvdm -u -r:. -c -p QB /RUN $1.BAS +