[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] AES-calls without appl_init



Hi,

On perjantai 24 helmikuu 2012, m0n0 wrote:
...
>  There is no problem when disabling icon cache!
> 
>  I either assume an bug in the Firebee OS, an Bug withing AHCCCF, or and
>  bug within the image data processing routines
>  somewhere ( could be in Draconis, XaAES, or fVDI )
> 
>  Helmut, the problems you were seeing - did they have something to do
>  with images / images cache?
> 
>  The icon cache creates large files ( I believe on true color systems
>  likely to be > 200k ) -
>  all this memory is malloced by one single call. Maybe that's not so
>  fine for some compilers?

AHCC ints are word sized.  If the 200kB alloc is done with ints e.g.
like this:
	malloc(width*height*4)

It's not going to work right.

(AHCC has some support for 32-bit ints, but it's not complete.)


>  With NetSurf it can happen that I malloc(1MB), - but that's not an
>  problem for the OS or GCC. Works fine.


	- Eero