From 728e85ed3a137ebf0df96b9e8a1b782eda77fcd3 Mon Sep 17 00:00:00 2001 From: David Lee Date: Thu, 4 Jul 2024 15:39:35 -0700 Subject: [PATCH] linux build --- Mix Power C v1/m.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Mix Power C v1/m.sh diff --git a/Mix Power C v1/m.sh b/Mix Power C v1/m.sh new file mode 100644 index 0000000..9998b3b --- /dev/null +++ b/Mix Power C v1/m.sh @@ -0,0 +1,14 @@ +str=$(tr '[a-z]' '[A-Z]' <<< $1) + +rm $str.EXE 2>/dev/null +rm $str.MIX 2>/dev/null + +# this will crash because pc.exe trashes its own stack. but that's after it's done +ntvdm -r:. -u pc /c /ms /dpowerc /j /fi /q $str.c 1>/dev/null 2>/dev/null +ntvdm -r:. -u pcl $str + +rm $str.MIX 2>/dev/null + +ntvdm -u -r:. -c -p $str + +