3 ms·
133Mhz, that's 133 cycles per instruction for a 6502 (assuming you emulate only the 6502). Seems doable but then there's the BCD stuff and that's rather tough e
by wiz21c 3y ago
133Mhz, that's 133 cycles per instruction for a 6502 (assuming you emulate only the 6502). Seems doable but then there's the BCD stuff and that's rather tough emulate (you'll definitely need a lot of cycles to reproduce that)...
But that sounds real cool. Would you share you project ?
- raphlinus 3y agoIt's a bit tricky, but my decimal adc is 19 lines of code, all of which is fairly straightforward, mostly bit fiddling stuff that I expect will compile to a few instructions each. I need to go through an open source releasing process but I'll get that going. Thanks for your interest!
- raphlinus 3y agoAs a followup, here it is: https://github.com/raphlinus/r6502 https://github.com/raphlinus/r6502