Re: [cc65] Romable configuration / run-time library?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2013-01-18 21:42:08
Hi!

On Fri, Jan 18, 2013 at 12:22:39PM -0500, Darryl Sokoloski wrote:
> I think that perhaps I have not set-up my LD65 configuration properly
> and was wondering if any one in the community would be able to have a
> quick peek at this:

I must admit that I don't have an idea why this happens. The config seems to
be ok, provided that you copy the initial DATA segment contents from ROM.

Some things you might want to check:

* The startup module contains code to chain the kernal IRQ handler. Are you
  sure this works with your setup? It might be better to remove that code
  until you need it.

* How about the zero page? You just define it as starting from $00. Are you
  sure, that the first 26 bytes can be used by the runtime? Assume for
  example, that an interrupt handler is in place which uses zero page
  locations. It might interfere with your code. The zero page locations used
  by the runtime should be choosen so that they don't interfere with other
  code that might be running (the kernal for example).

* If you're using VICE to test the code, you can check

  - that a routine like cprintf is actually at the address listed in the
    map file,

  - and that it is actually called.

  To do this, use a "hello world" style program to make the task simpler.

Sorry for not having better ideas.

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 Fri Jan 18 21:42:17 2013

This archive was generated by hypermail 2.1.8 : 2013-01-18 21:42:21 CET