[{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/557849038","html_url":"https://github.com/stella-emu/stella/issues/548#issuecomment-557849038","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/548","id":557849038,"node_id":"MDEyOklzc3VlQ29tbWVudDU1Nzg0OTAzOA==","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":"2019-11-24T01:37:21Z","updated_at":"2019-11-24T01:37:21Z","body":"No other emulator I tested (Stellerator, z26, Javatari, MAME) gets this right either.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/557849038/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/557880847","html_url":"https://github.com/stella-emu/stella/issues/548#issuecomment-557880847","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/548","id":557880847,"node_id":"MDEyOklzc3VlQ29tbWVudDU1Nzg4MDg0Nw==","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":"2019-11-24T11:44:14Z","updated_at":"2019-11-24T11:44:14Z","body":"No big surprise. There are four things which must come together:\r\n\r\n1. HMOVE blanks\r\n2. playfield inside these blanks\r\n3. an object close to the right of the blanks\r\n4. a collision check between playfield and the object.\r\n\r\nI only found this by accident, because the missiles in my new Robot City game didn't work on my Vader. And only because I needed some tricky code to display the fuel bar at the bottom.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/557880847/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/557894338","html_url":"https://github.com/stella-emu/stella/issues/548#issuecomment-557894338","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/548","id":557894338,"node_id":"MDEyOklzc3VlQ29tbWVudDU1Nzg5NDMzOA==","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":"2019-11-24T14:34:16Z","updated_at":"2019-11-24T14:34:16Z","body":"Forgot to add; also confirmed on my light sixer and Jr.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/557894338/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/4527308143","html_url":"https://github.com/stella-emu/stella/issues/548#issuecomment-4527308143","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/548","id":4527308143,"node_id":"IC_kwDOBCgg988AAAABDdk9bw","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":"2026-05-24T03:45:51Z","updated_at":"2026-05-24T03:45:51Z","body":"@thrust26 and @DirtyHairy, I have a potential fix for this, but I'd like you to look over it first.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/4527308143/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/4574991813","html_url":"https://github.com/stella-emu/stella/issues/548#issuecomment-4574991813","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/548","id":4574991813,"node_id":"IC_kwDOBCgg988AAAABELDVxQ","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":"2026-05-29T12:29:46Z","updated_at":"2026-05-29T12:29:46Z","body":"Sure, show us.","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/4574991813/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/4575781122","html_url":"https://github.com/stella-emu/stella/issues/548#issuecomment-4575781122","issue_url":"https://api.github.com/repos/stella-emu/stella/issues/548","id":4575781122,"node_id":"IC_kwDOBCgg988AAAABELzhAg","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":"2026-05-29T13:33:44Z","updated_at":"2026-05-29T13:33:44Z","body":"The issue is that the collision mask isn't updated during the HMOVE extended blank.  The fix is to simply force those updates.  This is essentially just:\n```\n    // tick() evaluates collision from the pre-increment render counter, so a\n    // sprite that just became visible carries a stale DISABLED mask. Refresh\n    // immediately so any CXxx read on this same clock sees the correct state.\n    // Also apply RESMP tracking: in the frame area this runs every clock via\n    // tick(hctr, player), but during HBLANK only movement ticks clock sprites,\n    // so this is the correct point to evaluate the condition.\n    if (hblank) {\n      myMissile0.resmpTick(myPlayer0);\n      myMissile1.resmpTick(myPlayer1);\n      myMissile0.refreshCollision();\n      myMissile1.refreshCollision();\n      myPlayer0.refreshCollision();\n      myPlayer1.refreshCollision();\n      myBall.refreshCollision();\n      myCollisionUpdateRequired = true;\n    }\n```\nWhat I was wondering (from @DirtyHairy in particular) is the efficiency of this, and more importantly, is there a better way to do it in the current TIA framework?","author_association":"MEMBER","pin":null,"reactions":{"url":"https://api.github.com/repos/stella-emu/stella/issues/comments/4575781122/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}]