Re: [cc65] memory corruption?

Date view Thread view Subject view

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2003-06-03 13:58:23


>>>>> "UvB" == Ullrich von Bassewitz <uz_at_musoftware.de> writes:

UvB> The original malloc/free implementation was targeted for a 32 bit
UvB> CPU and had several safety checks builtin. These checks have been
UvB> removed because of performance/space considerations. Maybe it
UvB> would be an idea to supply a second malloc implementation for
UvB> debug purposes...

Yep, that would've helped a lot.

UvB> size_t __fastcall__ _heapmemavail (void);
UvB> size_t __fastcall__ _heapmaxavail (void);

Thanks!

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp_at_cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-06-03 13:59:58 CEST