TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Arduino 6502 Controller

52 点作者 billziss超过 3 年前
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 条评论

coderjames超过 3 年前
Wow! A 6502 ICE, nice! That would certainly make developing a retro 6502-based machine these days much easier.
stevekemp超过 3 年前
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.
swetland超过 3 年前
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.
userbinator超过 3 年前
<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.
mNovak超过 3 年前
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 未加载