Open tehKaiN opened 3 years ago
I've built GermZ without enabling OS for allocations - there were only 10 allocs of that kind, but the game ran stable on KS1.3 512+512 from HDD.
I built my custom ACE with this modifications:
memory.c : systemuse() and systemunuse() commented out inside void _memAllocRls(ULONG ulSize, ULONG ulFlags) and void _memFreeRls(void pMem, ULONG ulSize)
bitmap.c : systemuse() and systemunuse() commented out inside void bitmapDestroy(tBitMap *pBitMap)
The final executable works just fine on my amigas compiling and linking with -mcrt=nix13 (both ace and my demo), since there are very big blocks of allocs and deallocs (192K) I am very optimistic that systemunuse()/use() can be avoided.
Tested on: Real a600 + ks 2.4 (2mb chip+2mb fast) Emulated A1200 + ks 3.1 (2mb chip + 8 mb fast) Real 500 plus with aca 500 plus + ks 1.3
Apparently calling FreeMem when OS is disabled doesn't crash the system. Calling
systemUse()
could be avoided to improve performance.