NASM sources, DOSBox/FreeDOS Debug/Unicorn harness, captured output and 31 assertions backing the ankurm.com article "INT 3 vs INT 21h in 8086 Assembly". Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KqJyCidz3ZgRyHABv2GVJh
12 lines
520 B
Bash
Executable File
12 lines
520 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Download FreeDOS "Debug" (MIT licence, a DEBUG.EXE-compatible debugger) into ../build/.
|
|
# It is NOT committed to the repository.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
mkdir -p build
|
|
if [ ! -f build/DEBUG.COM ]; then
|
|
curl -fsSL -o build/debug.zip https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/1.3/base/debug.zip
|
|
unzip -o -q -j build/debug.zip BIN/DEBUG.COM APPINFO/DEBUG.LSM -d build
|
|
fi
|
|
grep -E '^(Title|Version|Entered-date|Copying-policy):' build/DEBUG.LSM || true
|