linux build

This commit is contained in:
David Lee 2024-07-04 14:22:26 -07:00
parent 63a0335323
commit 39abf2fddd
2 changed files with 19 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,2 @@
ntvdm -u -r:. -c -p QB /RUN $1.BAS