Add interrupts module: INT 3 (CC breakpoint) vs INT 21h (DOS services)
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
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Rebuild everything in output/ and check it. Needs: nasm, dosbox, python3 with `unicorn`.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
./fetch-debug.sh > ../output/09-tool-versions.txt || true
|
||||
{
|
||||
echo "nasm: $(nasm -v)"
|
||||
echo "dosbox: $(dosbox --version 2>/dev/null | grep -i 'version' | head -1 | sed 's/, copyright.*//')"
|
||||
echo "unicorn: $(python3 -c 'import unicorn;print(unicorn.__version__)')"
|
||||
echo "python: $(python3 --version)"
|
||||
} | grep -v 'Picked up' >> ../output/09-tool-versions.txt
|
||||
python3 dosbox_run.py
|
||||
python3 bp_experiment.py > ../output/08-bp-experiment.txt
|
||||
python3 check.py | tee ../output/10-checks.txt
|
||||
Reference in New Issue
Block a user