Open bobbimanners opened 2 years ago
In edit.c there is a bunch of inline asm. the cc65 optimizer needs to be turned off (on a per function basis) using:
edit.c
#pragma optimize (push,off) ... #pragma optimize (pop)
Doing this naively results in the code overflowing the LC segment, so some refactoring is required.
If I don't fix this, most likely the code will break with newer cc65 releases.
It seems to work okay for now, but this really should be addressed to avoid problems in future.
In
edit.c
there is a bunch of inline asm. the cc65 optimizer needs to be turned off (on a per function basis) using:Doing this naively results in the code overflowing the LC segment, so some refactoring is required.
If I don't fix this, most likely the code will break with newer cc65 releases.