Quote:
Originally Posted by Emufr3ak
This sounds interesting! I've seen the loadseg function. My issue is that we need this
for an intro. Which means we are limited to one file. So we'd need to "run loadseg" for
a block in memory instead of a file. Not sure this would be possible.
|
Yeah that does make things a lot trickier. If the OS is still alive, one brute-force, ugly method might be to save the executable back out to RAM: and LoadSeg() it from there.
What's the problem with PC-relative code from C, though? Which compiler are you using?