Re: [cc65] some patches

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-03-16 20:31:59
On Tue, Mar 16, 2010 at 08:00:05PM +0100, Groepaz wrote:
> all that is very straightforward, easy to achive, and has (at least not to me)
> obvious drawbacks. its all fully automatic too :)

Creating a new library with read/write replacement routines can be easily done
with just 3 commands:

        # Compile the replacement modules
        cl65 -Oirs -c -t c64 write.s read.s

        # Create a copy of the library
        cp c64.lib ide64.lib

        # Replace library modules
        ar65 a ide64.lib write.o read.o

So if anybody offers these modules for download, creating a replacement
library is really easy.

As an alternative, one can link the modules to an application by naming them
on the linker or cl65 command line for the application. The drawback is that
linkage is not automatic. That means, the modules are then always linked in,
regardless if they're referenced or not.

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 Tue Mar 16 20:32:08 2010

This archive was generated by hypermail 2.1.8 : 2010-03-16 20:32:10 CET