Re: [cc65] Loadable overlays

From: Groepaz <groepaz1gmx.net>
Date: 2006-07-31 13:54:11
On Sunday 30 July 2006 12:58, Maciej Witkowiak wrote:
> Ullrich von Bassewitz dnia 30 lip 2006 o 11:54 +0200 napisał:
> > > But as I said, it will have a big performance impact
> > > given that cc65 calls some library routines quite
> > > often.
> >
> > Not only that there is a performance impact, there's also the problem of
> > the jump table size. As I said, the runtime consists of several hundred
> > functions. This means that you will have spend about 1K just for the jump
> > table.
>
> LUnix uses something what was called a virtual jump table. There is include
> file with a list of kernel functions, starting with magic value and
> incrementing by two:

[...snip... ]

useless trivia: this is *exactly* how the playstation portables kernel handles 
it aswell :=)

-- 

http://www.hitmen-console.org
http://www.gc-linux.org/docs/yagcd.html
http://www.pokefinder.org
http://ftp.pokefinder.org

I'm honored to shake the hand of a brave Iraqi citizen who had his hand cut 
off by Saddam Hussein. 
<George W. Bush>

----------------------------------------------------------------------
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 Jul 31 13:54:29 2006

This archive was generated by hypermail 2.1.8 : 2006-07-31 13:54:32 CEST