[cc65] Re: assembler hello world

From: mog <mog-lists1rldn.net>
Date: 2011-09-14 01:58:25
On Tue, Sep 13, 2011 at 05:25:01PM -0500, mog wrote:
> ----------------------------------------------------------
> it fails on the linker with
> 
> ld65: Warning: [builtin config](43): Segment `LOWCODE' does not exist
> ld65: Warning: [builtin config](43): Segment `ZPSAVE' does not exist
> ld65: Warning: [builtin config](43): Segment `INIT' does not exist
> Unresolved external `__STARTUP_LOAD__' referenced in:
>   hello.s(4)
>   hello.s(5)
> ld65: Error: 1 unresolved external(s) found - cannot create output file
> 
  to answer my own question the provided config didnt have the constants defined.
I fixed that and now I get the following warnings
ld65: Warning: ../apple2.cfg(43): Segment `LOWCODE' does not exist
ld65: Warning: ../apple2.cfg(43): Segment `ZPSAVE' does not exist
ld65: Warning: ../apple2.cfg(43): Segment `INIT' does not exist

But the code runs just fine as long as its not named hello. brun test for example will
work great.

Which brings me to my next question how do I get my binary to autoload from disk.
I got it to error by nameing it HELLO A, but HELLO B does nothing nor does
anything else I have tried.

-- 
Matthew O'Gorman
xim: mog@rldn.net
email: mog@rldn.net
site: http://blog.rldn.net
/*****************************************************************************/
/* If you wait long enough, it will go away... after having done its damage. */
/* If it was bad, it will be back.                                           */
/*****************************************************************************/

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Sep 14 01:59:02 2011

This archive was generated by hypermail 2.1.8 : 2011-09-14 01:59:05 CEST