I suppose the R/W signal could also be the problem on the upper 16-bit chip.

To figure out which chip is which, use an ohm meter to compare the lowest data line on each RAM chip (D0, or possibly D1) to D0 and D16 at the CPU. The faulty chip is the one with D0 (RAM) connected to D16 (CPU).

Cheers