Check the pinout of the current chip, and the larger chip you want to use.
Sometimes they are the same, except the bigger one has extra address lines that are mot connected, or some other function, in the smaller one.
If so, you program the data repeatedly in the big chip.
Then it doesn't matter what feeds those extra address lines.
I routinely plug in W27C512s (64KB) into the OS+BASIC 16KB socket on my MTX.