dos_compilers/Digital Research MT+86 Pascal v311/m.sh
2024-07-04 07:57:31 -07:00

15 lines
248 B
Bash

str=$(tr '[a-z]' '[A-Z]' <<< $1)
rm $str.ERR 2>/dev/null
rm $str.R86 2>/dev/null
rm $str.EXE 2>/dev/null
ntvdm -r:. -u mt86 $str
ntvdm -r:. -u linkmt $str paslib.r86 fpreals.r86
rm $str.ERR 2>/dev/null
rm $str.R86 2>/dev/null
ntvdm -c -p $str