element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
element14's The Ben Heck Show
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • More
  • Cancel
element14's The Ben Heck Show
Forum W65C02S Address selection
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14's The Ben Heck Show to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 8 replies
  • Subscribers 31 subscribers
  • Views 1098 views
  • Users 0 members are here
  • singleboardcomputer
  • w65c02s
  • frontpage
  • apple1
  • 6502
Related

W65C02S Address selection

ElectroRetroNerd
ElectroRetroNerd over 11 years ago

Hello World! My name is Kaleb Papesh and I have decided to build my very own 6502 based computer from the ground up after watching the Apple 1 episodes of TBHS. I know that the 6502 is alive and kicking with Western Design Center currently making the chips however, after looking at the data sheets, I don't see any CS or CE lines for me to use a 3-8 decoder to select ram. Has anyone else used a W65C02S chip in there own 6502 based computers? I don't fully understand the entire addressing architecture for the 6502 so if anyone has in depth information on how it works and how to use a 3-8 decoder to select and use ram, the better! Thank you for any help you can provide!

  • Sign in to reply
  • Cancel
Parents
  • D_Hersey
    0 D_Hersey over 11 years ago

    Since the RAMs of today probably are much bigger than 64K, you don't need 'address decoding,' you need 'paging.'

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • D_Hersey
    0 D_Hersey over 11 years ago

    Since the RAMs of today probably are much bigger than 64K, you don't need 'address decoding,' you need 'paging.'

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • jac_goudsmit
    0 jac_goudsmit over 11 years ago in reply to D_Hersey

    First of all: small SRAM chips (by todays standards) are still available. Most engineers who build their own 6502 system use a 62256 (32KB) but smaller chips can easily be found, too. Interestingly, 64K SRAM chips (such as the 62512) are surprisingly difficult to find, but 128K chips are easy again.

     

    Second: Regardless of how big of a RAM chip you use in a 6502 system, you will still need address decoding, because every 6502 system needs ROM, RAM and I/O. The original Apple-1 used 8K RAM and 256 bytes (yes bytes) of ROM, but the PIA takes up 4 addresses starting at $D010. Even if you use a 64KB RAM chip, you still need an address decoder to turn the RAM chip off for address areas where the ROM or the PIA (or whatever other chips you want to put into your system) need to be, because only one chip can be active on the data bus.

     

    ===Jac

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube