Quote Originally Posted by YourSurrogateGod
do I need to make some special system call or something? Kind confused right now
If you want to use virtual memory for your customize heap, you need to use system calls. For example, in Windows, you can use VirtualAlloc(), VirtualFree(), etc. If not, the easiest is to use a block of global memory, in which you may have to increase the stack size.