I know this is going to sound very n00bish, but I'm kinda new to using virtual memory on Xbox, or for programming games in general. Since the average Xbox is limited to 64Mb or RAM, I obviously can't allocate buffers that large or load in files larger than that. For instance, the old versions of MAME-X used physical memory to load ROMs and couldn't load large ROMs. Then when they started using virtual memory, they had much more memory to work with.
I understand that virtual memory doesn't work like physical memory, and I already understand how to use VirtualAlloc/Free, but what addresses do you read/write to exactly? On my debug Xbox, it says that I have a total of 2GB of virtual memory to work with, and it hardly gets used (only about 8MB max on average), and I'd like to use it to my advantage so that non-immediately used data won't hog up the physical RAM. So would I just choose any address after the first 64MB in the 4GB address space? If so, do you have to manage the addresses allocated yourself? I noticed that there's no Map/UnmapViewOfFile functions on Xbox, so I thought I'd ask. Thanks.