Vsys/Atari/DIAGRAM/

Up to parent directory

Cut Box Diagram

Manual

../doc/Dmanual.e

Source

The Diagram source code makes heavy use of floating point, and can be assembled either with actual or emulated fpu commands by using the respective command line options k=1 or k=0. 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.
Dgram11.s
Dgrad11.s


Build dgram11.ttp and dgrad11.ttp executables for Atari.
Dgram13c.s
Dgrad13c.s


Cross build dgram13c and dgrad13c executables for Amiga.
Dgram14c.s
Dgrad14c.s


Cross build dgram14c and dgrad14c executables for Macintosh.
Dgram15c.s
Dgrad15c.s


Cross build dgram15c and dgrad15c executables for NeXT.

Legacy Command Files

The command files above are based on following scripts for the Macintosh Micro Shell, included here for reference only, with Atari line ends. They will not work on Atari 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.

Up to Vsys/