For the electoral vote, I just plug the results in to the EVC, using the map from the later election. For example, if I have Truman (1948) vs. Bush (1988), I'd use the 1988 map.
The popular vote is a bit more complicated. I divide the total votes in any state from the later election (1988) by...