Re: SPAMVERDACHT:[cc65] Optimizing code fails

Date view Thread view Subject view

From: Groepaz (
Date: 2003-11-22 03:11:10

On Saturday 22 November 2003 03:08, Benjamin Bahnsen wrote:
> Hello!
> I tried to speed up my code by using the -O option when compiling and
> linking with cl65, but the resulting program doesn't work anymore. The
> program always crashes. I found out that it has something to do with my
> interrupts (which only consist of assembler code). If i turn interrupts
> off, my program works fine and much faster than without the -O option. Why
> doesn't the optimization work if interrupts are turned on?

that sounds odd.... sure your asm code doesnt touch anything vital to the
compiler (like zeropage locations) ? checked with an irq handler that
does nothing?


To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-11-22 03:20:18 CET