[{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/275557149","html_url":"https://github.com/stella-emu/stella/issues/91#issuecomment-275557149","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/91","id":275557149,"node_id":"MDEyOklzc3VlQ29tbWVudDI3NTU1NzE0OQ==","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-01-27T00:29:28Z","updated_at":"2017-01-27T00:31:42Z","body":"I've run a series of tests: [testcases.zip](https://github.com/stella-emu/stella/files/733966/testcases.zip). The source can be found in the [6502.ts repo](https://github.com/6502ts/6502.ts/tree/master/aux/2600/resx_during_draw).\r\n\r\nThe tests are all setup to first align a RESM1 with the first draw counter decode cycle of missile 1 (yellow) and then move missile 1 to the left, clock by clock, during the next lines, repeating the same test for all possible states of the draw decode counter and the drawing process. As a reference, missile 0 (white) can be toggled with the color switch and is positioned just as missile 1, but without the final RESMx.  The results are implemented in f1d503a.\r\n\r\nFor a missile positioned somewhere in the middle, the result looks like this (`missile.bin`):\r\n![missile_1](https://cloud.githubusercontent.com/assets/2444224/22356083/fe4a9d3c-e42e-11e6-814e-2183a12b7908.png)\r\n\r\nIf the missile is positioned exactly on color clock 0 (and thus RESM1 during hblank) (`missile_hblank.bin)`, the result is this:\r\n![missile_hblank](https://cloud.githubusercontent.com/assets/2444224/22356112/3de746d4-e42f-11e6-8cae-f3926b6dc814.png)\r\n\r\nIf the hblank is extended by a hmove (`missile_late_hblank_75.bin` and friends), the result depends on the exact cycle of the RESM0. If it happens on color clock 75, we get\r\n![missile_late_hblank_75_1](https://cloud.githubusercontent.com/assets/2444224/22356151/7f47b744-e42f-11e6-91a8-a070d208a6d0.png)\r\n\r\nFor all other color clocks during late hblank, we get \r\n![missile_late_hblank_72_2]\r\n![missile_late_hblank_72_3](https://cloud.githubusercontent.com/assets/2444224/22356211/de374d00-e42f-11e6-89e4-97ac58b94c64.png)\r\n\r\nThis behavior is the reason for #84 which is fixed now. @sa666666 , @thrust26 , I am aware that the TIA in my Jr. is somewhat special. Could you try those tests on your machines and check whether you can reproduce my results?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/275557149/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/275559432","html_url":"https://github.com/stella-emu/stella/issues/91#issuecomment-275559432","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/91","id":275559432,"node_id":"MDEyOklzc3VlQ29tbWVudDI3NTU1OTQzMg==","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-01-27T00:44:32Z","updated_at":"2017-01-27T00:44:32Z","body":"I'm unable to test these ROMs since they're in PAL mode, and I only have NTSC hardware.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/275559432/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/275562781","html_url":"https://github.com/stella-emu/stella/issues/91#issuecomment-275562781","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/91","id":275562781,"node_id":"MDEyOklzc3VlQ29tbWVudDI3NTU2Mjc4MQ==","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-01-27T01:06:23Z","updated_at":"2017-01-27T01:06:23Z","body":"Ouch, of course, sorry. I'll try to prepare NTSC versions.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/275562781/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/275613303","html_url":"https://github.com/stella-emu/stella/issues/91#issuecomment-275613303","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/91","id":275613303,"node_id":"MDEyOklzc3VlQ29tbWVudDI3NTYxMzMwMw==","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-01-27T08:29:36Z","updated_at":"2017-01-27T08:29:36Z","body":"Confirmed. They seem (see below) to look the same on my TV.\r\n\r\nCan you post the bins with more contrast? I can hardly make out the difference between bright orange and bright grey on my TV. And I am too lazy to change all the source codes. :)","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/275613303/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/275756537","html_url":"https://github.com/stella-emu/stella/issues/91#issuecomment-275756537","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/91","id":275756537,"node_id":"MDEyOklzc3VlQ29tbWVudDI3NTc1NjUzNw==","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-01-27T19:45:35Z","updated_at":"2017-01-27T19:45:35Z","body":":smile: Will do so","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/275756537/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/275954860","html_url":"https://github.com/stella-emu/stella/issues/91#issuecomment-275954860","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/91","id":275954860,"node_id":"MDEyOklzc3VlQ29tbWVudDI3NTk1NDg2MA==","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-01-29T23:21:20Z","updated_at":"2017-01-29T23:21:28Z","body":"[testcases.zip](https://github.com/stella-emu/stella/files/737902/testcases.zip) This version uses different colors (contrast is slightly better on my LCD), and TV mode can be switched between NTSC and PAL via P1 difficulty. In order to fit the tests on both NTSC and PAL displays, I have distributed the wide (8/4 pixel) and narrow (2/1 pixel) cases between two different kernels that are selected via difficulty p0. However, nothing functional has changed, so I didn't prepare any new screenshots :smirk:","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/275954860/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}]