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

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2012-06-23 23:48:26
On Sat, Jun 23, 2012 at 05:34:37PM -0400, L. Adamson wrote:
>     I'm fairly certain that the problem is somewhere in my
>    code, or something I'm not doing that I should be, rather than some kind
>    of incompatibility.

My suggestion is to lookup the symbol "sp" in the map file. It should reside
somewhere in the zero page. The word value at this zero page address is the
stack pointer for the C stack. Set a breakpoint at _main in your emulator and
check that the address space, sp points to is correct and writable.
                                                             
Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
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 23:48:57 2012

This archive was generated by hypermail 2.1.8 : 2012-06-23 23:49:00 CEST