ZackAttack Posted January 29, 2015 Share Posted January 29, 2015 Does anybody have any idea what could cause P0 to be shifted over like this? HMOVE is strobed after every WSYNC and HMP0 is always $00 during all 192 scanlines. On the top portion I write to COLUP1, HMP1, and GRP1. On the bottom portion I write to COLUBK. Quote Link to comment Share on other sites More sharing options...
+SpiceWare Posted January 29, 2015 Share Posted January 29, 2015 not without seeing the code Quote Link to comment Share on other sites More sharing options...
walaber Posted January 30, 2015 Share Posted January 30, 2015 Are you sure the data you're reading and putting into GRP0 isn't offset like that, or you have an error that's offsetting the data? Quote Link to comment Share on other sites More sharing options...
ZackAttack Posted January 30, 2015 Author Share Posted January 30, 2015 Apparently I can't count. The problem was I had an extra 12 cycles in a sleep statement and that must have strobed HMOVE at a time that caused both P0 and P1 to get moved over 2 pixels to the right. Thanks for the suggestions. Quote Link to comment Share on other sites More sharing options...
+SpiceWare Posted January 30, 2015 Share Posted January 30, 2015 Hitting HMOVE at the wrong time does change how the HMxx values are used. This document from over at MiniDig lists the new values. A key thing to note in that document is that hitting HMOVE at cycle 73 & 74 still results in 16 unique adjust values, just all going to the left. There's a nice benefit to hitting HMOVE then, the black bar goes away. Quote Link to comment Share on other sites More sharing options...
ZackAttack Posted January 30, 2015 Author Share Posted January 30, 2015 Thanks for the info. Now I know why it was 2 pixels. Also, that link has a lot of other useful docs. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.