Re: [cc65] Odd problems creating a new target.

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-06-23 11:05:24
Hi,


> Someone actively working on a new cc65 target is certainly entitled to
>> send messages to this list - be they trivial or not! At least in my
>> opinion...
>>
>>
> Ha!  You may regret saying that. ;)
>

At least not yet.


> I've come upon another head-scratcher, which makes me think I have my C
> stack set up wrongly somehow.
>

 I don't think so. I checked that already last time:

  RAM: start =  $500, size = $FA00, type = rw, define = yes;

...and...

  LDA #<(__RAM_START__ + __RAM_SIZE__)
  STA sp
  LDA #>(__RAM_START__ + __RAM_SIZE__)
  STA sp+1

...is supposed to set your software stack to $FF00. From there it grows
downwards. I presume you already read the (somewhat outdated)
http://www.cc65.org/doc/internal.txt.

Regards,
Oliver

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Jun 23 11:05:33 2012

This archive was generated by hypermail 2.1.8 : 2012-06-23 11:05:36 CEST