The Terminal Man. Poster of the 1974 movie and cover of the 1972 book
VS3
The Terminal Man
Michael Crichton, 1972
movie vs book
Mike Hodges, 1974

Harry Benson, an intelligent computer scientist in his 30s, suffers from epilepsy. He often has seizures that induce blackouts, after each of which he awakens to unfamiliar surroundings with indications of violent behavior on his part. He also suffers from delusions that computers will rise up against humans.