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.

6502 simulated at transistor level in Javascript

123 pointsby pnpover 14 years ago

12 comments

teiloover 14 years ago
At the transistor level? I assume this means that each transistor is simulated digitally, as a pure switch, and not as an analog component, which I imagine would be near impossible to do in Javascript on current hardware.<p>Not the most practical way to emulate a CPU, but surely a good exercise in learning how a processor works from the component level on up.
评论 #1702636 未加载
评论 #1703663 未加载
评论 #1705014 未加载
thought_alarmover 14 years ago
Now <i>that</i> is a hard core obsession; with retrocomputing or JavaScript, I'm not sure which.
anigbrowlover 14 years ago
I put on a hat so I could take it off again. Very impressive. Now I know what do to do with those old Atari game cartridges which have been sitting in a box by my desk for 5 years.<p>Also, this seems like it should have a unit to itself on any CS course, not to mention serving as a platform much further research. Maybe I should take up 6502 Assembler as a hobby. Their SigGraph slides are well worth a look: <a href="http://www.visual6502.org/docs/6502_in_action_14_web.pdf" rel="nofollow">http://www.visual6502.org/docs/6502_in_action_14_web.pdf</a>
评论 #1704258 未加载
malkiaover 14 years ago
This is pretty cool.<p>It reminds me of 6502-sim for my Apple ][ - it was a 6502 application (Sorry Captain Obvious), but it was cool as it was showing how each instruction worked.<p>This goes beyond it :)
jhrobertover 14 years ago
Amazing.<p>It runs at 27hz (not 27Mhz)...<p>And some people are willing to simulate the brain? Good luck!
评论 #1703150 未加载
评论 #1705026 未加载
reader5000over 14 years ago
Wow. It's beautiful.
zandorgover 14 years ago
The 6510 (C64 6502 with extra ports) has secret opcodes, basically holes in the circuitry, which emulators have to support because they're used in demos for extra speed (eg, write to x what's in a).<p>I wonder if this simulation also has secret opcodes?
评论 #1704518 未加载
milesover 14 years ago
Non-CS majors who want to dig deeper might enjoy:<p>But How Do It Know? - The Basic Principles of Computers for Everyone <a href="http://amazon.com/dp/0615303765" rel="nofollow">http://amazon.com/dp/0615303765</a>
mkramlichover 14 years ago
chip-u-licious! kudos to the creators. i'll check out the Python one tonight. old time 6502 hacker here...
arethuzaover 14 years ago
Can you imagine what a contemporary CPU or GPU would look like if displayed like this?
评论 #1703105 未加载
LongSeanover 14 years ago
Awesome ... how long before someone can use this to run NES games ?
评论 #1703108 未加载
评论 #1702925 未加载
JabavuAdamsover 14 years ago
Wow, hot!