← Build and call a disk-loaded DLL
Commands
Build and call a disk-loaded DLL
Build and boot both disk images
mkdir -p build
out=$(mktemp -d build/first-dll.XXXXXX)
./zig-out/bin/zp64c compile docs/tutorial-examples/dll-disk-typed.zp64 -o "$out/boot.prg"
c1541 -format 'first dll,01' d64 "$out/with-dll.d64" \
-write "$out/boot.prg" boot -write "$out/boot.prg.zpmod.disk.prg" enemyrt
c1541 -format 'missing dll,02' d64 "$out/without-dll.d64" -write "$out/boot.prg" boot
x64sc -reu -reusize 16384 -autostart "$out/with-dll.d64:boot"
x64sc -reu -reusize 16384 -autostart "$out/without-dll.d64:boot"