Re: [cc65] some patches

From: Oliver Schmidt <ol.sc1web.de>
Date: 2010-03-15 21:09:38
Hi Soci,

> By the way is it possible to get rid of the interrupt handling stuff in crt0
> if I'm not using any interrupts in a program? I've tried to put .if there, but
> unfortunately __INTERRUPTOR_COUNT__ is imported and not defined, so it was not
> working.

No, it always need to be there "by design". The number of interrupt
users (the interruptors) is determined at link time and is only
reflected in the __INTERRUPTOR_COUNT__ symbol which therefore con only
be read at runtime.

There's no symbol being undefined if (and only if) there's at least
one interrupt user so there's no way to link in something
conditionally.

Regards, Oliver
----------------------------------------------------------------------
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:09:45 2010

This archive was generated by hypermail 2.1.8 : 2010-03-15 21:09:48 CET