The Baltimore Orioles scored two runs in the 12th inning to defeat the Texas Rangers, 4-2, tonight. It was only their third victory in 11 games on the road.

Tippy Martinez (8-6), in relief of starter Dennis Martinez, was the winner. Sammy Stewart got the last out and earned his third save of the year. Reliever Steve Comer (0-4) was the loser.

"It's been a hard road trip," said Baltimore Manager Earl Weaver. "Tonight was an example. We got great pitching but still had trouble winning."

Rick Dempsey's third hit in his last 29 at bats drove in the winning run. Dempsey, with his second hit of the game, lined a two-out single to left field to score Cal Ripken Jr. from second base.

"It's been a long time coming," Dempsey said. "I just went with the pitch. He (Comer) threw a slider with a little off of it. I got out in front of it and hit a semi-line drive over the shortstop's head."

Dempsey, who moved to second on a throw to the plate, scored the fourth run on Al Bumbry's single to right. Larry Parrish's throw from the outfield had Dempsey beaten, but catcher Don Werner dropped the ball in front of the plate as Dempsey ran into him.

Texas had its chance to tie in the 12th. Billy Sample hit a two-out double down the left field line; at that point, Stewart replaced Martinez, only to walk third baseman Buddy Bell.

Stewart threw a curve into the dirt and past catcher Dempsey and both runners moved up. Cleanup batter Dave Hostetler, on a 3-2 count, hit a sinking line drive to right field that Gary Roenicke caught on the run to end the game.

"It was a slider away," said Stewart of the game's final pitch. "His body wasn't out there, just his hands. That's what scared me. I didn't think he had hit it hard enough for Gary to catch it, but he did."

Eddie Murray's 20th home run of the season, which followed a walk to Ken Singleton, was his first hit of the game. The home run, Murray's second in two nights, was estimated at 475 feet.

"(Starter John) Butcher only made one mistake all night," said Murray, "and I hit it."

Sample tied the game in the fifth with a home run just over the left field fence to tie the game at 2. Martinez had retired 13 of the previous 14 batters before Sample's homer.

Before the game, Scott McGregor, who gave up five runs while failing to get an out in the first inning Thursday night in Minneapolis, returned to Baltimore for a shoulder examination.

"I've had a little tendinitis in the shoulder," said McGregor, who threw only 12 pitches, his briefest appearance in the majors, against the Twins. "And I just never got loose. I didn't have anything."