To fit into IC sockets you want round machined pin headers that are 0.018 inch (0.46 mm) on one side.
Thanks, I'll have to find some of those. For now I think I've figured out a way I can make it work: the female headers do fit in the socket. It doesn't feel perfect but I think it'll work without damaging anything. So I can make the board as I planned with the square header pins, and then use 2 strips of the female headers as adapters. It won't be pretty, or robust, but it might keep me going until I get the right ones.
Where I come from we use the term "turned pin" instead of "machined pin" - this may make your search a little easier, however...
If I were going to fit a 2864 into a 2732 socket, I would do the following:
On a piece of paper, see how the pinout of pins 2 through 26 of the 2864 compare with pins 1-24 of the 2732A.
From the 2864 data sheet I'm looking at, the only difference is that pin 26 on the 2864 is "NC" and pin 24 of the 2732A is Vcc.
Now given the general desire to be able to plug multiple devices into the same PCB socket, it's pretty safe to say that the NC pin, aka "No connect", on the 2864 is capable of being connected to +5v without damaging the device.
So we can physically plug the "bottom" 24 pins of a 2864 into a 2732 socket, without ill effect, if we do something about the 4 pins "hanging off the top".
Pin 1 is an output (RDY/nBUSY) - we can ignore that
Pin 2 is A12 - we need to tie this high or low because we don't "need" it
Pin 27 is nWE. We don't want to write to the device, so this will be tied high (the "n" in nWE, or the bar over WE on the data sheet says "active low")
Pin 28 is Vcc, this needs to be tied to the Vcc on the socket.
Because we are lazy, the easiest approach is to tie pins 2, 28, 27 together and connect them to pin 26.
This gives us a 2864 device, which if programmed with data in 0x1000-0x0FFF will look like a 4kX8 ROM when inserted into a 2732A socket.
Practically the the exercise becomes:
1) Create a new 8k device image
Rather than get the manual out and figure out how to program the upper 4k of an 8k device, we create an double image, and assuming we saved a plain binary image:
Linux: cat original4k.rom original4k.rom > new8k.rom
DOS/Windows command prompt window: COPY /B original4k.rom + original4k.rom new8k.rom
2) Program the device
3) Bastardize the device
With a pair of pliers, carefully bend pins 1, 2, 27, 28 so that they go up and over the top of the body of the device.
Keep the pins as close to the device body as possible to avoid fouling any other device on the PCB
If you want, insulate pin 1.
Solder a wire to the top of pin 26 - the wide bit which doesn't go into the socket.
Route that wire over pins 27, 28 and pin 2, and tack it to the pin with solder.
By "wire" I mean a single strand of copper or tinned copper wire - I would probably strip a length of stranded hookup wire, pull out a single strand, and use that
4) Insert the modified 2864 into the PCB.
If there's a decoupling capacitor in the way, either bend it over (don't crack any ceramic capacitor), or replace it with a lower profile device
Consider putting the 2864 into a 24 pin socket to create headroom (use a standard socket unless the PCB socket is distorted, and never use gold plated stuff).
You could use a 2764 using a similar bodge:
Pin 1 is usually Vpp - check the data sheet to find out whether this should be tied to +5v, 0v or left floating.
Pin 27 is usually nPGM -
To be honest, a 2x64 to 2732 "bodge" is a lot easier than a masked ROM to EPROM conversion (See
http://www.adsb.co.uk/bbc/adaptor.html - shoehorning a 32 pin 27C1001 into a 28pin masked ROM socket).