Vadership wrote on 2025-04-23, 14:33:
The RAM is easy enough to find, but I just need to know what type of eeproms or eproms I should be using for the job ?
Hey! 🙂
I hate to be that guy but it basically says so in my post you quoted: The EGA ROM is a 27256 and the two BIOS ROMs are 2864s. Any ROM (eprom / eeprom) fitting the general specs should work.
I can see how the numbers can be a bit confusing at first though and tbh what I know also mainly comes from experimenting and interweb research. So take what I write with a grain of salt. You will find these ROMs usually labelled in the form 27x256x or 28x64x. The first two numbers specify the pinout type. So 27s and 28s are not pin compatible. The second set of numbers specifies the capacity. The X mainly represent vendor codes and can vary, though from experience all 27s work where 27s are required and vice versa with 28s. Make sure to get the right package, meaning DIP (dual inline package = classic thruhole pins) and not e.g. SMD variants.
ROMs are graded by speed which is a number appended at the end. Get the fastest you can get, though I usually use -150s (150ns) and that mostly works fine. With the Chinese knockoffs you never know anyway. Best to buy from a trusted electronics seller even though these will be vastly more expensive.
Now the capacity should match what your PC1640 requires, though usually you can go bigger. If you only have access to bigger ROMs, e.g. a 27512 instead of a 27256, then you “simply” need to put the image on the ROM (in this case) twice in succession. Either the PC picks up the first or the second (or third or fourth for even larger ROMs) copy, depending on the wiring. It can(!) work if you only put it on address zero, but it also can not.
With the popular TL866 uou first load the rom at zero, checking “fill rest with zeroes”. Then you load it at the second (third, fourth…) address but this time do not check “fill with zeroes” but select leave rest as-is.
For convenience I use Atmel AT28C64 and Winbond W27C512. These are EEPROMs, so electronically erasable, without having to erase them with UV light. They are relatively easy to get and cover most of my scenarios but they can be expensive. Like I said, for the W27C512, when used as an Amstrad EGA BIOS, you’d have to load the 256 image twice with your EEPROM writer, first at address zero and then at address 8000 wich marks the first of the second half (if memory serves!) and then burn it to the ROM.
Hth!
Jens