6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri Nov 01, 2024 7:18 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: 64KB 2865 eeprom
PostPosted: Fri Jul 28, 2006 12:16 am 
Offline

Joined: Fri Jul 28, 2006 12:12 am
Posts: 27
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jul 28, 2006 3:51 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1745
Location: Sacramento, CA
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jul 28, 2006 5:34 pm 
Offline

Joined: Mon Mar 20, 2006 2:03 am
Posts: 24
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 17, 2006 3:12 pm 
Offline

Joined: Fri Jul 28, 2006 12:12 am
Posts: 27
Thanks a lot, this helps...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 17, 2006 9:27 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
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. ;)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: