4 ms·Show HN: 6502 in pure Lua, no dependencies5 points by mococa 2y agopipo234 2y agoNice. Nitpick: Your 6502 is missing decimal mode (bcd) addition/subtraction. Also, consider cycle counting for accurate emulation use.mococa 2y agoThank you. I will skip this, my plan is to build a NES emulator, and its 6502 chip version does not have it. Maybe in the future for others :Dpipo234 2y agoAh. The Ricoh asic. Makes sense, yes.