Cadence (1990)
Cadence is a 1990 film directed by (and starring) Martin Sheen, in which Charlie Sheen plays an inmate in a United States Army military prison in West Germany during the 1960s. Sheen plays alongside his father Martin Sheen and brother Ramon Estevez. The film is based on a novel by Gordon Weaver.
More at Wikipedia.