Search found 4 matches

by Lemuren
Fri Aug 21, 2020 10:45 pm
Forum: Newbies
Topic: CC65 Reserving Memory Area
Replies: 7
Views: 1285

Re: CC65 Reserving Memory Area

Yunder $D018 there doesn't seem to be a configuration for pointing to $C800.

That's because VIC can only see 16K of memory at a time, and the default is $0000-$3FFF. However, have a look at $DD00: the bottom two bits choose which 16K bank VIC uses. To have your character set at $C800, you'd clear ...
by Lemuren
Fri Aug 21, 2020 8:22 pm
Forum: Newbies
Topic: CC65 Reserving Memory Area
Replies: 7
Views: 1285

Re: CC65 Reserving Memory Area

Yes. Interestingly enough I can write some data to $3000 onward before it throws a hissy-fit, which makes me suspect that CC65 is using this location for variables, etc. I agree that the linker configuration seems flexible, but the documentation is hard to understand, if not lacking in some areas ...
by Lemuren
Fri Aug 21, 2020 7:44 pm
Forum: Newbies
Topic: CC65 Reserving Memory Area
Replies: 7
Views: 1285

Re: CC65 Reserving Memory Area

Yes, I read through that thread. Unfortunately that seems to be just for storing a character set. As far as I'm aware there is no way to actually have the C64 read characters from that location. I'm looking here:
https://sta.c64.org/cbm64mem.html
and under $D018 there doesn't seem to be a ...
by Lemuren
Fri Aug 21, 2020 7:03 pm
Forum: Newbies
Topic: CC65 Reserving Memory Area
Replies: 7
Views: 1285

CC65 Reserving Memory Area

Hello.

I am trying to use a custom character set whilst using CC65. I am aware of how the process is normally done, and I'd like to set the character data to $3000-$3800. However, it seems this is reserved/in use by CC65. I suspect I would have to use a custom cfg file to tell the linker to leave ...