René's URL Explorer Experiment


Title: 6502 CMOS (rockwell and WDC) have incorrect tests for BBR/BBS? · Issue #72 · SingleStepTests/ProcessorTests · GitHub

Open Graph Title: 6502 CMOS (rockwell and WDC) have incorrect tests for BBR/BBS? · Issue #72 · SingleStepTests/ProcessorTests

X Title: 6502 CMOS (rockwell and WDC) have incorrect tests for BBR/BBS? · Issue #72 · SingleStepTests/ProcessorTests

Description: I've been running the tests on my impl (https://github.com/jmchacon/rusty6502) and everything on the base 6502 and NES variant I have in 100% agreement and that also lines up with my understanding of the chips too. CMOS is a different st...

Open Graph Description: I've been running the tests on my impl (https://github.com/jmchacon/rusty6502) and everything on the base 6502 and NES variant I have in 100% agreement and that also lines up with my understanding ...

X Description: I've been running the tests on my impl (https://github.com/jmchacon/rusty6502) and everything on the base 6502 and NES variant I have in 100% agreement and that also lines up with my understand...

Opengraph URL: https://github.com/SingleStepTests/ProcessorTests/issues/72

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"6502 CMOS (rockwell and WDC) have incorrect tests for BBR/BBS?","articleBody":"I've been running the tests on my impl (https://github.com/jmchacon/rusty6502) and everything on the base 6502 and NES variant I have in 100% agreement and that also lines up with my understanding of the chips too.\r\n\r\nCMOS is a different story. Specifically 0x0f and the corresponding copies for BBR0-7/BBS0-7. For this example let's look at the first entry for 0f.json:\r\n\r\nwdc65c02/v1/0f.json \r\n\r\n{ \"name\": \"0f f4 b5\", \"initial\": { \"pc\": 41715, \"s\": 119, \"a\": 58, \"x\": 163, \"y\": 251, \"p\": 225, \"ram\": [ [41715, 15], [41716, 244], [41717, 181], [244, 253], [41643, 230], [41718, 31]]}, \"final\": { \"pc\": 41718, \"s\": 119, \"a\": 58, \"x\": 163, \"y\": 251, \"p\": 225, \"ram\": [ [244, 253], [41643, 230], [41715, 15], [41716, 244], [41717, 181], [41718, 31]]}, \"cycles\": [ [41715, 15, \"read\"], [41716, 244, \"read\"], [244, 253, \"read\"], [244, 253, \"write\"], [41717, 181, \"read\"], [41643, 230, \"read\"]] },\r\n\r\nThis is\r\n\r\nBBR0 0xf4,0xb5 which would jump if bit0 is clear at location 0xF4 which it's not since it's 0xFD. The final state seems to confirm that as the PC is set to the next instruction and didn't jump.\r\n\r\nThe cycles sequence doesn't make sense here though due to the write on cycle4. No part of this instruction ever writes back to RAM. It's a load instruction, not store or RMW. This appears to be accurate but just slipped a write in after the ZP read. Otherwise it's correct if I remove the write. Additionally a missed branch is 5 cycles, not 6 like this is claiming which is also confusing.\r\n\r\nWhile I agree there are lots of errors in docs out there I'm basing this on\r\n\r\nhttps://web.archive.org/web/20141129202001if_/http://archive.6502.org/datasheets/wdc_w65c02s_feb_2004.pdf\r\n\r\nwhich on page 33 shows the sequence WDC documented for this instruction (9b) which lines up with other testing I've done (\r\nKlaus Dormann's functional tests I can pass all the CMOS related ones which does test BBR/BBS).\r\n\r\nSo it looks like if I stripped all the extra write cycles from these instructions things work as I expect. Is this just a bug in the generation code? ","author":{"url":"https://github.com/jmchacon","@type":"Person","name":"jmchacon"},"datePublished":"2023-12-12T00:19:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/72/ProcessorTests/issues/72"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f684c8f0-d76b-21ad-bf8c-6e7cc5d4ab50
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id80D8:208DB:2293C5:3137E4:6A4BB2AF
html-safe-noncedbba0ba9214ec1ff70512af43910b2768d1559d5f75ded2d143c94d488e4ef87
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEQ4OjIwOERCOjIyOTNDNTozMTM3RTQ6NkE0QkIyQUYiLCJ2aXNpdG9yX2lkIjoiMzMzNTk3MDE4NTEzNTUwMjAwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfd49ab07d3d29a2f540cc6f844e46c3e34cd6efe92ba4afe4230f16f1ab3a695
hovercard-subject-tagissue:2036753098
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SingleStepTests/ProcessorTests/72/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f8fce31f1f1cf437833b47d0e02b0661eb32831992e172f9a0e376b07adb64a1/SingleStepTests/ProcessorTests/issues/72
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f8fce31f1f1cf437833b47d0e02b0661eb32831992e172f9a0e376b07adb64a1/SingleStepTests/ProcessorTests/issues/72
og:image:altI've been running the tests on my impl (https://github.com/jmchacon/rusty6502) and everything on the base 6502 and NES variant I have in 100% agreement and that also lines up with my understanding ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejmchacon
hostnamegithub.com
expected-hostnamegithub.com
Noneae1c14875555a1dd92bdef45baa6dd9aa796df891e4e471989f7117fe3139fc1
turbo-cache-controlno-preview
go-importgithub.com/SingleStepTests/ProcessorTests git https://github.com/SingleStepTests/ProcessorTests.git
octolytics-dimension-user_id169324964
octolytics-dimension-user_loginSingleStepTests
octolytics-dimension-repository_id409399462
octolytics-dimension-repository_nwoSingleStepTests/ProcessorTests
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id409399462
octolytics-dimension-repository_network_root_nwoSingleStepTests/ProcessorTests
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release68fba4ebcf15cde644b66de9a06e0a8582279435
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/SingleStepTests/ProcessorTests/issues/72#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSingleStepTests%2FProcessorTests%2Fissues%2F72
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSingleStepTests%2FProcessorTests%2Fissues%2F72
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=SingleStepTests%2FProcessorTests
Reloadhttps://github.com/SingleStepTests/ProcessorTests/issues/72
Reloadhttps://github.com/SingleStepTests/ProcessorTests/issues/72
Reloadhttps://github.com/SingleStepTests/ProcessorTests/issues/72
Please reload this pagehttps://github.com/SingleStepTests/ProcessorTests/issues/72
SingleStepTests https://github.com/SingleStepTests
ProcessorTestshttps://github.com/SingleStepTests/ProcessorTests
Notifications https://github.com/login?return_to=%2FSingleStepTests%2FProcessorTests
Fork 14 https://github.com/login?return_to=%2FSingleStepTests%2FProcessorTests
Star 250 https://github.com/login?return_to=%2FSingleStepTests%2FProcessorTests
Code https://github.com/SingleStepTests/ProcessorTests
Issues 13 https://github.com/SingleStepTests/ProcessorTests/issues
Pull requests 0 https://github.com/SingleStepTests/ProcessorTests/pulls
Actions https://github.com/SingleStepTests/ProcessorTests/actions
Security and quality 0 https://github.com/SingleStepTests/ProcessorTests/security
Insights https://github.com/SingleStepTests/ProcessorTests/pulse
Code https://github.com/SingleStepTests/ProcessorTests
Issues https://github.com/SingleStepTests/ProcessorTests/issues
Pull requests https://github.com/SingleStepTests/ProcessorTests/pulls
Actions https://github.com/SingleStepTests/ProcessorTests/actions
Security and quality https://github.com/SingleStepTests/ProcessorTests/security
Insights https://github.com/SingleStepTests/ProcessorTests/pulse
SingleStepTests/65x02#3https://github.com/SingleStepTests/65x02/pull/3
6502 CMOS (rockwell and WDC) have incorrect tests for BBR/BBS?https://github.com/SingleStepTests/ProcessorTests/issues/72#top
SingleStepTests/65x02#3https://github.com/SingleStepTests/65x02/pull/3
https://github.com/jmchacon
jmchaconhttps://github.com/jmchacon
on Dec 12, 2023https://github.com/SingleStepTests/ProcessorTests/issues/72#issue-2036753098
https://github.com/jmchacon/rusty6502https://github.com/jmchacon/rusty6502
https://web.archive.org/web/20141129202001if_/http://archive.6502.org/datasheets/wdc_w65c02s_feb_2004.pdfhttps://web.archive.org/web/20141129202001if_/http://archive.6502.org/datasheets/wdc_w65c02s_feb_2004.pdf
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.