From 82e352c89f2534219b81254a9eb11de3d579a841 Mon Sep 17 00:00:00 2001 From: David Lee Date: Thu, 4 Jul 2024 14:05:41 -0700 Subject: [PATCH] linux build --- .../{djldos.asm => DJLDOS.ASM} | 0 .../{djldos.OBJ => DJLDOS.OBJ} | Bin Microsoft Pascal v4/m.sh | 20 ++++++++++++++++++ 3 files changed, 20 insertions(+) rename Microsoft Pascal v4/{djldos.asm => DJLDOS.ASM} (100%) rename Microsoft Pascal v4/{djldos.OBJ => DJLDOS.OBJ} (100%) create mode 100644 Microsoft Pascal v4/m.sh diff --git a/Microsoft Pascal v4/djldos.asm b/Microsoft Pascal v4/DJLDOS.ASM similarity index 100% rename from Microsoft Pascal v4/djldos.asm rename to Microsoft Pascal v4/DJLDOS.ASM diff --git a/Microsoft Pascal v4/djldos.OBJ b/Microsoft Pascal v4/DJLDOS.OBJ similarity index 100% rename from Microsoft Pascal v4/djldos.OBJ rename to Microsoft Pascal v4/DJLDOS.OBJ diff --git a/Microsoft Pascal v4/m.sh b/Microsoft Pascal v4/m.sh new file mode 100644 index 0000000..aecdb0d --- /dev/null +++ b/Microsoft Pascal v4/m.sh @@ -0,0 +1,20 @@ +str=$(tr '[a-z]' '[A-Z]' <<< $1) + +rm $str.EXE 2>/dev/null +rm $str.OBJ 2>/dev/null +rm $str.COD 2>/dev/null +rm $str.LST 2>/dev/null +rm $str.MAP 2>/dev/null + +ntvdm -u -r:. -c binb/pas1 $str,$str,$str,$str +ntvdm -u -r:. -c binb/pas2 +ntvdm -u -r:. -c binb/pas3 +ntvdm -u -r:. -e:lib=lib -c binb/link $str djldos,$str,$str,,nul.def + +rm $str.OBJ 2>/dev/null +rm $str.COD 2>/dev/null +rm $str.LST 2>/dev/null +rm $str.MAP 2>/dev/null + +ntvdm $str +