Original Post
Hi there! I have a question regarding the way the RAM memory is being handled and layed out. Here's what I want to do: I want to get a pointer (int, byte, etc) that points to a memory location that starts at a give address (let's say 1025 for example) Does that mean I'll actually get a pointer to the 1025's byte in the RAM?! First of all how can I accomplish this and second of all am I wrong here with something, because it's rather weird to me. I wanted to do this becasue in Pascal I can declare something like this var time:integer absolute $0:$46c; where time represents the timer (updated at every 0.055secs) How can I accomplish the same thing in C/C++. I don't want to use GetTickCount nor the performance timer, I basically want to know how to translate this line of code var time:integer absolute $0:$46c; into a C++ line of code.