Jump to content
IGNORED

Pointers to data?


Recommended Posts

If I wanted to assign the addresses of the start point of a data table (e.g. sprite graphics or colors) to a variable, can I do this? Is it just a matter of declaring the variable and assigning the label name to it? Would my variable need to be two bytes to hold the ROM address, then? Are there any special considerations or gotchas to consider?

 

Sorry for all of the questions - I am still getting the hang of things. :)

 

For what it's worth, I think my little learning project is going to end up being a fruit-smashing game.

 

post-48311-0-55282900-1524248934.png

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...