diff --git a/Microsoft MASM v5/bin/CREF.EXE b/Microsoft MASM v5/BIN/CREF.EXE similarity index 100% rename from Microsoft MASM v5/bin/CREF.EXE rename to Microsoft MASM v5/BIN/CREF.EXE diff --git a/Microsoft MASM v5/bin/CV.EXE b/Microsoft MASM v5/BIN/CV.EXE similarity index 100% rename from Microsoft MASM v5/bin/CV.EXE rename to Microsoft MASM v5/BIN/CV.EXE diff --git a/Microsoft MASM v5/bin/CV.HLP b/Microsoft MASM v5/BIN/CV.HLP similarity index 100% rename from Microsoft MASM v5/bin/CV.HLP rename to Microsoft MASM v5/BIN/CV.HLP diff --git a/Microsoft MASM v5/bin/ERROUT.EXE b/Microsoft MASM v5/BIN/ERROUT.EXE similarity index 100% rename from Microsoft MASM v5/bin/ERROUT.EXE rename to Microsoft MASM v5/BIN/ERROUT.EXE diff --git a/Microsoft MASM v5/bin/EXEMOD.EXE b/Microsoft MASM v5/BIN/EXEMOD.EXE similarity index 100% rename from Microsoft MASM v5/bin/EXEMOD.EXE rename to Microsoft MASM v5/BIN/EXEMOD.EXE diff --git a/Microsoft MASM v5/bin/EXEPACK.EXE b/Microsoft MASM v5/BIN/EXEPACK.EXE similarity index 100% rename from Microsoft MASM v5/bin/EXEPACK.EXE rename to Microsoft MASM v5/BIN/EXEPACK.EXE diff --git a/Microsoft MASM v5/bin/LIB.EXE b/Microsoft MASM v5/BIN/LIB.EXE similarity index 100% rename from Microsoft MASM v5/bin/LIB.EXE rename to Microsoft MASM v5/BIN/LIB.EXE diff --git a/Microsoft MASM v5/bin/LINK.EXE b/Microsoft MASM v5/BIN/LINK.EXE similarity index 100% rename from Microsoft MASM v5/bin/LINK.EXE rename to Microsoft MASM v5/BIN/LINK.EXE diff --git a/Microsoft MASM v5/bin/MAKE.EXE b/Microsoft MASM v5/BIN/MAKE.EXE similarity index 100% rename from Microsoft MASM v5/bin/MAKE.EXE rename to Microsoft MASM v5/BIN/MAKE.EXE diff --git a/Microsoft MASM v5/bin/MASM.EXE b/Microsoft MASM v5/BIN/MASM.EXE similarity index 100% rename from Microsoft MASM v5/bin/MASM.EXE rename to Microsoft MASM v5/BIN/MASM.EXE diff --git a/Microsoft MASM v5/bin/SETENV.EXE b/Microsoft MASM v5/BIN/SETENV.EXE similarity index 100% rename from Microsoft MASM v5/bin/SETENV.EXE rename to Microsoft MASM v5/BIN/SETENV.EXE diff --git a/Microsoft MASM v5/bin/SHOW.EXE b/Microsoft MASM v5/BIN/SHOW.EXE similarity index 100% rename from Microsoft MASM v5/bin/SHOW.EXE rename to Microsoft MASM v5/BIN/SHOW.EXE diff --git a/Microsoft MASM v5/bin/WHAT.EXE b/Microsoft MASM v5/BIN/WHAT.EXE similarity index 100% rename from Microsoft MASM v5/bin/WHAT.EXE rename to Microsoft MASM v5/BIN/WHAT.EXE diff --git a/Microsoft MASM v5/e.asm b/Microsoft MASM v5/E.ASM similarity index 100% rename from Microsoft MASM v5/e.asm rename to Microsoft MASM v5/E.ASM diff --git a/Microsoft MASM v5/inc/BIOS.INC b/Microsoft MASM v5/INC/BIOS.INC similarity index 100% rename from Microsoft MASM v5/inc/BIOS.INC rename to Microsoft MASM v5/INC/BIOS.INC diff --git a/Microsoft MASM v5/inc/DOS.INC b/Microsoft MASM v5/INC/DOS.INC similarity index 100% rename from Microsoft MASM v5/inc/DOS.INC rename to Microsoft MASM v5/INC/DOS.INC diff --git a/Microsoft MASM v5/inc/MIXED.INC b/Microsoft MASM v5/INC/MIXED.INC similarity index 100% rename from Microsoft MASM v5/inc/MIXED.INC rename to Microsoft MASM v5/INC/MIXED.INC diff --git a/Microsoft MASM v5/samples/BA.ASM b/Microsoft MASM v5/SAMPLES/BA.ASM similarity index 100% rename from Microsoft MASM v5/samples/BA.ASM rename to Microsoft MASM v5/SAMPLES/BA.ASM diff --git a/Microsoft MASM v5/samples/CA.ASM b/Microsoft MASM v5/SAMPLES/CA.ASM similarity index 100% rename from Microsoft MASM v5/samples/CA.ASM rename to Microsoft MASM v5/SAMPLES/CA.ASM diff --git a/Microsoft MASM v5/samples/DEMO.BAT b/Microsoft MASM v5/SAMPLES/DEMO.BAT similarity index 100% rename from Microsoft MASM v5/samples/DEMO.BAT rename to Microsoft MASM v5/SAMPLES/DEMO.BAT diff --git a/Microsoft MASM v5/samples/E_AUTO.CV b/Microsoft MASM v5/SAMPLES/E_AUTO.CV similarity index 100% rename from Microsoft MASM v5/samples/E_AUTO.CV rename to Microsoft MASM v5/SAMPLES/E_AUTO.CV diff --git a/Microsoft MASM v5/samples/FA.ASM b/Microsoft MASM v5/SAMPLES/FA.ASM similarity index 100% rename from Microsoft MASM v5/samples/FA.ASM rename to Microsoft MASM v5/SAMPLES/FA.ASM diff --git a/Microsoft MASM v5/samples/MACRO.DOC b/Microsoft MASM v5/SAMPLES/MACRO.DOC similarity index 100% rename from Microsoft MASM v5/samples/MACRO.DOC rename to Microsoft MASM v5/SAMPLES/MACRO.DOC diff --git a/Microsoft MASM v5/samples/MIXED.DOC b/Microsoft MASM v5/SAMPLES/MIXED.DOC similarity index 100% rename from Microsoft MASM v5/samples/MIXED.DOC rename to Microsoft MASM v5/SAMPLES/MIXED.DOC diff --git a/Microsoft MASM v5/samples/M_AUTO.CV b/Microsoft MASM v5/SAMPLES/M_AUTO.CV similarity index 100% rename from Microsoft MASM v5/samples/M_AUTO.CV rename to Microsoft MASM v5/SAMPLES/M_AUTO.CV diff --git a/Microsoft MASM v5/samples/PA.ASM b/Microsoft MASM v5/SAMPLES/PA.ASM similarity index 100% rename from Microsoft MASM v5/samples/PA.ASM rename to Microsoft MASM v5/SAMPLES/PA.ASM diff --git a/Microsoft MASM v5/samples/PACKING.LST b/Microsoft MASM v5/SAMPLES/PACKING.LST similarity index 100% rename from Microsoft MASM v5/samples/PACKING.LST rename to Microsoft MASM v5/SAMPLES/PACKING.LST diff --git a/Microsoft MASM v5/samples/PAGER.ASM b/Microsoft MASM v5/SAMPLES/PAGER.ASM similarity index 100% rename from Microsoft MASM v5/samples/PAGER.ASM rename to Microsoft MASM v5/SAMPLES/PAGER.ASM diff --git a/Microsoft MASM v5/samples/POWER2.ASM b/Microsoft MASM v5/SAMPLES/POWER2.ASM similarity index 100% rename from Microsoft MASM v5/samples/POWER2.ASM rename to Microsoft MASM v5/SAMPLES/POWER2.ASM diff --git a/Microsoft MASM v5/samples/Q_AUTO.CV b/Microsoft MASM v5/SAMPLES/Q_AUTO.CV similarity index 100% rename from Microsoft MASM v5/samples/Q_AUTO.CV rename to Microsoft MASM v5/SAMPLES/Q_AUTO.CV diff --git a/Microsoft MASM v5/samples/README.DOC b/Microsoft MASM v5/SAMPLES/README.DOC similarity index 100% rename from Microsoft MASM v5/samples/README.DOC rename to Microsoft MASM v5/SAMPLES/README.DOC diff --git a/Microsoft MASM v5/samples/RUNME.BAT b/Microsoft MASM v5/SAMPLES/RUNME.BAT similarity index 100% rename from Microsoft MASM v5/samples/RUNME.BAT rename to Microsoft MASM v5/SAMPLES/RUNME.BAT diff --git a/Microsoft MASM v5/samples/SETUP.BAT b/Microsoft MASM v5/SAMPLES/SETUP.BAT similarity index 100% rename from Microsoft MASM v5/samples/SETUP.BAT rename to Microsoft MASM v5/SAMPLES/SETUP.BAT diff --git a/Microsoft MASM v5/samples/SETUP2.BAT b/Microsoft MASM v5/SAMPLES/SETUP2.BAT similarity index 100% rename from Microsoft MASM v5/samples/SETUP2.BAT rename to Microsoft MASM v5/SAMPLES/SETUP2.BAT diff --git a/Microsoft MASM v5/samples/SHOW.ASM b/Microsoft MASM v5/SAMPLES/SHOW.ASM similarity index 100% rename from Microsoft MASM v5/samples/SHOW.ASM rename to Microsoft MASM v5/SAMPLES/SHOW.ASM diff --git a/Microsoft MASM v5/samples/SHOW.EXE b/Microsoft MASM v5/SAMPLES/SHOW.EXE similarity index 100% rename from Microsoft MASM v5/samples/SHOW.EXE rename to Microsoft MASM v5/SAMPLES/SHOW.EXE diff --git a/Microsoft MASM v5/samples/U_AUTO.CV b/Microsoft MASM v5/SAMPLES/U_AUTO.CV similarity index 100% rename from Microsoft MASM v5/samples/U_AUTO.CV rename to Microsoft MASM v5/SAMPLES/U_AUTO.CV diff --git a/Microsoft MASM v5/samples/WHAT.ASM b/Microsoft MASM v5/SAMPLES/WHAT.ASM similarity index 100% rename from Microsoft MASM v5/samples/WHAT.ASM rename to Microsoft MASM v5/SAMPLES/WHAT.ASM diff --git a/Microsoft MASM v5/samples/WHAT.EXE b/Microsoft MASM v5/SAMPLES/WHAT.EXE similarity index 100% rename from Microsoft MASM v5/samples/WHAT.EXE rename to Microsoft MASM v5/SAMPLES/WHAT.EXE diff --git a/Microsoft MASM v5/samples/W_AUTO.CV b/Microsoft MASM v5/SAMPLES/W_AUTO.CV similarity index 100% rename from Microsoft MASM v5/samples/W_AUTO.CV rename to Microsoft MASM v5/SAMPLES/W_AUTO.CV diff --git a/Microsoft MASM v5/sieve.asm b/Microsoft MASM v5/SIEVE.ASM similarity index 100% rename from Microsoft MASM v5/sieve.asm rename to Microsoft MASM v5/SIEVE.ASM diff --git a/Microsoft MASM v5/ttt.asm b/Microsoft MASM v5/TTT.ASM similarity index 100% rename from Microsoft MASM v5/ttt.asm rename to Microsoft MASM v5/TTT.ASM diff --git a/Microsoft MASM v5/m.sh b/Microsoft MASM v5/m.sh new file mode 100644 index 0000000..4ffed11 --- /dev/null +++ b/Microsoft MASM v5/m.sh @@ -0,0 +1,17 @@ +str=$(tr '[a-z]' '[A-Z]' <<< $1) + +rm $str.EXE 2>/dev/null +rm $str.CRF 2>/dev/null +rm $str.MAP 2>/dev/null +rm $str.OBJ 2>/dev/null +rm $str.LST 2>/dev/null + +ntvdm -r:. -u -h bin/masm /Zi /Zd /z /L $str,,,\; +ntvdm -r:. -u -h bin/link /CP:1 $str,,$str,,nul.def + +rm $str.CRF 2>/dev/null +rm $str.MAP 2>/dev/null +rm $str.OBJ 2>/dev/null +rm $str.LST 2>/dev/null + +ntvdm -u $str