Page 1 of 1

64KB 2865 eeprom

Posted: Fri Jul 28, 2006 12:16 am
by kernal34
I'm doing a project involving a 6502 and a 2865 eeprom. I only need an 8KB eeprom, but the only one I have available is a 64KB. Can I use the 64KB eeprom, but just use 13 of the 16 address lines to access the 8KB, and will this work fine, or do I have to tie all 16 address lines to the 6502?

Thanks in advance.

Posted: Fri Jul 28, 2006 3:51 am
by 8BIT
You can use any sized eeprom you want. Just tie the unused upper address lines to ground (logic 0). Be sure to set these same address lines to 0 when you program your eeprom to ensure your code gets read.

Daryl

Posted: Fri Jul 28, 2006 5:34 pm
by blackadder
Depending on what you're using the EEPROM for you might also put dip switches or jumpers on the upper address lines (the switch grounds the line when closed, a pullup resistor pulls it high when open) allowing you to select which one of 8 different 8k blocks the computer boots up with.

Posted: Thu Aug 17, 2006 3:12 pm
by kernal34
Thanks a lot, this helps...

Posted: Thu Aug 17, 2006 9:27 pm
by kc5tja
And if you have pins left over on a VIA chip, you can use those to select which ROM bank to use, thus allowing software control over which ROM image to present. The Acorn uses this technique to get metric ***-loads[1] of functionality in its ROM, while still having a wealth of RAM available for user applications.

[1] Note to be confused with imperial ***-loads, which varies from country to country, and conversions between different kinds of loads are arbitrary and difficult to remember. ;)