NEW YORK (AP) _ Here are the prime-time television ratings as compiled by the A.C. Nielsen Co. for the week of March 13-19. Top 20 listings include the week's ranking, with full season-to-date ranking in parentheses, rating for the week, and total homes.

An ''X'' in parentheses denotes one-time-only presentation. A rating measures the percentage of the nation's 90.4 million TV homes.

1. (2) ''Roseanne,'' ABC, 26.1 rating, 23.5 million homes.

2. (1) ''The Cosby Show,'' NBC, 24.2, 21.8 million homes.

3. (43) ''The Women of Brewster Place, Part 1,'' - ''ABC Sunday Night Movie,'' 23.5, 21.2 million homes.

4. (3) ''Different World,'' NBC, 22.7, 20.5 million homes.

5. (4) ''Cheers,'', NBC, 22.5, 20.3 million homes.

6. (5) ''60 Minutes,'' CBS, 22.3, 20.1 million homes.

7. (29) ''Wonder Years,'' ABC, 20.4, 18.4 million homes.

8. (6) ''Golden Girls,'' NBC, 20.3, 18.3 million homes.

9. (8) ''Who's the Boss,'' ABC, 20.2, 18.2 million homes.

10. (15) ''Unsolved Mysteries,'' NBC, 19.5, 17.6 million homes.

10. (7) ''Anything But Love,'' ABC, 19.5, 17.6 million homes.

12. (10) ''Empty Nest,'' NBC, 18.6, 16.8 million homes.

13. (11) ''Dear John,'' NBC, 18.5, 16.7 million homes.

14. (22) ''The Wizard of Oz,'' - ''CBS Sunday Night Movie,'' 18.1, 16.3 million homes.

15. (19) ''Hunter,'' NBC, 17.9, 16.2 million homes.

16. (12) ''Growing Pains,'' ABC, 17.8, 16.1 million homes.

17. (21) ''Night Court,'' NBC, 17.7, 16.0 million homes.

18. (15) ''In the Heat of the Night,'' NBC, 17.4, 15.7 million homes.

19. (13) ''Matlock,'' NBC, 17.0, 15.3 million homes.

19. (26) ''Knots Landing,'' CBS, 17.0, 15.3 million homes.

21. (13) ''ALF,'' NBC, 16.8.

22. (19) ''Head of the Class,'' ABC, 16.4.

23. (35) ''Murphy Brown,'' CBS, 16.2.

23. (33) ''Designing Women,'' CBS, 16.2.

25. (23) ''Dangerous Affection,'' - ''NBC Monday Night Movies,'' 16.0.

26. (23) ''Amen,'' NBC, 15.8.

26. (25) ''Hogan Family,'' NBC, 15.8.

26. (28) ''Jake and The Fatman,'' CBS, 15.8.

29. (32) ''Full House,'' ABC, 15.4.

30. (45) ''Macgyver,'' ABC, 15.2.

31. (27) ''Return of the Jedi,'' - ''NBC Sunday Night Movie,'' 15.1.

32. (36) ''Family Ties,'' NBC, 14.4.

33. (39) ''My Two Dads,'' NBC, 14.3.

34. (41) ''Midnight Caller,'' NBC, 14.0.

34. (40) ''Perfect Strangers,'' ABC, 14.0.

36. (36) ''227,'' NBC, 13.8.

37. (45) ''Mr. Belvedere,'' ABC, 13.7.

38. (43) ''thirtysomething,'' ABC, 13.2.

39. (29) ''Dallas,'' CBS, 13.1.

39. (45) ''Kate & Allie,'' CBS, 13.1.

39. (42) ''20-20,'' ABC, 13.1.

42. (51) ''Newhart,'' CBS, 13.0.

42. (54) ''Just the Ten of Us,'' ABC, 13.0.

44. (15) ''L.A. Law,'' NBC, 12.9.

45. (29) ''Gideon Oliver,'' - ''ABC Mystery Movie-Monday,'' 12.5.

46. (51) ''Falcon Crest,'' CBS, 11.8.

47. (64) ''Paradise,'' CBS, 11.5.

48. (48) ''Nightingales,'' NBC, 11.4.

48. (X) ''Over the Edge,'' ABC, 11.4.

50. (56) ''Aliens,'' - ''CBS Tuesday Night Movie,'' 11.3.

51. (50) ''Father Dowling Mysteries,'' NBC, 10.9.

51. (NA) ''Married...With Children,'' FOX, 10.9.

51. (55) ''Coach,'' ABC, 10.9.

54. (9) ''Murder, She Wrote,'' CBS, 10.7.

54. (57) ''Hooperman,'' ABC, 10.7.

56. (69) ''48 Hours: Toy Money,'' CBS, 10.4.

57. (NA) ''America's Most Wanted,'' FOX, 10.3.

57. (X) ''Beauty and the Beast Special,'' CBS, 10.3.

59. (60) ''China Beach,'' ABC, 10.2.

60. (69) ''Magical World of Disney: Swiss Family Robinson, Part 1,'' NBC, 9.8.

61. (71) ''Mission: Impossible,'' ABC, 9.6.

62. (67) ''Dynasty,'' ABC, 9.4.

63. (61) ''Miami Vice,'' NBC, 9.2.

64. (X) ''World Figure Skating Championships,'' CBS, 8.8.

65. (76) ''Hard Time on Planet Earth,'' CBS, 8.4.

66. (67) ''Beauty and the Beast,'' CBS, 8.2.

67. (73) ''Man Called Hawk,'' ABC, 8.1.

68. (X) ''Flight of the Navigator, Part 2,'' - ''ABC Family Classics,'' 7.9.

69. (83) ''West 57th,'' CBS, 7.7.

70. (NA) ''21 Jump Street,'' FOX, 7.1.

71. (88) ''Great Circuses of the World,'' ABC, 6.7.

72. (92) ''Heartbeat,'' ABC, 6.3.

73. (NA) ''COPS,'' FOX, 6.0.

74. (93) ''Murphy's Law,'' ABC, 5.9.

75. (NA) ''Reporters,'' FOX, 5.2.

76. (NA) ''Beyond Tomorrow,'' FOX, 4.2.

77. (NA) ''Garry Shandling Show,'' FOX, 3.9.

78. (NA) ''Tracey Ullman Show,'' FOX, 3.0.

79. (NA) ''Duet,'' FOX, 2.6.