Hi, > with the PIC port. It looks to me like C18 is using some non standard C > for interrupts and data definitions, and I can't find info on how these
If I recall correctly, some 'rom' modifier to place data structures into ... ROM ... translates to __code in sdcc. Interrupts are not covered by the C standard, so each compiler has to invent its own wheel (no common standard to be seen). With SDCC (pic16 target), interrupts are declared/defined via void handler_high(void) __interrupt(1) { /* handle high-priority interrupts */ } void handler2_low(void) __interrupt(2) { /* handle low priority interrupts */ } The pic port (16f...) only supports __interrupt(1). Hope that helps, Raphael ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user