# dnw, 25-Feb-2022
echo "Build dgrad11.ttp for Atari (software fp)."

cd /usr/print/FONT
Abs HP12.f HP9.f HP6.f HP4.f HP3.f
Abs Arrow.f Arrowp.f Darrow.f Diarrow.f
Abs Circle.f Pcircle.f Squarep.f Roundp.f Sleeve.f Cross.f Plus.f Minus.f
Abs Fish.f Skull.f Tophat.f Man.f Woman.f
Link -y HP12.y Arrow.y Circle.y Fish.y -o /usr/DIAGRAM/Fonts.y
cd /usr/DIAGRAM

AAma -R2 /usr/EMUL/Femulx.a -o Femulx.y

AAma -R2 k=0 Diagrad.a Drad.a Dpartd.a Postscd.a Texd.a Picd.a Derd.a
Link -y Diagrad.y Drad.y Dpartd.y Postscd.y Texd.y Picd.y Derd.y -o Dgrad.y

Link -y Dgrad.y Femulx.y Fonts.y -o Diagradx.y

# Machine dependent.
Link -n /usr/lib/IOst11.y Diagradx.y -o dgrad11.ttp
echo "Move dgrad11.ttp to an Atari execution path and rename as diagrad.ttp"
