Cisano Posted July 5, 2022 Share Posted July 5, 2022 I have this code, where x is the scanline number. loop lda path,x sta PF0 ... bne loop path $ff,$f0,$f3,$ab,$01 ... That I need is at the next frame path=path+1 and so on. Is it possible to do it? Thanks. Quote Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted July 5, 2022 Share Posted July 5, 2022 I can see three options: (zp),y addressing, e.g. lda (pathPtr),y self-modifying code (in RAM) a separate counter for the loop 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.