Re: [cc65] some patches

From: Groepaz <groepaz1gmx.net>
Date: 2010-03-15 21:12:50
On Montag 15 März 2010, you wrote:

> Only if they are using read/write. 

... which is used more often than you'd think :)

> But if it's a separate library, normal
> programs using read/write (fread/fwrite) will not be accelerated without
> modification.

ofcourse not, overload them then

> 
> Is it a good idea to create some header file, which would redefine
> read/write/fread/fwrite when included? (something like #define read(a,b,c)
> read_ide64(a,b,c) ) But then I have to make a copy from fread/fwrite as
>  well...

no, bad idea. much better idea to simply link custom versions of read/write


-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Wenn die, die rein wollen, die, die raus wollen, nicht raus lassen, können 
die, die raus wollen, die, die rein wollen, nicht rein lassen!

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Mar 15 21:10:41 2010

This archive was generated by hypermail 2.1.8 : 2010-03-15 21:10:44 CET