Skip to content

Commit

Permalink
Merge pull request #98 from stsp/combld
Browse files Browse the repository at this point in the history
MAKEMOS.BAT: rename moxcptsk.com command.com [#95]
  • Loading branch information
roelandjansen authored May 14, 2020
2 parents bcb6767 + c5b69be commit bf3aa5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 1 addition & 0 deletions SOURCES/src/MAKEMOS.BAT
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ REM =======================

rem cd mos5src
make -f makeutil.mak all
ren moxcptsk.com command.com
rem make -f maketerm.mak all
ren __*.* $$*.*
ren _*.sys $*.sys
Expand Down
10 changes: 2 additions & 8 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
#!/bin/sh -eu

REV="$(dosemu --version | grep Revision | cut -d " " -f 2)"
if [ -z "$REV" ] || [ "$REV" -lt 3684 ]; then
echo "At least dosemu2 revision 3684 is required (see dosemu --version)."
if [ -z "$REV" ] || [ "$REV" -lt 4901 ]; then
echo "At least dosemu2 revision 4901 is required (see dosemu --version)."
exit 1
fi

BOOTDIR="SOURCES/src/latest"

[ -f "$BOOTDIR"/'$$mos.sys' ] || (echo "Run ./build.sh first!" && exit 1)

if [ ! -f "$BOOTDIR"/COMMAND.COM ]; then
unzip SHIPMOS/SHIPMOS.ZIP COMMAND.COM -d "$BOOTDIR" || \
(echo "Unable to extract command.com, unzip not installed?" && \
exit 1)
fi

dosemu --Fdrive_c "$BOOTDIR"

0 comments on commit bf3aa5e

Please sign in to comment.