[{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/269052310","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-269052310","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":269052310,"node_id":"MDEyOklzc3VlQ29tbWVudDI2OTA1MjMxMA==","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":"2016-12-23T22:28:34Z","updated_at":"2016-12-23T22:28:34Z","body":"By the way, that's a pretty fascinating thread :smirk: Several ideas from there are actually implemented in 6502.ts and the new core. A nice case of parallel evolution :beers:","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/269052310/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/269058355","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-269058355","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":269058355,"node_id":"MDEyOklzc3VlQ29tbWVudDI2OTA1ODM1NQ==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2016-12-23T23:58:12Z","updated_at":"2016-12-23T23:58:12Z","body":"Sounds interesting.  Which ideas?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/269058355/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/269058972","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-269058972","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":269058972,"node_id":"MDEyOklzc3VlQ29tbWVudDI2OTA1ODk3Mg==","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":"2016-12-24T00:09:05Z","updated_at":"2016-12-24T00:09:05Z","body":"Mainly splitting the individual aspects of the TIA into separate classes and modelling the TIA as interconnected counters. I also stumbled over your branch in Stella when I first started integrating the new core (I didn't know about the corresponding thread); that stuff looks pretty similar to how the new core is structured, too.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/269058972/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/269065500","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-269065500","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":269065500,"node_id":"MDEyOklzc3VlQ29tbWVudDI2OTA2NTUwMA==","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":"2016-12-24T02:48:30Z","updated_at":"2016-12-24T02:50:40Z","body":"I had partly forgotten about that thread.  Looking at it now, it did lay out the framework of where we are now, but (as you say) in a completely parallel evolution.  Things were looking up at that point, but you'll notice how the thread just stopped.  In the last message, I went to PM to help the guy set up a development environment.  After a week or so of working on it, he decided that he was no longer interested.  And some of the other help that was anticipated didn't come, so I became disillusioned and (again) moved on to other parts of the codebase.\r\n\r\nSo @DirtyHairy, you'll understand why I switched to your core so quickly, as we talked about in a PM.  I've since learned that once you find reliable help, you latch on immediately :)","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/269065500/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/269073311","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-269073311","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":269073311,"node_id":"MDEyOklzc3VlQ29tbWVudDI2OTA3MzMxMQ==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2016-12-24T07:31:28Z","updated_at":"2016-12-24T07:31:28Z","body":"If the same solution is found multiple times independently, that 's a very good sign.\r\n\r\nSorry for aborting my work on Stella, first SCA had to be done and took much longer than I had expected. And afterwards I simply was not motivated  enough to return. But at least I was able to help to forward Christian to Stella.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/269073311/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/269084022","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-269084022","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":269084022,"node_id":"MDEyOklzc3VlQ29tbWVudDI2OTA4NDAyMg==","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":"2016-12-24T13:16:52Z","updated_at":"2016-12-24T13:16:52Z","body":"For the record, Thomas, I wasn't referring to you in that last comment.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/269084022/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/269087328","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-269087328","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":269087328,"node_id":"MDEyOklzc3VlQ29tbWVudDI2OTA4NzMyOA==","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":"2016-12-24T14:50:24Z","updated_at":"2016-12-24T14:51:38Z","body":"@sa666666 Indeed, this is an interesting bit of history that explains very well why you wanted to get rid of the old core as soon as possible. It is also a peculiar coincidence that the 6502.ts core came around and to fill that particular hole.\r\n\r\nI started 6502.ts as a mere research project and tech demo on Typescript and Javascript performance more than two years ago, and after completing CPU emulation, the project went to sleep again in early 2015. It is a mere coincidence that I started work again on 2600 emulation this spring and, after getting the first few ROMs to work, I was kinda sucked in --- I wasn't into retrocomputing in general or the VCS on particular before. The 2600 and the TIA are fascinating pieces of technology, and the more I learn about them, the more I continue to be surprised by what talented people can get out of this seemingly primitive and unwieldly hardware.\r\n\r\nAnyway, merry christmas to you both, I'll propably be mostly gone from the web for a few days now :smirk: :christmas_tree: :snowflake: \r\n","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/269087328/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/277521491","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-277521491","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":277521491,"node_id":"MDEyOklzc3VlQ29tbWVudDI3NzUyMTQ5MQ==","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-02-05T13:59:05Z","updated_at":"2017-02-05T14:23:20Z","body":"I have created a series of testcases that probe the behavior of nusiz during decode and draw: [testcases.zip](https://github.com/stella-emu/stella/files/753013/testcases.zip), source [here](https://github.com/6502ts/6502.ts/tree/master/aux/2600/nusiz_during_draw). The testcases work by switching nusiz at a given clock and shifting the player from right to left through this point. The two red lines mark the point where NUSIZ (and the initial RESP) are hit, and the point where a 8px player would start drawing. Color/BW shifts between two player patterns,  difficulty p0 switches between target nusiz values, and difficulty p1 switches between PAL and NTSC. The results:\r\n\r\n8 -> 16\r\n![8-16](https://cloud.githubusercontent.com/assets/2444224/22626624/5072d04a-ebb2-11e6-966e-5ab178141fba.jpg)\r\n\r\n8 -> 32\r\n![8-32](https://cloud.githubusercontent.com/assets/2444224/22626778/cd746718-ebb5-11e6-8acb-4fdbb3d8c915.jpg)\r\n\r\n16 -> 8\r\n![16-8](https://cloud.githubusercontent.com/assets/2444224/22626623/5072953a-ebb2-11e6-974c-492f5a7644b2.jpg)\r\n\r\n16 -> 32\r\n![16-32](https://cloud.githubusercontent.com/assets/2444224/22626627/5073aba0-ebb2-11e6-85f0-3a905b97cb31.jpg)\r\n\r\n32 -> 8\r\n![32-8](https://cloud.githubusercontent.com/assets/2444224/22626625/50739b9c-ebb2-11e6-9a6d-415b13c744f5.jpg)\r\n\r\n32 -> 16\r\n![32-16](https://cloud.githubusercontent.com/assets/2444224/22626626/5073a966-ebb2-11e6-8469-3fb1a97a4b48.jpg)\r\n\r\nNow all I'll have to do is to determine a rule from those... :8ball:","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/277521491/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/277559817","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-277559817","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":277559817,"node_id":"MDEyOklzc3VlQ29tbWVudDI3NzU1OTgxNw==","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-02-05T23:37:29Z","updated_at":"2017-02-05T23:37:29Z","body":"Implemented in 1a7ac60 . The corresponding patterns now look like this in stella:\r\n\r\n8 -> 16\r\n![player8](https://cloud.githubusercontent.com/assets/2444224/22630958/49e7e3b2-ec04-11e6-8796-357cdf4e0f22.png)\r\n\r\n8 -> 32\r\n![player8_1](https://cloud.githubusercontent.com/assets/2444224/22630959/52b19b64-ec04-11e6-8408-cd6eb5db64d0.png)\r\n\r\n16 -> 8\r\n![player16](https://cloud.githubusercontent.com/assets/2444224/22630960/5a4615d0-ec04-11e6-87f7-0f0aca6df327.png)\r\n\r\n16 -> 32\r\n![player16_1](https://cloud.githubusercontent.com/assets/2444224/22630962/61283f2c-ec04-11e6-8cb2-2780891f1744.png)\r\n\r\n32 -> 8\r\n![player32](https://cloud.githubusercontent.com/assets/2444224/22630964/668f1a9e-ec04-11e6-8855-32143f9fa21a.png)\r\n\r\n32 -> 16\r\n![player32_1](https://cloud.githubusercontent.com/assets/2444224/22630966/6e08f5d8-ec04-11e6-9906-4a600f21a6fc.png)\r\n","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/277559817/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/277804331","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-277804331","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":277804331,"node_id":"MDEyOklzc3VlQ29tbWVudDI3NzgwNDMzMQ==","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-02-06T20:32:15Z","updated_at":"2017-02-06T20:32:15Z","body":"Just wanted to confirm that this fixes the final remaining issue in https://github.com/stella-emu/stella/issues/68 too (the second-last horizontal bar was too short).","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/277804331/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/277825277","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-277825277","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":277825277,"node_id":"MDEyOklzc3VlQ29tbWVudDI3NzgyNTI3Nw==","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-02-06T21:50:26Z","updated_at":"2017-02-06T21:50:26Z","body":"This als renders Joe Musashi's [testcase](http://atariage.com/forums/topic/209224-requesting-help-in-improving-tia-emulation-in-stella/page-3#entry2703410) pixel correct.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/277825277/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/277825812","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-277825812","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":277825812,"node_id":"MDEyOklzc3VlQ29tbWVudDI3NzgyNTgxMg==","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-02-06T21:52:21Z","updated_at":"2017-02-06T21:56:33Z","body":"However, @thrust26 's [testcase](http://atariage.com/forums/topic/209224-requesting-help-in-improving-tia-emulation-in-stella/page-3#entry2703269) is much closer than any other emulator, but there are still two deviations:\r\n\r\n![img_20170206_224210](https://cloud.githubusercontent.com/assets/2444224/22667839/c224eb76-ecbe-11e6-8059-b5240d47dcc3.jpg)\r\n\r\nvs.\r\n\r\n![testsize2copies_a](https://cloud.githubusercontent.com/assets/2444224/22667869/dc6d1a08-ecbe-11e6-8a0d-2b4312b3e01b.png)\r\n\r\nSpecifically, the first sample on the right in the second and third groups shows two lines surplus in the emulation. I'm reopening this ticked and will close it again once I get this fixed :smirk:","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/277825812/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/278172818","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-278172818","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":278172818,"node_id":"MDEyOklzc3VlQ29tbWVudDI3ODE3MjgxOA==","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-02-07T23:00:58Z","updated_at":"2017-02-07T23:00:58Z","body":"It seems that switching off a copy during the very early stages of decoding will skip it alltogether. fd95231 accounts for this behavior and reproduces @thrust26 's testcase perfectly.\r\n\r\n![testsize2copies_a](https://cloud.githubusercontent.com/assets/2444224/22715520/880634bc-ed91-11e6-8cc1-03709bfa25e5.png)\r\n\r\nStill, this has made me curious about some other cases I want to test before closing this:\r\n\r\n* Switching from double / quad player to two close copies, inducing an overlap between between the two copies\r\n* Systematically switching off copies just after hitting the decode\r\n* Systematically switching on copies just before hitting the decode","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/278172818/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/284890259","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-284890259","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":284890259,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NDg5MDI1OQ==","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-03-07T23:07:09Z","updated_at":"2017-03-07T23:07:09Z","body":"The TIA is one hellish chip. It seems that everything that affects the counters obeys slightly different rules during hblank. I have created a new testcase that is very similar to the testcases above but executes the NUSIZ during hblank (I only 32 pixels -> x) for now: [testcase.zip](https://github.com/stella-emu/stella/files/826097/testcase.zip). As before, you can find the source in the 6502.ts repo.\r\n\r\nThe results on real hardware look like this:\r\n\r\n32 -> 8:\r\n![img_20170307_225903](https://cloud.githubusercontent.com/assets/2444224/23682182/cc64fa8c-0392-11e7-9436-974cf154ad98.jpg)\r\n\r\n32 -> 16\r\n![img_20170307_225925](https://cloud.githubusercontent.com/assets/2444224/23682186/d600cc1a-0392-11e7-898e-7e8d7de158b3.jpg)\r\n\r\nCommit e021660 improves emulation to include this class of edga cases. The emulation now looks like this:\r\n\r\n32 -> 8\r\n![player32_hblank](https://cloud.githubusercontent.com/assets/2444224/23682222/0515f3a4-0393-11e7-9350-8f297c28054c.png)\r\n\r\n32 -> 16\r\n![player32_hblank_1](https://cloud.githubusercontent.com/assets/2444224/23682233/0efa8420-0393-11e7-98b1-60b0e3c240b7.png)\r\n\r\nThis fixes #82 for good. More to come...\r\n\r\n\r\n","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/284890259/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/285602108","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-285602108","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":285602108,"node_id":"MDEyOklzc3VlQ29tbWVudDI4NTYwMjEwOA==","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-03-10T07:54:31Z","updated_at":"2017-03-10T07:54:31Z","body":"The very same commit also fixes the cases 16 -> 8 and 16 -> 32. For reference:\r\n\r\n16 -> 8 hardware\r\n![16_to_8](https://cloud.githubusercontent.com/assets/2444224/23786719/ddc75576-056e-11e7-999c-97edba24acc7.jpg)\r\n\r\n16 -> 32 hardware\r\n![16_to_32](https://cloud.githubusercontent.com/assets/2444224/23786737/eb6d28c2-056e-11e7-95c9-b22bf8d06a5c.jpg)\r\n\r\n\r\n16 -> 8 Stella\r\n![player16_hblank](https://cloud.githubusercontent.com/assets/2444224/23786767/1923c56e-056f-11e7-9023-8091903a2e6c.png)\r\n\r\n16 -> 32 Stella\r\n![player16_hblank_1](https://cloud.githubusercontent.com/assets/2444224/23786780/286ee53a-056f-11e7-9c99-025fbfe99251.png)\r\n","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/285602108/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/323417730","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-323417730","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":323417730,"node_id":"MDEyOklzc3VlQ29tbWVudDMyMzQxNzczMA==","user":{"login":"thrust26","id":24360774,"node_id":"MDQ6VXNlcjI0MzYwNzc0","avatar_url":"https://avatars.githubusercontent.com/u/24360774?v=4","gravatar_id":"","url":"https://api.github.com/users/thrust26","html_url":"https://github.com/thrust26","followers_url":"https://api.github.com/users/thrust26/followers","following_url":"https://api.github.com/users/thrust26/following{/other_user}","gists_url":"https://api.github.com/users/thrust26/gists{/gist_id}","starred_url":"https://api.github.com/users/thrust26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrust26/subscriptions","organizations_url":"https://api.github.com/users/thrust26/orgs","repos_url":"https://api.github.com/users/thrust26/repos","events_url":"https://api.github.com/users/thrust26/events{/privacy}","received_events_url":"https://api.github.com/users/thrust26/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-08-18T17:46:07Z","updated_at":"2017-08-18T17:46:07Z","body":"@DirtyHairy Is this still an issue?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/323417730/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/323468928","html_url":"https://github.com/stella-emu/stella/issues/63#issuecomment-323468928","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/63","id":323468928,"node_id":"MDEyOklzc3VlQ29tbWVudDMyMzQ2ODkyOA==","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-08-18T21:51:49Z","updated_at":"2017-08-18T21:52:18Z","body":"Not so much an issue as an reminder that there are still some edge cases that I didn't investigate and that I want to revisit eventually.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/323468928/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}]