I have read PT_'s documentation on ICE several times, and I get hexadecimal, binary, and all the numbers like that, but I don't seem to understand what pointers are. The documentation says that when you use variables as memory addresses, it's called a pointer. I don't seem to be able to access memory addresses of "Stuff" except the few that were here. Functions like tilemaps (which I'm still trying to figure out) require pointers, and I'm not sure how those two are even related!
Take sprites for an example. You could do DefineSprite(10,10,...)->SPRITE, where SPRITE is the pointer. Basically, the sprite code is stored into an address in RAM, and the pointer just has the location for the data. You would use that specific pointer (sprite pointer, in this case), by doing Sprite(SPRITE,X,Y, where X and Y are either the coordinate variables, or numbers that represent the X and Y values, respectively.

Hope this helps! If you are confused on any other pointers, just ask!

As for tilemaps, the pointer is probably to the AppVar with the data, obtained by Open(). I am not 100% sure on the tilemaps thing, so ask PT_ or someone else who is more knowledgeable on the subject.
I need some help I have been using this code and it does not display the time

Code:

.....
Lbl 1
getkey → K
*{F38004 → MIN
det(16,MIN,4
if K=15
Goto E
End
goto 1
Lbl E
det(1)

It displays something different.
What am I doing wrong and how can I fix this?
You need the uppercase exponent "e" before the hexadecimal number.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement