[{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/265827460","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-265827460","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":265827460,"node_id":"MDEyOklzc3VlQ29tbWVudDI2NTgyNzQ2MA==","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-08T19:13:43Z","updated_at":"2016-12-08T19:13:43Z","body":"For reference, this affects 'Extra Terrestrials' (the ET sprite doesn't pick up the background pellets) and 'Fatal Run' (only 261 scanlines per frame are shown, instead of 262).  These both work in the old core; refer to TIA::waitHorizontalRSync() in the old core for comments and further explanation.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/265827460/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/271187586","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-271187586","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":271187586,"node_id":"MDEyOklzc3VlQ29tbWVudDI3MTE4NzU4Ng==","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-08T23:13:41Z","updated_at":"2017-01-08T23:13:41Z","body":"Implemented in bd46bb4 . The implementation is basically at the same level as the old core, i.e. there is no simulation of the \"secondary effects\" mentioned by Omegamatrix --- the line in which rsync is strobed is treated as a full line.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/271187586/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/271343853","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-271343853","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":271343853,"node_id":"MDEyOklzc3VlQ29tbWVudDI3MTM0Mzg1Mw==","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-09T17:11:24Z","updated_at":"2017-01-09T17:11:24Z","body":"Actually, there's a TEST ROM that does show secondary effects, whereas the old core did not.\r\n[RSYNCtest.zip](https://github.com/stella-emu/stella/files/694124/RSYNCtest.zip)\r\n\r\nWith the current code, the vertical bar moves across the screen when pressing fire, just like an actual console.  With the old core, the bar didn't move at all.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/271343853/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/271430628","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-271430628","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":271430628,"node_id":"MDEyOklzc3VlQ29tbWVudDI3MTQzMDYyOA==","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-09T22:38:45Z","updated_at":"2017-01-09T22:38:45Z","body":"Interesting, I didn't try that one. After taking a second, closer look at the old implementation, I retract my statement: the new implementation is significantly more correct. The old implementation basically treats RSYNC like a WSYNC shortened by one CPU cycle and halts the CPU until the end-of-line is reached. \r\n\r\nHowever, this is wrong: what happens is that RSYNC resets the hsync counter to its wrap-around value without halting the CPU, thus causing a shift between the sprite scan counters and hsync. As hsync determines playfield position, this shifts the sprites relative to the playfield --- this is what causes the vertical bar to move in the testcase you linked (and this is the way it is implemented in the new core).\r\n\r\nWhat _is_ missing are the effects that can cause the TV to temporarily lose sync on RSYNC.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/271430628/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/271731874","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-271731874","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":271731874,"node_id":"MDEyOklzc3VlQ29tbWVudDI3MTczMTg3NA==","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-10T23:31:26Z","updated_at":"2017-01-10T23:31:26Z","body":"Another interesting observation is a glitch that shows up in eshu's paranoid demo with the new RSYNC implementation.\r\n\r\nWithout RSYNC:\r\n![paranoid_0 01_real_1](https://cloud.githubusercontent.com/assets/2444224/21829153/d41fb69c-d794-11e6-9f56-e0d3684fc77e.png)\r\n\r\nWith RSYNC:\r\n![paranoid_0 01_real_2](https://cloud.githubusercontent.com/assets/2444224/21829214/2b2e14f6-d795-11e6-996a-9107a7aa5a29.png)\r\n\r\nAfter staring at our TV for several minutes, I am pretty sure that the glitch actually matches real hardware. Our LCD shows bad shadowing effects for NTSC signals, so it is a bit hard to tell, but comparing to the paddle position clearly shows that the ball is indeed moved to the left by one pixel relative to the paddle :smirk:","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/271731874/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/279255388","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-279255388","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":279255388,"node_id":"MDEyOklzc3VlQ29tbWVudDI3OTI1NTM4OA==","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-12T22:17:25Z","updated_at":"2017-02-12T22:17:25Z","body":"After some cleaning up on my OSX machine, I came across another test case, with source and snapshots, for RSYNC functionality.  It looks to work the same on hardware and the current code, but I'm posting it here just in case I misplace it again.\r\n\r\n[StellaRsyncUpdate.zip](https://github.com/stella-emu/stella/files/769699/StellaRsyncUpdate.zip)\r\n","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/279255388/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/309512993","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309512993","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309512993,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTUxMjk5Mw==","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-06-19T17:39:49Z","updated_at":"2017-06-19T17:42:35Z","body":"Fatal Run displays 313 (except for the title screen) scan lines in the PAL version (which would result into color loss ), I suppose that's due to RSYNC emulation.\r\n[Fatal Run (Ultimate Driving) (1989) (Atari) (PAL).zip](https://github.com/stella-emu/stella/files/1085818/Fatal.Run.Ultimate.Driving.1989.Atari.PAL.zip)\r\n","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309512993/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/309529466","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309529466","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309529466,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTUyOTQ2Ng==","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-06-19T18:41:49Z","updated_at":"2017-06-19T18:41:49Z","body":"What happens on real hardware?  Can we confirm that it should (or should not) be running at 313 lines??","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309529466/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/309530733","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309530733","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309530733,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTUzMDczMw==","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-06-19T18:46:42Z","updated_at":"2017-06-19T18:48:20Z","body":"No color loss on real PAL hardware.\r\n\r\nBTW: Color loss existed in 4.7.3. too, so IMO no reason for any further delay.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309530733/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/309538524","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309538524","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309538524,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTUzODUyNA==","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-06-19T19:13:46Z","updated_at":"2017-06-19T19:13:46Z","body":"@DirtyHairy, maybe you could look at this when you get a chance?\r\n\r\nI'm still working on the phosphor stuff, and have to complete the remaining TODO items for 5.0  Due to RL issues, I definitely won't be finished this week; maybe June 27 or so.  But at this point it's probably best to just say the end of June for the new release.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309538524/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/309538739","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309538739","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309538739,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTUzODczOQ==","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-06-19T19:14:37Z","updated_at":"2017-06-19T19:26:10Z","body":"The code does:\r\n```\r\nlda #$03\r\nsta VSYNC \r\nsta VSYNC   ; 313 lines code has RSYNC here (and the 262 lines NTSC version too!)\r\nsta WSYNC\r\nsta WSYNC\r\nsta WSYNC\r\nlda #$00\r\nsta VSYNC\r\n```\r\nBTW: The 262 (according to Stella) lines NTSC version switches on PAL between color and grey frequently. Frequency is different between screens, so it might be related to the too short (varying) VSYNC signal. \r\n\r\nAnd it displays some weird green line in the top left corner of the mission briefing screen. Most likely a sync artifact.\r\n\r\nThis definitely needs more research.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309538739/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/309547335","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309547335","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309547335,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTU0NzMzNQ==","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-06-19T19:38:00Z","updated_at":"2017-06-19T19:38:00Z","body":"Odd theory: Maybe RSYNC only works on NTSC? And on PAL it behaves like VSYNC?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309547335/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/309564013","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309564013","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309564013,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTU2NDAxMw==","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-06-19T20:27:36Z","updated_at":"2017-06-19T20:27:36Z","body":"I'll try to take a look at it these days. I am still sick at home anyway, so I guess I'll be having more spare time than usual anyway :smirk: As a sidenote I just tried and cannot get the PAL version to display anything beyond the title screen on Stella 4 at all. Scanline count is 313 for me in Stella 4, too, but the screen is black.\r\n\r\n> Odd theory: Maybe RSYNC only works on NTSC? And on PAL it behaves like VSYNC?\r\n\r\nI am pretty sure that it works the same on PAL as it does on NTSC. When implementing this, I tried the RSYNC testcases on my PAL Jr., and they behaved as expected. However, I am not sure what RSYNC does to the TV signal. RSYNC (as far as we know) sets the TIA main counter close to its trip point and causes the scanline to end two pixel clocks later. At this point, the TIA will start sending a HSYNC signal.\r\n\r\nI am not sure what such shortened scanlines do to the TV signal. I could imagine that (in particular if RSYNC is triggered during HSYNC) this additional short line does not trigger color loss. Does anyone know enough about PAL to understand color loss from first principles?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309564013/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/309565855","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309565855","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309565855,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTU2NTg1NQ==","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-06-19T20:35:00Z","updated_at":"2017-06-19T20:35:11Z","body":"> As a sidenote I just tried and cannot get the PAL version to display anything beyond the title screen on Stella 4 at all. Scanline count is 313 for me in Stella 4, too, but the screen is black.\r\n\r\nThat's a known initialization bug, enter and leave the debugger, then you can see the screen in grey.\r\n\r\n> Does anyone know enough about PAL to understand color loss from first principles?\r\n\r\nNot more than Wikipedia will tell you too. :)","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309565855/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/309568380","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309568380","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309568380,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTU2ODM4MA==","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-06-19T20:45:07Z","updated_at":"2017-06-19T20:45:07Z","body":"> Not more than Wikipedia will tell you too. :)\r\n\r\nToo bad :smile: Well, I guess the first thing I'll to is writing a test program that checks this hypothesis.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309568380/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/309569912","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309569912","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309569912,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTU2OTkxMg==","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-06-19T20:51:06Z","updated_at":"2017-06-19T20:51:06Z","body":"@DirtyHairy, no rush on this, and not worth holding up the 5.0 release.  So only if you have enough time (and energy) to do it.  I would much rather that #150 is fixed for 5.0.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309569912/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/309571642","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309571642","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309571642,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTU3MTY0Mg==","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-06-19T20:57:57Z","updated_at":"2017-06-19T20:57:57Z","body":"@sa666666 definitely :smirk:","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309571642/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/309572685","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309572685","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309572685,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTU3MjY4NQ==","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-06-19T21:02:05Z","updated_at":"2017-06-19T21:02:05Z","body":"@sa666666 @DirtyHairy 100% agreed","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309572685/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/309795243","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309795243","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309795243,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTc5NTI0Mw==","user":{"login":"ale-79","id":24704739,"node_id":"MDQ6VXNlcjI0NzA0NzM5","avatar_url":"https://avatars.githubusercontent.com/u/24704739?v=4","gravatar_id":"","url":"https://api.github.com/users/ale-79","html_url":"https://github.com/ale-79","followers_url":"https://api.github.com/users/ale-79/followers","following_url":"https://api.github.com/users/ale-79/following{/other_user}","gists_url":"https://api.github.com/users/ale-79/gists{/gist_id}","starred_url":"https://api.github.com/users/ale-79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ale-79/subscriptions","organizations_url":"https://api.github.com/users/ale-79/orgs","repos_url":"https://api.github.com/users/ale-79/repos","events_url":"https://api.github.com/users/ale-79/events{/privacy}","received_events_url":"https://api.github.com/users/ale-79/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-06-20T15:26:32Z","updated_at":"2017-06-20T15:26:32Z","body":"I connected my cheap logic analyzer to a PAL Vader running \"Fatal Run\":\r\n![fatalrun_pal_vsync](https://user-images.githubusercontent.com/24704739/27341072-8504b816-55dc-11e7-9d7c-1223fcd2d0c8.png)\r\n![fatalrun_pal_vsync-2](https://user-images.githubusercontent.com/24704739/27341074-850f6144-55dc-11e7-8752-778420c2bbcf.png)\r\n![fatalrun_pal_vsync-3](https://user-images.githubusercontent.com/24704739/27341073-850e5754-55dc-11e7-8538-8de11ce01d3e.png)\r\n\r\n\r\nThe device only has 8 digital channels available and max samplerate is 24MHz \r\n\r\nI connected 6 channels as follows (from top to bottom in the pics):\r\nTIA pin 25 (R/W line) \r\nTIA pin 11 (3.54 MHz oscillator input) \r\nTIA pin 2  (video SYNC output) \r\nTIA pin 3  (RDY output)  \r\nTIA pin 9  (COLOR output) \r\nTIA pin 6  (phase 2 clock input generated by the 6507)\r\n\r\n\r\nIt seems that strobing RSYNC causes the scanline to end after 36 color clocks. Then there are 3 other scanlines with VSYNC on and 309 with VSYNC off.\r\n\r\n","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309795243/reactions","total_count":3,"+1":3,"-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/309797244","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309797244","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309797244,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTc5NzI0NA==","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-06-20T15:32:34Z","updated_at":"2017-06-20T15:32:50Z","body":"@ale-79 Which screen did you test? The timing is a bit different for each screen. 312 lines on title, 313 (according to Stella) on mission briefing and in game screens.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309797244/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/309797811","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309797811","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309797811,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTc5NzgxMQ==","user":{"login":"ale-79","id":24704739,"node_id":"MDQ6VXNlcjI0NzA0NzM5","avatar_url":"https://avatars.githubusercontent.com/u/24704739?v=4","gravatar_id":"","url":"https://api.github.com/users/ale-79","html_url":"https://github.com/ale-79","followers_url":"https://api.github.com/users/ale-79/followers","following_url":"https://api.github.com/users/ale-79/following{/other_user}","gists_url":"https://api.github.com/users/ale-79/gists{/gist_id}","starred_url":"https://api.github.com/users/ale-79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ale-79/subscriptions","organizations_url":"https://api.github.com/users/ale-79/orgs","repos_url":"https://api.github.com/users/ale-79/repos","events_url":"https://api.github.com/users/ale-79/events{/privacy}","received_events_url":"https://api.github.com/users/ale-79/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-06-20T15:34:22Z","updated_at":"2017-06-20T15:34:22Z","body":"Those screenshots refer to the \"mission briefing\" screen.","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309797811/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/309810633","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309810633","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309810633,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTgxMDYzMw==","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-06-20T16:16:27Z","updated_at":"2017-06-20T16:16:27Z","body":"So effectively we have ~312.16 scanlines here, correct? ","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309810633/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/309822551","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309822551","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309822551,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTgyMjU1MQ==","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-06-20T16:59:48Z","updated_at":"2017-06-20T16:59:48Z","body":"Does that mean the scanline count (when rounded) would be 312, and hence color loss doesn't happen?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309822551/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/309826991","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309826991","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309826991,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTgyNjk5MQ==","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-06-20T17:16:11Z","updated_at":"2017-06-20T17:17:11Z","body":"There is no color loss, that's for sure.\r\n\r\nThe problem is, that RSYNC is involved. Else we could experiment to find the exact values where a scanline aborted by enabling VSYNC counts and where not.\r\n\r\nIn pre9 the debugger tells me that RSYNC updates the Scan Cycle from 8,10 or 14 to 22, from 48 to 51 and from 32 to 35. @DirtyHairy Can you explain that?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309826991/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/309877606","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309877606","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309877606,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTg3NzYwNg==","user":{"login":"ale-79","id":24704739,"node_id":"MDQ6VXNlcjI0NzA0NzM5","avatar_url":"https://avatars.githubusercontent.com/u/24704739?v=4","gravatar_id":"","url":"https://api.github.com/users/ale-79","html_url":"https://github.com/ale-79","followers_url":"https://api.github.com/users/ale-79/followers","following_url":"https://api.github.com/users/ale-79/following{/other_user}","gists_url":"https://api.github.com/users/ale-79/gists{/gist_id}","starred_url":"https://api.github.com/users/ale-79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ale-79/subscriptions","organizations_url":"https://api.github.com/users/ale-79/orgs","repos_url":"https://api.github.com/users/ale-79/repos","events_url":"https://api.github.com/users/ale-79/events{/privacy}","received_events_url":"https://api.github.com/users/ale-79/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-06-20T20:13:19Z","updated_at":"2017-06-20T20:13:19Z","body":"> So effectively we have ~312.16 scanlines here, correct?\r\n\r\nFrom the point of view of the TIA I think that's correct, as the RSYNC causes the counter to reset and start a new scanline before the current one is completed. \r\n\r\nBut I don't know how the TV reacts to the resulting signal, that is if this \"short\" line actually causes an horizontal retrace of the electron beam or not. \r\n\r\nMoreover this is happening with VSYNC turned on, and in that case the output of the TIA is already a bit different from the TV standard.\r\n(Setting VSYNC in the TIA just inverts the SYNC output, so that the signal is HIGH during the period of time when the horizontal sync pulse should happen and LOW for the rest of the scanline, while on TV standard VSYNC is obtained by prolonging the HSYNC pulses).\r\n","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309877606/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/309912328","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309912328","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309912328,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTkxMjMyOA==","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-06-20T22:41:27Z","updated_at":"2017-06-20T23:18:52Z","body":"@ale-79 Awesome! Just to make sure that I am interpreting this correctly:\r\n\r\n* ~63 musec: RDY goes high, the previous WSYNC (write at 0x7DCC) ends\r\n* ~68 musec: HSYNC pulse start, SYNC goes low\r\n* ~68 musec + epsilon: write to VSYNC (0x7929), SYNC is inverted and goes high\r\n* ~72 musec: write to RSYNC (0x792B).\r\n* ~72.5 musec: HSYNC pulse end, SYNC goes low \r\n* ~78 musec: HSYNC pulse start, SYNC goes high\r\n\r\nThis confirms the emulation which sets the line counter to 225, effectively cutting short the current line. I think what happens is that this short line doesn't have the same effect on the color decoder as a full line and doesn't cause color loss.\r\n\r\nWe can test this by creating a test program that displays 312 scanlines + RSYNC, with the delay between the previous WSYNC and RSYNC adjustable. This way we can determine the trip point (and check how much it varies between different TVs). We should also check whether it makes a difference if the RSYNC happens during or after VSYNC. I can do this when I find time (unless someone beats me to it :smirk:).\r\n\r\n@thrust26 I just checked; \"Scan Cycle\", \"Pixel Pos\", \"Color Clock\" are buggy immediatelly after a RSYNC; there is a bookkeeping offset that ensures that the virtual electron beam doesn't jump for the remaining two pixels and that is taken into account in the wrong place (debugger only). The fix seems trivial enough, but I want to look at it tomorrow with fresh eyes in order to make sure that I am not breaking anything else.\r\n\r\n@ale-79 unrelated: is this a Saleae Logic 8? Does it work well with Linux? If so, I'd be considering getting one myself :innocent:","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309912328/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/309977581","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-309977581","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":309977581,"node_id":"MDEyOklzc3VlQ29tbWVudDMwOTk3NzU4MQ==","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-06-21T06:35:38Z","updated_at":"2017-06-21T06:36:56Z","body":"Is there anyone besides me around who can check on real hardware (PAL console and CRT)? I will be on vacation for 4 weeks starting this Friday. With no access to real hardware. ","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/309977581/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/310051689","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-310051689","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":310051689,"node_id":"MDEyOklzc3VlQ29tbWVudDMxMDA1MTY4OQ==","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-06-21T11:36:38Z","updated_at":"2017-06-21T11:36:38Z","body":"I have a PAL Jr., but of course, I can only test on our LCD, and I am not sure if it is going to show color loss at all :smile: However, I don't think we are in a hurry, and I would suggest that we post our test on AAge anyway in order to find out how different CRTs react --- I wouldn't be surprised if there are differences.\r\n\r\n@thrust26 Have a nice vacation! :palm_tree:","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/310051689/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/310058699","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-310058699","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":310058699,"node_id":"MDEyOklzc3VlQ29tbWVudDMxMDA1ODY5OQ==","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-06-21T12:07:54Z","updated_at":"2017-06-21T12:17:57Z","body":"@DirtyHairy Thanks! Will do.\r\n\r\nAnd you should really get yourself a CRT. You often get them for free or very little money:\r\nhttps://www.ebay-kleinanzeigen.de/s-tv-video/koeln/preis::10/sony-trinitron/k0c175l945 (smaller ones are more expensive than big ones!)\r\nOr get an even better Sony PVM: https://www.ebay-kleinanzeigen.de/s-anzeige/sony-pvm-1454-qm/660623152-175-18674\r\n","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/310058699/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/310061033","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-310061033","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":310061033,"node_id":"MDEyOklzc3VlQ29tbWVudDMxMDA2MTAzMw==","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-06-21T12:18:57Z","updated_at":"2017-06-21T12:18:57Z","body":"It's not so much the money, but more the space it's going to use up. We have history of two households that have merged into one in our current flat which, as a result, is already pretty much full. Consequently, we are on a permamanent quest of throwing out stuff to make room for our daughter's toys --- coming home from work with a CRT won't sell very well :smirk:\r\n\r\nHowever, if all goes well, we're going to move next summer, and then there's gonna be a separate room for *my* stuff, and that'll gonna include a CRT :stuck_out_tongue: ","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/310061033/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/310062033","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-310062033","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":310062033,"node_id":"MDEyOklzc3VlQ29tbWVudDMxMDA2MjAzMw==","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-06-21T12:23:29Z","updated_at":"2017-06-21T12:23:29Z","body":"If you find storage space for a small 14\", better get one (or two) before they are all gone or become expensive. ","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/310062033/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/310068389","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-310068389","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":310068389,"node_id":"MDEyOklzc3VlQ29tbWVudDMxMDA2ODM4OQ==","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-06-21T12:50:46Z","updated_at":"2017-06-21T12:50:46Z","body":"Storing one away actually does sound like a good idea. I guess looking around a bit won't hurt... :smirk:","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/310068389/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/310070091","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-310070091","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":310070091,"node_id":"MDEyOklzc3VlQ29tbWVudDMxMDA3MDA5MQ==","user":{"login":"ale-79","id":24704739,"node_id":"MDQ6VXNlcjI0NzA0NzM5","avatar_url":"https://avatars.githubusercontent.com/u/24704739?v=4","gravatar_id":"","url":"https://api.github.com/users/ale-79","html_url":"https://github.com/ale-79","followers_url":"https://api.github.com/users/ale-79/followers","following_url":"https://api.github.com/users/ale-79/following{/other_user}","gists_url":"https://api.github.com/users/ale-79/gists{/gist_id}","starred_url":"https://api.github.com/users/ale-79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ale-79/subscriptions","organizations_url":"https://api.github.com/users/ale-79/orgs","repos_url":"https://api.github.com/users/ale-79/repos","events_url":"https://api.github.com/users/ale-79/events{/privacy}","received_events_url":"https://api.github.com/users/ale-79/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-06-21T12:57:44Z","updated_at":"2017-06-21T12:57:44Z","body":"> Just to make sure that I am interpreting this correctly:\r\n> \r\n>     ~63 musec: RDY goes high, the previous WSYNC (write at 0x7DCC) ends\r\n>     ~68 musec: HSYNC pulse start, SYNC goes low\r\n>     ~68 musec + epsilon: write to VSYNC (0x7929), SYNC is inverted and goes high\r\n>     ~72 musec: write to RSYNC (0x792B).\r\n>     ~72.5 musec: HSYNC pulse end, SYNC goes low\r\n>     ~78 musec: HSYNC pulse start, SYNC goes high\r\n\r\nYes, that's how I understand it too.\r\n\r\n> unrelated: is this a Saleae Logic 8? Does it work well with Linux? If so, I'd be considering getting one myself 😇\r\n\r\nIt's actually one of the cheap clones that you can find on ebay. I didn't do much research when I got it, it was an impulse buy as it was dirt cheap and I was already buying some components from the same seller, so I gave it a try. I wanted to use it to diagnose faulty logic Ics on some consoles that need repairs.\r\nIt works fine in Linux, and is also supported by the [sigrok](http://sigrok.org/wiki/Main_Page) software and frontends. \r\n\r\n> Is there anyone besides me around who can check on real hardware (PAL console and CRT)? I will be on vacation for 4 weeks starting this Friday. With no access to real hardware.\r\n\r\nI can test on real hardware. I see if I can find an older CRT which actually shows the color loss. The ones I have are quite recent ('90s) and they show altered colors in the upper part of the screen in case of odd number of scanlines. Something from the '70s or early '80s might do.\r\n\r\n> You often get them for free or very little money:\r\n> https://www.ebay-kleinanzeigen.de/s-tv-video/koeln/preis::10/sony-trinitron/k0c175l945 (smaller ones are more expensive than big ones!)\r\n\r\nIt's also worth searching locally. It's likely that some friend or relative still have one in storage and will likely give it away for free. Apart for retrogaming/retrocomputing, there's not much use for CRTs in these days.","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/310070091/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/310231951","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-310231951","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":310231951,"node_id":"MDEyOklzc3VlQ29tbWVudDMxMDIzMTk1MQ==","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-06-21T23:21:26Z","updated_at":"2017-06-21T23:33:29Z","body":"@ale-79 Nice, it never occured to me to look on Ebay for one of those --- cheap indeed :smirk: I guess yours is similar to one of [those](http://www.ebay.de/itm/8-Kanal-Logik-Analyser-CH-8-Channel-USB-Logic-Analyzer-Oszilloskop-/292062879646?hash=item44004ddf9e:g:Hz4AAOSwTM5Y0SEK)?\r\n\r\nNow that you talk about it, I remember getting a small CRT when I started university that I later lent to a friend who moved with it a couple of times, et cetera... It's still got to be somewhere hidden in a cellar \r\n or attic (not mine), and I think I'll start hunting for it :smirk:","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/310231951/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/310233713","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-310233713","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":310233713,"node_id":"MDEyOklzc3VlQ29tbWVudDMxMDIzMzcxMw==","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-06-21T23:32:49Z","updated_at":"2017-06-21T23:39:46Z","body":"Commit ccafbf2b fixes a small oversight in state handling that could crop up when RSYNC is strobed around color clock 68. It has only cosmetic consequences in that single line, but still...\r\n\r\nCommit b30ca127 fixes the debugger. Now, stepping through the relevant code, the Scan Cycle / Pixel Pos / Color Clock triple reads\r\n```\r\n$7929: STA VSYNC ; 5  / -53 / 15\r\n$792B: STA RSYNC ; 8  / -44 / 24\r\n$792D: STA WSYNC ; 11 / -35 / 33\r\n$792F: STA WSYNC ; 2  / -62 / 6\r\n$7931: STA WSYNC ; 3 / -59 / 9\r\n```\r\nThat's what's supposed to happen (c.f. #155 about the values after `STA WSYNC`). However, I think displaying the line counter instead of the color clock would be much more interesting --- it would read 225 after the RSYNC, and you can always get the color clock by multiplying the cycle by three :smirk:\r\n\r\nI made this change immediatelly because the changes are small, but invasive, and I would like them to get full exposure as a part of 5.0 --- I am convinced that there are no regressions, though.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/310233713/reactions","total_count":1,"+1":1,"-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/310286388","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-310286388","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":310286388,"node_id":"MDEyOklzc3VlQ29tbWVudDMxMDI4NjM4OA==","user":{"login":"ale-79","id":24704739,"node_id":"MDQ6VXNlcjI0NzA0NzM5","avatar_url":"https://avatars.githubusercontent.com/u/24704739?v=4","gravatar_id":"","url":"https://api.github.com/users/ale-79","html_url":"https://github.com/ale-79","followers_url":"https://api.github.com/users/ale-79/followers","following_url":"https://api.github.com/users/ale-79/following{/other_user}","gists_url":"https://api.github.com/users/ale-79/gists{/gist_id}","starred_url":"https://api.github.com/users/ale-79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ale-79/subscriptions","organizations_url":"https://api.github.com/users/ale-79/orgs","repos_url":"https://api.github.com/users/ale-79/repos","events_url":"https://api.github.com/users/ale-79/events{/privacy}","received_events_url":"https://api.github.com/users/ale-79/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-06-22T06:17:43Z","updated_at":"2017-06-22T06:17:43Z","body":"> Nice, it never occured to me to look on Ebay for one of those --- cheap indeed 😏 I guess yours is similar to one of those?\r\n\r\nYes, that's it.","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/310286388/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/323533826","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-323533826","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":323533826,"node_id":"MDEyOklzc3VlQ29tbWVudDMyMzUzMzgyNg==","user":{"login":"JeffJ-Coder","id":31163583,"node_id":"MDQ6VXNlcjMxMTYzNTgz","avatar_url":"https://avatars.githubusercontent.com/u/31163583?v=4","gravatar_id":"","url":"https://api.github.com/users/JeffJ-Coder","html_url":"https://github.com/JeffJ-Coder","followers_url":"https://api.github.com/users/JeffJ-Coder/followers","following_url":"https://api.github.com/users/JeffJ-Coder/following{/other_user}","gists_url":"https://api.github.com/users/JeffJ-Coder/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffJ-Coder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffJ-Coder/subscriptions","organizations_url":"https://api.github.com/users/JeffJ-Coder/orgs","repos_url":"https://api.github.com/users/JeffJ-Coder/repos","events_url":"https://api.github.com/users/JeffJ-Coder/events{/privacy}","received_events_url":"https://api.github.com/users/JeffJ-Coder/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-08-19T16:39:49Z","updated_at":"2017-08-19T17:16:01Z","body":"RSYNC can have bad effects on a real TV that are not currently emulated in Stella. I'm not even sure what approach could model it, and what happens might vary from TV to TV.\r\n\r\nHere is a video example:\r\n[IMG_6472.zip](https://github.com/stella-emu/stella/files/1236494/IMG_6472.zip)\r\n\r\nWhat's happening here is that while the reset switch is held I am clearing the TIA registers in preperation for going to a new screen. However, I don't make that transistion until the user releases the switch, and every frame my loop to clear the TIA registers is executed.\r\n\r\nI tried to post code, but I give up trying to format it here...\r\n\r\nIn Stella no shifting of the screen occurs at all. I will PM the rom as it is an old build that I don't want posted publicly.","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/323533826/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/323534793","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-323534793","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":323534793,"node_id":"MDEyOklzc3VlQ29tbWVudDMyMzUzNDc5Mw==","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-19T16:57:08Z","updated_at":"2017-08-19T16:57:24Z","body":"> I tried to post code, but I give up trying to format it here...\r\n```\r\nmulti\r\n  line\r\n    code\r\n```\r\nPress edit to see. :)","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/323534793/reactions","total_count":1,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":1,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null,"minimized":null},{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/323542002","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-323542002","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":323542002,"node_id":"MDEyOklzc3VlQ29tbWVudDMyMzU0MjAwMg==","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-19T19:08:02Z","updated_at":"2017-08-19T19:08:22Z","body":"@Omegamatrix check the \"styling with markdown\" link at the bottom. You can fence code blocks with triple backticks ``` and they will be diplayed in monospace with the formatting preserved. Press \"edit\" on Thomas' post to see what I mean :smirk:","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/323542002/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/323542245","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-323542245","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":323542245,"node_id":"MDEyOklzc3VlQ29tbWVudDMyMzU0MjI0NQ==","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-08-19T19:13:12Z","updated_at":"2017-08-19T19:13:12Z","body":"Note related to the issue at all, but I notice when you type trapwrite RSYNC, it lists the read address instead of the write address.  Cosmetic, but it should be fixed.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/323542245/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/323542778","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-323542778","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":323542778,"node_id":"MDEyOklzc3VlQ29tbWVudDMyMzU0Mjc3OA==","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-19T19:22:44Z","updated_at":"2017-08-19T19:22:44Z","body":"I just watched the video several times. It would be interesting to see what happens on differen TV sets. I'll have to take a closer look at the code later these days. However, I am sure that there are effects on actual CRTs that are due to the scanline being shortened forcefully.\r\n\r\nIf this is really an effect of the CRT (and not an issue in TIA emulation), then I think it is outside the scope of the current TIA code. I **think** the appropiate approach would be to output a \"signal stream\" from the TIA and feed it into a CRT simulation which would simulate the decoding circuit and generate the picture. However, my knowledge of analog electronics in general (and TV signals in particular) is too limited to do that.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/323542778/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/323543921","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-323543921","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":323543921,"node_id":"MDEyOklzc3VlQ29tbWVudDMyMzU0MzkyMQ==","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-08-19T19:45:51Z","updated_at":"2017-08-19T19:45:51Z","body":"I also think that this belongs more to CRT emulation than TIA emulation.  And IMO, we should concentrate on perfecting the TIA emulation (and that of the console itself) before we attempt to tackle a full CRT implementation (which could turn into a _huge_ project in itself).","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/323543921/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/323544301","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-323544301","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":323544301,"node_id":"MDEyOklzc3VlQ29tbWVudDMyMzU0NDMwMQ==","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-19T19:53:50Z","updated_at":"2017-08-19T19:53:50Z","body":"/signed","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/323544301/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/323552510","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-323552510","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":323552510,"node_id":"MDEyOklzc3VlQ29tbWVudDMyMzU1MjUxMA==","user":{"login":"JeffJ-Coder","id":31163583,"node_id":"MDQ6VXNlcjMxMTYzNTgz","avatar_url":"https://avatars.githubusercontent.com/u/31163583?v=4","gravatar_id":"","url":"https://api.github.com/users/JeffJ-Coder","html_url":"https://github.com/JeffJ-Coder","followers_url":"https://api.github.com/users/JeffJ-Coder/followers","following_url":"https://api.github.com/users/JeffJ-Coder/following{/other_user}","gists_url":"https://api.github.com/users/JeffJ-Coder/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffJ-Coder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffJ-Coder/subscriptions","organizations_url":"https://api.github.com/users/JeffJ-Coder/orgs","repos_url":"https://api.github.com/users/JeffJ-Coder/repos","events_url":"https://api.github.com/users/JeffJ-Coder/events{/privacy}","received_events_url":"https://api.github.com/users/JeffJ-Coder/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2017-08-19T23:00:11Z","updated_at":"2017-08-19T23:00:11Z","body":"Yes, it should be in the TV emulation (CRT or otherwise). I'm bring up RSYNC because it is the one thing that can really trip up between emulation and hardware.\r\n\r\nI did some searching and found I have made some RSYNC roms in the past. You might can compare results on real hardware and emulation with this (use the V2 rom in the thread):\r\nhttp://atariage.com/forums/topic/197621-rsync-repositioning-and-emulation/\r\n\r\nHere are some pictures of PAL Fatal Run on PAL TV:\r\nhttp://atariage.com/forums/topic/197621-rsync-repositioning-and-emulation/\r\n\r\nI also posted a fixed PAL rom of Fatal Run in that thread. I think I simply replaced the RSYNC's with WSYNC's but it's been so long I don't remember.","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/323552510/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/2603237572","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-2603237572","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":2603237572,"node_id":"IC_kwDOBCgg986bKkDE","user":{"login":"cwilkson","id":195822403,"node_id":"U_kgDOC6wDQw","avatar_url":"https://avatars.githubusercontent.com/u/195822403?v=4","gravatar_id":"","url":"https://api.github.com/users/cwilkson","html_url":"https://github.com/cwilkson","followers_url":"https://api.github.com/users/cwilkson/followers","following_url":"https://api.github.com/users/cwilkson/following{/other_user}","gists_url":"https://api.github.com/users/cwilkson/gists{/gist_id}","starred_url":"https://api.github.com/users/cwilkson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwilkson/subscriptions","organizations_url":"https://api.github.com/users/cwilkson/orgs","repos_url":"https://api.github.com/users/cwilkson/repos","events_url":"https://api.github.com/users/cwilkson/events{/privacy}","received_events_url":"https://api.github.com/users/cwilkson/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2025-01-20T21:14:40Z","updated_at":"2025-01-20T21:14:40Z","body":"Last comment is years old.\nWhat is the latest status of RSYNC?  I want to help.","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/2603237572/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/2603257453","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-2603257453","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":2603257453,"node_id":"IC_kwDOBCgg986bKo5t","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":"2025-01-20T21:33:28Z","updated_at":"2025-01-20T21:33:28Z","body":"AFAIK unchanged. @DirtyHairy  ?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/2603257453/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/2603260517","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-2603260517","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":2603260517,"node_id":"IC_kwDOBCgg986bKppl","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":"2025-01-20T21:36:39Z","updated_at":"2025-01-20T21:36:39Z","body":"Indeed, unchanged 😏 ","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/2603260517/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/2603362623","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-2603362623","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":2603362623,"node_id":"IC_kwDOBCgg986bLCk_","user":{"login":"cwilkson","id":195822403,"node_id":"U_kgDOC6wDQw","avatar_url":"https://avatars.githubusercontent.com/u/195822403?v=4","gravatar_id":"","url":"https://api.github.com/users/cwilkson","html_url":"https://github.com/cwilkson","followers_url":"https://api.github.com/users/cwilkson/followers","following_url":"https://api.github.com/users/cwilkson/following{/other_user}","gists_url":"https://api.github.com/users/cwilkson/gists{/gist_id}","starred_url":"https://api.github.com/users/cwilkson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwilkson/subscriptions","organizations_url":"https://api.github.com/users/cwilkson/orgs","repos_url":"https://api.github.com/users/cwilkson/repos","events_url":"https://api.github.com/users/cwilkson/events{/privacy}","received_events_url":"https://api.github.com/users/cwilkson/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2025-01-20T23:36:01Z","updated_at":"2025-01-20T23:36:01Z","body":"So.....what does that mean?  It's not implemented?  Or partially/wrongly implemented?\nOr...it's fully implemented in the TIA core, but TV behavior is unknown or not complete?\n\n@DirtyHairy, I guess you own the code for this?  How can I help you make it better?\n\nI know NOTHING about the internals of Stella.  Not the overall block architecture nor anything about each block.\nBut I do understand the real hardware and I can at least help to make sure that RSYNC is emulated correctly at the \"coming out of the TIA\" global level.\n","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/2603362623/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/2613854090","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-2613854090","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":2613854090,"node_id":"IC_kwDOBCgg986bzD-K","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":"2025-01-25T09:05:14Z","updated_at":"2025-01-25T09:05:14Z","body":"The TIA side of rsync is \"fully\" implemented in the sense that the effect on the internal counters is modelled as good as we understand it. IHowever, RSYNC breaks the signal generated for TV and causes effects that are not accounted for is we are not emulating the image generation of the TV set.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/2613854090/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/2616986470","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-2616986470","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":2616986470,"node_id":"IC_kwDOBCgg986b_Atm","user":{"login":"cwilkson","id":195822403,"node_id":"U_kgDOC6wDQw","avatar_url":"https://avatars.githubusercontent.com/u/195822403?v=4","gravatar_id":"","url":"https://api.github.com/users/cwilkson","html_url":"https://github.com/cwilkson","followers_url":"https://api.github.com/users/cwilkson/followers","following_url":"https://api.github.com/users/cwilkson/following{/other_user}","gists_url":"https://api.github.com/users/cwilkson/gists{/gist_id}","starred_url":"https://api.github.com/users/cwilkson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwilkson/subscriptions","organizations_url":"https://api.github.com/users/cwilkson/orgs","repos_url":"https://api.github.com/users/cwilkson/repos","events_url":"https://api.github.com/users/cwilkson/events{/privacy}","received_events_url":"https://api.github.com/users/cwilkson/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2025-01-27T22:00:01Z","updated_at":"2025-01-27T22:00:01Z","body":"Is there any written documentation (normal text, existing outside the code) for how RSYNC is implemented and the effects it has on the TIA internals?  That might be enough to compare with my own notes on how the real hardware operates.\n\nAs far as TV emulation goes....I agree that's a can of worms.  Each TV will respond slightly differently at a low level.  But in terms of the visible screen....it can be approximated easily enough.  Basically, the TV only has to respond to the sync signals.  That can be individual HSYNC and VSYNC signals, or it can be a single composite CSYNC signal.  Which sync signals are available inside the emulator?  And how does the emulator convert those to a raster?  (or in the case of an emulated display I guess that's a frame buffer?)  Can you describe the process to me?\n\nIgnoring the RSYNC issues for the moment (because they may be a red herring)....\nOne of the most annoying things is that the line counters don't work right in the emulator.  The debugger doesn't do it right, nor does the in-game display do it right.  It shows up as a symptom of fiddling with RSYNC during the vertical interval.  But I suspect it's just a symptom of how the vertical interval detection is (mis)implemented by the emulator and how it's translating that to a line counter and to the actual display.  How is the frame end/beginning boundary detected?\n\n","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/2616986470/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/2618050161","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-2618050161","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":2618050161,"node_id":"IC_kwDOBCgg986cDEZx","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":"2025-01-28T06:40:15Z","updated_at":"2025-01-28T06:41:16Z","body":"Let's make sure we are on the same ship here. Stella models the TIA as a network of counters and the emulation is close to perfect, with very few known edge cases where the description fails. The same goes for RSYNC: the best of our knowledge the emulation works perfectly fine. The code is easy to spot in `TIA.cxx`:\n\n```\nvoid TIA::applyRsync()\n{\n  const uInt32 x = myHctr > TIAConstants::H_BLANK_CLOCKS\n      ? myHctr - TIAConstants::H_BLANK_CLOCKS : 0;\n\n  myHctrDelta = TIAConstants::H_CLOCKS - 3 - myHctr;\n  if (myFrameManager->isRendering())\n    std::fill_n(myBackBuffer.begin() +\n      static_cast<size_t>(myFrameManager->getY() * TIAConstants::H_PIXEL + x),\n      TIAConstants::H_PIXEL - x, 0);\n\n  myHctr = TIAConstants::H_CLOCKS - 3;\n}\n```\n\nAll RSYNC effects that are not modelled by Stella are supposed to be related to the missing emulation of how the TV behaves for early HSYNC (\"a line cut short\"). If you are aware of any other discrepancies we're happy to hear about them, but please open a new ticket for that with a reproducer; the same goes for any other issues that you find.\n\nFrame detection is done in `FrameManager` and the related classes. As you well know, the TIA generates HSYNC pulses automatically (and RSYNC is the only way to disturb that), while the program has to trigger VSYNC and VBLANK manually. The detector is a state machine that tracks the sequence of VSYNC, VBLANK and HSYNC and derives the first and last line of the frame, and the TIA uses this information to decide which lines are rendered to the frame buffer. Again, check the source for details.\n\nThere is no writeup or whitepaper on how Stella's emulation core.. We appreciate the offer for help, but for that you'll have to read and touch the code. It is well structured and readable.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/2618050161/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/2619787990","html_url":"https://github.com/stella-emu/stella/issues/5#issuecomment-2619787990","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/5","id":2619787990,"node_id":"IC_kwDOBCgg986cJsrW","user":{"login":"cwilkson","id":195822403,"node_id":"U_kgDOC6wDQw","avatar_url":"https://avatars.githubusercontent.com/u/195822403?v=4","gravatar_id":"","url":"https://api.github.com/users/cwilkson","html_url":"https://github.com/cwilkson","followers_url":"https://api.github.com/users/cwilkson/followers","following_url":"https://api.github.com/users/cwilkson/following{/other_user}","gists_url":"https://api.github.com/users/cwilkson/gists{/gist_id}","starred_url":"https://api.github.com/users/cwilkson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwilkson/subscriptions","organizations_url":"https://api.github.com/users/cwilkson/orgs","repos_url":"https://api.github.com/users/cwilkson/repos","events_url":"https://api.github.com/users/cwilkson/events{/privacy}","received_events_url":"https://api.github.com/users/cwilkson/received_events","type":"User","user_view_type":"public","site_admin":false},"created_at":"2025-01-28T18:39:11Z","updated_at":"2025-01-28T18:39:11Z","body":"I'm sorry.  I already said I can't read the code.  I don't even know what language that is.  I don't think it's C based on the .cxx file extension.  Is it C++?  I don't know.  I'm not a programmer and I don't have the time to become one.  I might be able to struggle through that function with a lot of effort, but I don't even know what the variables represent or how they're used elsewhere.\n\nI can say this:  If that's the entire RSYNC code, self contained in TIA::applyRsync(), then it's not complete.\nThere are too many subtleties in the RSYNC hardware and there isn't enough code to account for them here.  But maybe those effects are indirectly implemented elsewhere by intermediate variables that directly affect HSYNC and HBLANK?\n\nAs to opening new tickets....what is a reproducer?  Yes, that is the level at which I'm starting here!\n\nI suspected the frame detection was done something like that.  It's very simple and straight forward (I assume).  But it can only handle the standard Atari method of creating a vertical interval (VINT), which is woefully short of correct for NTSC.  It can probably handle things that are near-Atari style (a few cycles long or short, or early/late), but it won't be able to handle a program that generates a correctly interlaced (or even non-interlaced) signal with equalization and serration pulses during VINT.  The only way that signal can be created is by hammering the RSYNC and VSYNC registers during the 9 lines of vertical interval.  Seriously...I hit RSYNC 25 times in there and that's not accounting for the unrolled loops.  And the current implementation chokes on that.\n\nVBLANK isn't important to generating video frame timing (in the real world).  It just provides a convenient way to turn off the video content.  It should be set at the end of active video and reset before the beginning of active video.  I think it would be best to just ignore it for purposes of the frame detection.  You really only need to look at the SYNC signal (SYNC = HSYNC ^ VSYNC).\n\n(In theory, some details ignored....)\nA correct NTSC field has lines numbered 1, 2, 3, ...  I'll try to make the conversion to Stella-standard 0, 1, 2, ... counting.  The field starts with 9-lines of VINT:  3 lines of pre-equalizing pulses, 3 lines of VSYNC (with serration pulses), and 3 lines of post equalizing pulses.  To detect the beginning of the 9-line VINT all you need to do is look for the SYNC signal to be low for less than 16 clocks.   But if the field starts on line 0 with Stella numbering then VSYNC would be happening on lines 3-5.  If you want to keep the traditional \"VSYNC = lines 0-2\" numbering you could instead detect the beginning of the VSYNC pulses be looking for SYNC = 0 for more than 16 clock cycles.  I *think* that's all that is needed to get Stella to recognize a properly equalized VINT for non-interlaced (262p) video signals.  And it should work for a tradition Atari 3-line VSYNC too.  An interlaced (525i) signal requires more thought.  But it might be as simple as looking for a write to RSYNC during line 262.  I need to think about that some more.\n\nI'm happy to help you correct any bugs that I see or any others that are reported to perfect the emulation of the TIA, and I'm happy to help with CRT effects too.  But if it requires me to read, understand, and modify code then it simply can't happen.  I don't have the skills for it and I will need NEWB level help for that and I think it's wasting the Stella team's time to try to teach me all of that plus how to interact with distributed software project, yada, yada....\n\n","author_association":"NONE","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/2619787990/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}]