Re: [cc65] Multiple Driver INSTALL/UNINSTALL

From: Groepaz <groepaz1gmx.net>
Date: 2009-12-11 15:54:33
On Freitag 11 Dezember 2009, Ullrich von Bassewitz wrote:
> On Fri, Dec 11, 2009 at 10:51:31AM +0100, Groepaz wrote:
> > imho that doesnt really make sense... are there any practical uses for
> > that? i would assume that whatever drivers are used, they get loaded
> > once, and thats it. even "uninstalling" them seems kinda pointless :)
>
> It does. There may be programs that switch between different drivers. And
> since these drivers may be linked statically, the driver variables do not
> get "renewed" by loading the memory image again.

yes ofcourse, thats a *theoretical* use case (which is valid ofcourse). but 
honestly, i dont see that in any possible realworld program. working with 
cc65 is pretty much all about saving space whereever you can. and that - for 
real world programs - pretty much means, that you hardly ever will, for 
example, link two network drivers into the same application. if you want to 
be able to use different drivers, you will make them loadable. and because of 
that, preparing the drivers for a usecase that will practically never happen, 
seems kinda pointless :)

gpz


----------------------------------------------------------------------
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 Dec 11 15:53:38 2009

This archive was generated by hypermail 2.1.8 : 2009-12-11 15:53:40 CET