[cc65] static memory allocation question

Date view Thread view Subject view

From: Arvid Norberg (arvid_at_iname.com)
Date: 2001-08-31 14:31:18


Hello.

I'm writing a program that uses it's own character-set. The location of the
character set must be aligned to 1024 bytes blocks, so it cannot be
allocated with malloc().

Right now I just use the memory at 0x3000, but it is not a good idea, as the
compiler puts other static data in that memory that gets destroyed by my
characters.
Is there a way to tell the compiler to leave some memory unused for these
kind of things?
Or is there another way it should be done?

thanks,

---
Arvid Norberg

----------------------------------------------------------------------
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:42 CET