← Combine a disk rule with REU records
Commands
Combine a disk rule with REU records
Build the scoring rule and boot the score disk
mkdir -p build
score_build=$(mktemp -d build/score-tutorial.XXXXXX)
compiler=./zig-out/bin/zp64c
"$compiler" compile docs/tutorial-examples/memory-plan-math.zp64 -o "$score_build/math.prg"
"$compiler" compile docs/tutorial-examples/memory-plan.zp64 -o "$score_build/score.prg" \
--dependency-module "fixed_math=$score_build/math.prg.zpmod.json" \
--dependency-relocsim "fixed_math=$score_build/math.prg.zpmod.relocsim.json"
c1541 -format 'memory plan,01' d64 "$score_build/score.d64" \
-write "$score_build/score.prg" boot \
-write "$score_build/math.prg.zpmod.disk.prg" fixedmath
x64sc -reu -reusize 256 -autostart "$score_build/score.d64:boot"