Garry Kent Marshall was born in the Bronx on Nov. 13, 1934. His father, who was born Anthony Masciarelli but changed the family name, made industrial films. He attended Public School 80 and DeWitt Clinton High School in the Bronx and graduated from Northwestern University. In 1956, Mr. Marshall joined the Army and served in South Korea before returning to New York, where he worked briefly for The Daily News, did his comedy routines at night and wrote jokes for the comedian Joey Bishop and others. He moved to Los Angeles in the early 1960s. his work in television alone included writing scripts for the well-remembered, star-driven comedies “Make Room for Daddy” (with Danny Thomas), “The Lucy Show” and “The Dick Van Dyke Show” and developing (with Jerry Belson) Neil Simon’s play “The Odd Couple” into the television series that starred Tony Randall and Jack Klugman as the mismatched roommates Felix, a neatnik, and Oscar, a slob. Mr. Marshall, with Joe Glauberg and Dale McRaven, created “Mork and Mindy,” the show about a charmingly innocent, logorrheic space alien that made Robin Williams a star; “Laverne and Shirley” (with Lowell Ganz and Mark Rothman), about a pair of blue-collar single women, one of whom was played by Mr. Marshall’s younger sister Penny; and “Happy Days." Mr. Marshall began directing movies in the 1980s most famously “Pretty Woman” (1990). His survivors include his wife of more than 50 years, Barbara; two sisters, Penny Marshall, the actor and director, and Ronny Hallin; and three children.