64KB 2865 eeprom

For discussing the 65xx hardware itself or electronics projects.
Post Reply
kernal34
Posts: 27
Joined: 28 Jul 2006

64KB 2865 eeprom

Post 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.
User avatar
8BIT
Posts: 1787
Joined: 30 Aug 2002
Location: Sacramento, CA
Contact:

Post 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
blackadder
Posts: 24
Joined: 20 Mar 2006

Post 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.
kernal34
Posts: 27
Joined: 28 Jul 2006

Post by kernal34 »

Thanks a lot, this helps...
kc5tja
Posts: 1706
Joined: 04 Jan 2003

Post 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. ;)
Post Reply