Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undocumented 'NOP's are not handled properly #299

Open
Yazwh0 opened this issue Sep 9, 2024 · 2 comments
Open

Undocumented 'NOP's are not handled properly #299

Yazwh0 opened this issue Sep 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Yazwh0
Copy link

Yazwh0 commented Sep 9, 2024

There are two nops that act like a LDA $abcd but does not store the value in a register. The opcodes are $dc, $fc.

This 'dummy' read doesn't happen. Also the PC is not incremented by 3, but only 1. Possibly because pagetable.com table have these incorrectly listed? https://www.pagetable.com/c64ref/6502/?cpu=65c02&tab=2#NOP

I suspect $5C also is wrong (as its also wrong on pagetable), but I've not yet been able to check this vs hardware.

Edit: $5c is apparently three bytes as well.

@Yazwh0
Copy link
Author

Yazwh0 commented Sep 9, 2024

Updated the port tester for these two opcodes. If F6 doesn't display 2 lines then the opcode isn't supported.

dataport.zip

@Yazwh0
Copy link
Author

Yazwh0 commented Sep 9, 2024

On hardware:

image

@mooinglemur mooinglemur added the bug Something isn't working label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants