Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 16874

Function memory question in C

$
0
0

Hi guys,

I have a question about an architecture where you have access to any point in RAM. (C64 6502, if anyone is wondering 🙂).

Is it possible in ‘C’ to specify the location in RAM for a particular function? For example, if I want function XYZ() to reside exactly at $8000 in RAM, can this be done?

Many thanks in advance 🙂


Viewing all articles
Browse latest Browse all 16874

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>