Those Celtics and the Lakers of Magic Johnson , James Worthy and Kareem Abdul-Jabbar dominated the N.B.A. in the 1980s : From 1980 to 1988 , the teams won all but one of the nine N.B.A. championships -- three for Boston , five for Los Angeles ( Philadelphia won the other ) .