30 March 2018, 21:24 | #1 |
Registered User
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
|
Allocating Memory
Hi all,
I have a quick question around allocating chip memory on Amiga's. My game requires around 350Kb of chip memory to run. Will I gain greater compatibility if I ask the system for all 350Kb in one go or is it better to ask for individual small chunks, each related to the size of the required assets? Does the Amiga defragment memory to keep large contiguous spaces or am I over thinking this? Any help appreciated. Geezer |
30 March 2018, 21:30 | #2 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,686
|
The allocations are more likely to be successful if you ask for individual small chunks. If you ask for a single 350K chunk, it will fail unless a contiguous 350K chunk is available.
|
30 March 2018, 21:32 | #3 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,200
|
> Does the Amiga defragment memory to keep large contiguous spaces or am I over thinking this?
Amiga has massive memory fragmentation problems. Use a few large chunks if possible but avoid requiring a single slab. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Allocating 0xC00000 memory | alpine9000 | Coders. Asm / Hardware | 39 | 07 April 2018 00:49 |
AmiDEVcpp: Allocating gfxdata in chip mem | tolkien | Coders. C/C++ | 9 | 22 April 2013 20:21 |
Problem allocating some memory | CmdrVimes | Coders. General | 4 | 03 September 2010 23:23 |
Allocating Fast RAM as Chip? | Fingerlickin_B | support.Hardware | 22 | 20 November 2008 22:15 |
A600 Not allocating full 1mb | FOL | support.Hardware | 24 | 18 October 2008 13:02 |
|
|