Interpretation of electron microscope images of crystalline lattice defects can be greatly aided by computer simulation of theoretical contrast from continuum models of such defects in thin foils. Several computer programs exist at the present time, but none are sufficiently general to permit their use as an aid in the identification of the range of defect types encountered in electron microscopy. This paper presents progress in the development of a more general computer program for this purpose which eliminates a number of restrictions contained in other programs. In particular, the program permits a variety of foil geometries and defect types to be simulated.The conventional approximation of non-interacting columns is employed for evaluation of the two-beam dynamical scattering equations by a piecewise solution of the Howie-Whelan equations.