Vsys/Amiga/DIAGRAM/

Up to parent directory

Cut Box Diagram

Manual

../doc/Dmanual.e

Source

The Diagram program makes heavy use of floating point, and can be assembled with either actual or emulated fpu commands. It requires Femulx.a either way, but only for a small initialization routine in case floating point is not emulated.

Diagram requires a 68020 cpu or above.

The executables are eventually given different names, Diagram for the version that uses hardware floating point, and Diagrad for the version that uses software floating point emulation.
Diagrad.a Main program.
Drad.a
Dpartd.a
Postscd.a Postscript transformations.
Texd.a
Picd.a
Derd.a Error messaging.
Dmacrd.e Included by the above.
../EMUL/Femulx.a

Programs

Diagram program files are plain text, with .e file name extensions. The output file can be encapsulated postscript, Macintosh bitmap format, or legacy HP printer format. If a program contains a single figure, the default base name of its output file is the same as that of the program file. If it contains multiple figures, the base names of the output files are constructed by concatenating the program base name with subprogram names defined by IDENT statements.
C1_C2.e Up and down colored quarks.
Colors.e Built-in colors with names.
WZ_self.e W and Z boson self energy.
Dfig_.e Various figures.
Err.e The same figures as Dfig_.e, but with a preamble that sets a page size and margins incompatible with the figures, causing error messages to print when the file is compiled.
Font.e Built-in fonts.
MeaFun.e Special features.
PSFonts.e Postscript fonts.

Figures

The outputs of the program files above have been converted to scalable vector graphics (SVG) format under macOS by applying epstopdf (from MacTeX) followed by pdf2svg (from Homebrew). Here are the results:

Command Files

The following scripts build or cross build executables as indicated in the side comments. Those assembled with hardware floating point have "gram" in the name, while those assembled with emulated floating point have "grad". They are to be renamed conventionally as Diagram and Diagrad when moved to an execution path for the corresponding system, and for Atari, with a .ttp extension and recommended all lower case. The only machine dependence in the build process comes from linking with IOst#.y and startup code.
Dgram13.s
Dgrad13.s


Build Diagram13 and Diagrad13 executables for Amiga.
Dgram11c.s
Dgrad11c.s


Cross build dgram11c.ttp and dgrad11c.ttp executables for Atari.
Dgram14c.s
Dgrad14c.s


Cross build Diagram14c and Diagrad14c executables for Macintosh.
Dgram15c.s
Dgrad15c.s


Cross build Diagram15c and Diagrad15c executables for NeXT.

Legacy Command Files

The command files above are based on the following scripts for the Macintosh Micro Shell, included here for reference only, with Amiga line ends. They will not work on Amiga systems without adjustments.
ND.s
NDE.s
NDNE.s
NDP.s
NDX.s
NDXX.s

Notes

Dconvent.e Internal data representation.
Flaguse.e Internal state representation.

Notes

Dconvent.e Internal data representation.
Flaguse.e Internal state representation.

Up to Vsys/