Re: [cc65] Memory locations

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2001-10-23 16:00:26


Hi!

On Tue, Oct 23, 2001 at 03:43:34PM +0200, Daniel Berntsson wrote:
> Hi, I'd like to ask some more silly questions. First, how do you
> allocate/reserve memory in specific locations? I guess relying on luck
> to have the compiler avoid the screen memory is not good in the long
> run. And related, how to make the compiler place data, like sprites, at
> a certain position in memory? Thanks in advance!

Memory placement is done by the linker (ld65), not the compiler. How this is
done, and the rules can be changed is described in the linker documentation
that comes with the cc65 package. You want to have a look at ld65.txt or
ld65.html respectively.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
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 : 2001-12-14 22:05:43 CET