Re: [cc65] _heapremove() RFE

From: Christian Groessler <chris1groessler.org>
Date: 2005-02-15 13:12:16
On Tue, 15 Feb 2005, MagerValp wrote:

> >>>>> "UvB" == Ullrich von Bassewitz <uz@musoftware.de> writes:
>
> UvB> Your request does also bring up the question "why add something
> UvB> to the heap in the first place, when you don't want it to go
> UvB> there?". Wouldn't it be more straightforward to exclude this
> UvB> block using the linker config?
>
> Is there a way to get the linker (and heap) to use ram below $4000
> and
> above $7fff, but leave that range untouched (for graphics)? In my
> current projects I've had to put some code into "hicode" segments,
> and
> so on, but it's clunky to have to micromanage it like that.

Wouldn't some sort of malloc_at_address function solve that? You could
malloc the RAM btw. $4000 and $7fff at program startup and then never
touch it.

regards,
chris

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Feb 15 13:11:58 2005

This archive was generated by hypermail 2.1.8 : 2005-02-15 13:12:09 CET