This paper considers a two-level atom interacting with two cavity modes with equal frequencies. Applying a unitary transformation, the system reduces to the analytically solvable Jaynes-Cummings model. For some particular field states, coherent and squeezed states, the transformation between the two bare basis's, related by the unitary transformation, becomes particularly simple. It is shown how to generate, the highly non-classical, entangled coherent states of the two modes, both in the zero and large detuning cases. An advantage with the zero detuning case is that the preparation is deterministic and no atomic measurement is needed. For the large detuning situation a measurement is required, leaving the field in either of two orthogonal entangled coherent states.