View Single Post
Old 09 February 2018, 13:53   #82
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
Quote:
Originally Posted by mcgeezer View Post
Here's my current memory map.
I think I would pack all the initialised data (graphics assets, music, etc.) tightly at the beginning of the memory space. Then manage the remaining, uninitialised space, with internal alloc/dealloc routines.

The deallocation could be really simple, like remembering the memory pointer at the beginning of the game's main loop and then restoring it when leaving the main loop again.

Moving the uninitialised space to the end of your program also makes the file much smaller. You don't have to store that part.

Quote:
I keep all of the assets compressed which then unpack to chip ram. I think a good compromise for the game would be full load if the target has a 1/2 meg expansion but if it's a stock Amiga A500 then it'll be track loading the levels.
Yes. That's always a good last option.

Last edited by phx; 09 February 2018 at 13:54. Reason: BE
phx is offline  
 
Page generated in 0.04284 seconds with 11 queries