mnaberez / py65

Emulate 6502-based microcomputer systems in Python
BSD 3-Clause "New" or "Revised" License
234 stars 68 forks source link

Fix implementation of BCD mode quirks on 6502 and 65c02 #56

Open KrisKennaway opened 5 years ago

KrisKennaway commented 5 years ago

Fixes the remaining issues with BCD compatibility discussed in #33 (but not the additional opcodes). This leans heavily on the following resources:

I have added a few things here that were useful in development:

mnaberez commented 5 years ago

There are so many things going on here - opinions on new unrelated functionality, opinions on testing methodologies, additions of reams of outside code using an outside assembler, etc. It would be much easier to review a simpler patch that just fixes flag incompatibilities and tests that using the existing methods.

KrisKennaway commented 5 years ago

Yes fair enough. Since it's taken me more than 2 years to get the code cleaned up (I lost it for a while) I wanted to get it into a complete form at least. But I'll try to split out the core fixes soon.

On Wed, Aug 21, 2019 at 1:20 AM Mike Naberezny notifications@github.com wrote:

There are so many things going on here - opinions on new unrelated functionality, opinions on testing methodologies, additions of reams of outside code using an outside assembler, etc. It would be much easier to review a simpler patch that just fixes flag incompatibilities and tests that using the existing methods.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mnaberez/py65/pull/56?email_source=notifications&email_token=AGSNUV4SJY2W2GR6BOQRDWTQFSC4TA5CNFSM4IN5ZNVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4YBJUI#issuecomment-523244753, or mute the thread https://github.com/notifications/unsubscribe-auth/AGSNUV3BKSX4XWMZTIIN7ATQFSC4TANCNFSM4IN5ZNVA .