If I want to create a pointer to data in a table with a variable offset into the data, what is the syntax? Here is what doesn't work:
lda #<enemy_bitmaps_1,y sta EnemyPtr lda #>enemy_bitmaps_1,y sta EnemyPtr+1
I have confirmed via the Stella debugger that I am loading the correct offset into Y, but it is not pulling the correct data when I try to use the pointer. What am I doing wrong here?