The screenwriter and director was best known for his autobiographical films Distant Voices, Still Lives and The Long Day Closes.