the 51387 chip wasn't actually marked as "M51387P" btw, it didn't have the mitsubishi logo or the "M" at the start. It was just marked "51387P" and I guessed based on looking up similar part numbers, noticing that the printing was on the same position on the package, and that the package itself had the same looking moulding.
I wonder if Mitsubishi just wasn't marking them at that point, they had some special arrangement with NEC, or what?
The printing was also VERY faint on the original chip, as though it had been washed or something.