#149532 - simonjhall - Mon Jan 21, 2008 8:19 pm
Sup.
I've noticed that some people can't seem to run stuff I've written when they patch their binaries with certain DLDI drivers. I can't replicate these issues myself but they do seem to be replicatable problems. For instance with QDS r3 some people 'ran out of memory' directly after the fat driver has been initialised and the game heap allocated.
Since the heap should be exactly the same size regardless of the patch applied (right?), this shouldn't happen. When tried on a different flash card and a different driver the game runs fine.
I'm also getting similar problems with a certain other flash card with Q2 where if that DLDI driver is used (in this case a neoflash card) the game can't allocate enough memory.
Has anyone else seen problems like this?
Drivers can't call malloc, can they? Does fatInit allocate a different amount of memory based on a result from the driver?
Btw: having a look in the neoflash code they're using globals by just pulling addresses out of the air, eg at the top of the main source. Hmm.
_________________
Big thanks to everyone who donated for Quake2
I've noticed that some people can't seem to run stuff I've written when they patch their binaries with certain DLDI drivers. I can't replicate these issues myself but they do seem to be replicatable problems. For instance with QDS r3 some people 'ran out of memory' directly after the fat driver has been initialised and the game heap allocated.
Since the heap should be exactly the same size regardless of the patch applied (right?), this shouldn't happen. When tried on a different flash card and a different driver the game runs fine.
I'm also getting similar problems with a certain other flash card with Q2 where if that DLDI driver is used (in this case a neoflash card) the game can't allocate enough memory.
Has anyone else seen problems like this?
Drivers can't call malloc, can they? Does fatInit allocate a different amount of memory based on a result from the driver?
Btw: having a look in the neoflash code they're using globals by just pulling addresses out of the air, eg at the top of the main source. Hmm.
_________________
Big thanks to everyone who donated for Quake2