diff --git a/Microsoft QuickBASIC v1/m.bat b/Microsoft QuickBASIC v1/m.bat index 0a2837c..8c95357 100644 --- a/Microsoft QuickBASIC v1/m.bat +++ b/Microsoft QuickBASIC v1/m.bat @@ -1,5 +1,5 @@ -ntvdm -c bascom %1.bas,,, -ntvdm -c link %1,,%1,.\,nul.def +ntvdm -c bascom %1.bas,,,; +ntvdm -c link %1,,%1,,,; ntvdm %1 diff --git a/Microsoft QuickBASIC v1/m.sh b/Microsoft QuickBASIC v1/m.sh new file mode 100644 index 0000000..4acfec3 --- /dev/null +++ b/Microsoft QuickBASIC v1/m.sh @@ -0,0 +1,17 @@ +str=$(tr '[a-z]' '[A-Z]' <<< $1) + +rm $str.EXE 2>/dev/null +rm $str.MAP 2>/dev/null +rm $str.OBJ 2>/dev/null +rm $str.LST 2>/dev/null + +ntvdm -r:. -u -c bascom $str.bas,,,\; +ntvdm -r:. -u -c link $str,,$str,,,\; + +rm $str.MAP 2>/dev/null +rm $str.OBJ 2>/dev/null +rm $str.LST 2>/dev/null + +ntvdm -r:. -u -c $str + +