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