TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Arduino 6502 Controller

52 pointsby billzissover 3 years ago
The 6502ctl project is an Arduino controller for the 6502 CPU. The controller controls all 6502 pins, including the clock signal and interrupts, and simulates an address and data bus with attached memory and an output peripheral. The controller includes a clock-cycle debugger with disassembler. An assembler is also included with the project.

5 comments

coderjamesover 3 years ago
Wow! A 6502 ICE, nice! That would certainly make developing a retro 6502-based machine these days much easier.
stevekempover 3 years ago
I came across a similar project in the past - a shield to drive a 6502 from an arduino:<p><a href="https:&#x2F;&#x2F;www.tindie.com&#x2F;products&#x2F;8bitforce&#x2F;retroshield-6502-for-arduino-mega-2&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.tindie.com&#x2F;products&#x2F;8bitforce&#x2F;retroshield-6502-f...</a><p>I bought the z80 variant and had a bit of fun with it, single-stepping and emulating RAM, before I moved on to a single-board computer.
swetlandover 3 years ago
Using half of zero-page for IO (and then dedicating 1&#x2F;4 of that to a string printing interface) is a somewhat odd design choice. Most nontrivial 6502 software leans heavily on zero page (since there are very few registers and shorter&#x2F;faster instructions for zero-page memory access).<p>Simulating something that looks like a serial port (transmit&#x2F;receive&#x2F;status registers) would seem more natural, peripheral-wise.
userbinatorover 3 years ago
<i>NOTE: Most modern debuggers show the next statement&#x2F;instruction that is going to be executed. The 6502ctl debugger always shows the last operation (not instruction) that was executed.</i><p>That &quot;note&quot; should be more of a &quot;warning&quot;. I can&#x27;t think of <i>any</i> debugger, &quot;modern&quot; or otherwise, that doesn&#x27;t show the next instruction to be executed. Expect this to cause a lot of confusion.
mNovakover 3 years ago
Would OP like to elaborate on what exactly this does? I&#x27;m guessing the 6502 otherwise does not have good debugging&#x2F;development support?
评论 #30401514 未加载