Just out of curiosity. Is there a way to tell the linker that ISRs have the same priority and thus cannot interrupt each other and can safely be overlayed?
P.S.: And what is the correct passive form of 'to overlay'?
#ifdef ISR_GROUP_1 extern U8 Variable_for_group_1 #endif
That's what I meant with that sentence: I could use a global bit manually, but well ... it's just bad style so I wouldn't do this unless I actually ran out of bits.
But that's really just doing the overlaying for the compiler. I think I'll actually implement this. I already have a script that generates my overlaying instructions and updates the .uvproj. I'll extend it to do this for me.