Jump to content
Sign in to follow this  
Cybernoid

2.11.0- .09 of CC65 Help

Recommended Posts

I have upgraded to the latest version of CC65, and am now receiving the following error. Does anyone know how to work around this?

 

Thanks!

 

Unresolved external `__LOWCODE_LOAD__' referenced in:
 crt0.s(18)
Unresolved external `__RESERVED_MEMORY__' referenced in:
 crt0.s(19)
ld65.exe: Error: 2 unresolved external(s) found - cannot create output file
make: *** Error 255

Share this post


Link to post
Share on other sites

Make sure you are using the new linker cfg file...also that you have the new atari.lib and .o as well as the new cc65 binaries. You may have to define the __RESERVED_MEMORY__ as so :

cl65 -m map.txt -l -t atari -I..\include -L..\aelib main.c -o main.com usb.o sl811.o aelib.lib -Wl "-D __RESERVED_MEMORY__=1"

Share this post


Link to post
Share on other sites
Make sure you are using the new linker cfg file...also that you have the new atari.lib and .o as well as the new cc65 binaries. You may have to define the __RESERVED_MEMORY__ as so :

cl65 -m map.txt -l -t atari -I..\include -L..\aelib main.c -o main.com usb.o sl811.o aelib.lib -Wl "-D __RESERVED_MEMORY__=1"

 

You can put RESERVED_MEMORY right in the linker config file too. Chris, that constant replaces the _graphmode_used (sp?) variable from previous versions.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...