Re: How to use Legacy Interrupts in for 26K83 in XC8?
Can anyone help?
I have RTFM a little more. The XC8 User Guide (4.9.3) says that in legacy mode the IVTBASE can be used to map the dual vectors to any address. This should allow me to move the vectors in line with the CODEOFFSET and remove the GOTO instructions in the intcode and intcodelo psects.
The problem is there is no indication how to do this. E.g. do I set it to 0x800 for legacy vectors at 0x808 and 0x818, or...?
The 26K83 data sheet knows nothing about legacy mode, only a couple of paragraphs on "compatibility", section 9.11. Again no indication how to map the dual vectors for legacy mode.
I even installed MCC but, in non-vectored mode, there is no where to enter a vector base and the generated code gives no hints.