| ??? 06/12/02 06:35 Read: times |
#24305 - RE: SDCC Compiler, @Michael and @Peter |
Michael,
this is very easy ... firt calculate the vector number #define MICHAELSINTVECTOR 13 /* = (0x6b-0x03)/0x08 void INTERRUPTFUNCTION (void) interrupt MICHAELSINTVECTOR { /* now the interupt function */ } that's it .... i would recommend that you and all others that would like to work with SDCC should register at the SDCC USER mailing List at http://lists.sourceforge.net/lists/lis.../sdcc-user where you can post every kind of mails about sdcc and 8051 related questions. (The developer stuff is reading this list) and if desired the developer mailing list at http://lists.sourceforge.net/lists/lis...sdcc-devel and of cource the sdcc web page at sourceforge https://sourceforge.net/projects/sdcc/ For Peter ... good question where toget the actual latest build of sdcc ... as i do my own builds, but i am not that actual at the moment ... i remember your question we had discussed that a long time before ... in my project i use a makefile that compiles only what has changed (that is what a makefile is for ...) and each file is compiled seperately ... and after this the stuff gets linked ... but the problem was not the amount of filenames a.c b.c ... it was the command limitation of DOS .... and i still use cygwin .... where i do not have the problem ... still your next question about upper / lower case letters and blanks is a command line question. as i do not use upper cases and blanks i cannot answer that. i do not have the interrupts in one single file. but i have header files, that are included in each source file where i do declare everything regardless if it is used or not, also the interupt functions .... so i place my interrupt code where i want it ... bit return type .... i asked sandeep the maintanier of the project more than one year ago as i converted the 8051JAM Player for programming FPGA from keil to sdcc about that as keil has this type,but i am not shure if this feature is implemented as i do not use it ... so peter i would also guess that these questions should be placed at the sdcc-user mailing list. this is theplace where you and others will get much more information and a quicker support than i can give as i do not have the time for sdcc as i had a year ago ... and this will not change in the next 12 months ... :-( have fun Michael |



