[{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/314510921","html_url":"https://github.com/stella-emu/stella/issues/173#issuecomment-314510921","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/173","id":314510921,"node_id":"MDEyOklzc3VlQ29tbWVudDMxNDUxMDkyMQ==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-07-11T17:11:30Z","updated_at":"2017-07-11T17:11:30Z","body":"OK, now I'm completely lost.  After looking at the Stella Programmers Guide, I see that D7 and D6 are the only valid bits used for a TIA peek.  So now I don't know what the code in Stella 4.x is doing at all :confused:  @DirtyHairy, can you offer any suggestions??","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/314510921/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/314515714","html_url":"https://github.com/stella-emu/stella/issues/173#issuecomment-314515714","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/173","id":314515714,"node_id":"MDEyOklzc3VlQ29tbWVudDMxNDUxNTcxNA==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-07-11T17:29:06Z","updated_at":"2017-07-11T17:29:06Z","body":"The major difference I see is that in the new code, the default case assigns the last databus value to 'result', while the code in Stella 4.x doesn't do anything in the default case.  Sure enough, if I set result to 0 in the default case, it matches Stella 4.x behaviour.  The question is whether this is correct or not.  I think it is, since the last databus state shouldn't affect bits that can be set by collisions, only the bits that are floating.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/314515714/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/314547388","html_url":"https://github.com/stella-emu/stella/issues/173#issuecomment-314547388","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/173","id":314547388,"node_id":"MDEyOklzc3VlQ29tbWVudDMxNDU0NzM4OA==","user":{"login":"DirtyHairy","id":2444224,"node_id":"MDQ6VXNlcjI0NDQyMjQ=","avatar_url":"https://avatars.githubusercontent.com/u/2444224?v=4","gravatar_id":"","url":"https://api.github.com/users/DirtyHairy","html_url":"https://github.com/DirtyHairy","followers_url":"https://api.github.com/users/DirtyHairy/followers","following_url":"https://api.github.com/users/DirtyHairy/following{/other_user}","gists_url":"https://api.github.com/users/DirtyHairy/gists{/gist_id}","starred_url":"https://api.github.com/users/DirtyHairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirtyHairy/subscriptions","organizations_url":"https://api.github.com/users/DirtyHairy/orgs","repos_url":"https://api.github.com/users/DirtyHairy/repos","events_url":"https://api.github.com/users/DirtyHairy/events{/privacy}","received_events_url":"https://api.github.com/users/DirtyHairy/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-07-11T19:29:21Z","updated_at":"2017-07-11T19:29:21Z","body":"If I remember the code correctly, my reasoning was that, if the read doesn't match a valid registers, all bits are undriven. However, I really don't know for sure what real hardware is doing - this depends on the details of the TIA schematics. A test ROM might clarify the issue but, until then, if Stella 4 matches hardware, I suggest we stick with it 😉 I am currently abroad, so it'll take some time until I can look at this more closely.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/314547388/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/314549586","html_url":"https://github.com/stella-emu/stella/issues/173#issuecomment-314549586","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/173","id":314549586,"node_id":"MDEyOklzc3VlQ29tbWVudDMxNDU0OTU4Ng==","user":{"login":"sa666666","id":16061066,"node_id":"MDQ6VXNlcjE2MDYxMDY2","avatar_url":"https://avatars.githubusercontent.com/u/16061066?v=4","gravatar_id":"","url":"https://api.github.com/users/sa666666","html_url":"https://github.com/sa666666","followers_url":"https://api.github.com/users/sa666666/followers","following_url":"https://api.github.com/users/sa666666/following{/other_user}","gists_url":"https://api.github.com/users/sa666666/gists{/gist_id}","starred_url":"https://api.github.com/users/sa666666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa666666/subscriptions","organizations_url":"https://api.github.com/users/sa666666/orgs","repos_url":"https://api.github.com/users/sa666666/repos","events_url":"https://api.github.com/users/sa666666/events{/privacy}","received_events_url":"https://api.github.com/users/sa666666/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-07-11T19:38:36Z","updated_at":"2017-07-11T19:38:36Z","body":"My assumption is that the applicable bits are zeroed, and only the unused bits are undriven.  In fact, this difference in assumptions is exactly the difference in behaviour we're seeing.  For now, I'm going to revert the functionality to Stella 4.x, since it matches real hardware and all the other emulators.  Maybe we can re-visit this after 5.0, and analyze in more detail.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/314549586/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/314551022","html_url":"https://github.com/stella-emu/stella/issues/173#issuecomment-314551022","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/173","id":314551022,"node_id":"MDEyOklzc3VlQ29tbWVudDMxNDU1MTAyMg==","user":{"login":"DirtyHairy","id":2444224,"node_id":"MDQ6VXNlcjI0NDQyMjQ=","avatar_url":"https://avatars.githubusercontent.com/u/2444224?v=4","gravatar_id":"","url":"https://api.github.com/users/DirtyHairy","html_url":"https://github.com/DirtyHairy","followers_url":"https://api.github.com/users/DirtyHairy/followers","following_url":"https://api.github.com/users/DirtyHairy/following{/other_user}","gists_url":"https://api.github.com/users/DirtyHairy/gists{/gist_id}","starred_url":"https://api.github.com/users/DirtyHairy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirtyHairy/subscriptions","organizations_url":"https://api.github.com/users/DirtyHairy/orgs","repos_url":"https://api.github.com/users/DirtyHairy/repos","events_url":"https://api.github.com/users/DirtyHairy/events{/privacy}","received_events_url":"https://api.github.com/users/DirtyHairy/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-07-11T19:44:35Z","updated_at":"2017-07-11T19:45:30Z","body":"If Stella 4 matches hardware, then I guess you are correct: D7 and D6 are always driven and are low if no valid read drives then high. I agree: lets put them to zero like in Stella 4.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/314551022/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null}]