TK. Posted December 3, 2004 Report Share Posted December 3, 2004 The most recent version of the C wrapper is now available for a public beta test: http://www.ucapps.de/tmp/mios_c_wrapper_beta1.zipThis package also contains a binary of the release candidate for MIOS V1.8, which is required to get the wrapper properly working (there is only a small change: FSR0L and FSR0H will be saved on interrupts)More informations about the C interface can be found here:http://www.ucapps.de/mios_c.htmlNote that the current sdcc has a bug which doesn't produce proper assembly code for the PIC18F. Please use following sdcc snapshot instead:http://www.midibox.org/sdcc_tmp/sdcc-snapshot-i586-mingw32msvc-20040716.zipBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
grahamg Posted December 7, 2004 Report Share Posted December 7, 2004 Thanks Thorsten! Everything works great with the old SDCC release. :)-Graham Quote Link to comment Share on other sites More sharing options...
TK. Posted January 25, 2005 Author Report Share Posted January 25, 2005 Good news!SDCC has reached a good stability again, so that that the use of the "latest and greatest" build (>20050123) is highly recommented.Because of some conceptional changes in the compiler a new wrapper is required:http://www.ucapps.de/tmp/mios_c_wrapper_beta2.zipYou can migrate your existing C code by copying all files from the skeleton directory (and subdirectories) except for main.c into your project directoy. The only change in main.c: void ENC_NotifyChange(unsigned char encoder, unsigned char incrementer)has been changed to: void ENC_NotifyChange(unsigned char encoder, char incrementer)Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Wise Posted February 3, 2005 Report Share Posted February 3, 2005 Snapshot from 20050123 is no longer aviable from SDCC homepage, anyone have it zip'ed ?Or Is it ok to use a newer snapshot or should i exepct some buggs ? Well, I'll try anyway....best/Wise Quote Link to comment Share on other sites More sharing options...
TK. Posted February 5, 2005 Author Report Share Posted February 5, 2005 Hi Wise,in the meantime it should be ok to use the "latest and greatest" versionOnce I've finished the documentation of MIDIbox FM, I will continue with the C stuff. I'm planning a C testsuite (some kind of reliability test) which ensures that the most important C constructs are working, and that all MIOS functions can be accessedBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
LiFo Posted May 16, 2005 Report Share Posted May 16, 2005 hi have just build my first midibox and MBHP_BURNER_V1 have trouble to use midi-ox but have managed to use mios studio upload version 1.7 of miosbut i want to program in c and i can only finde a syx file of mios v 1,8 rc1can you post or send me an hex file of mios 1.8 so i can program in c and another question is it okey to use sdcc version 2.5.0Thanks Martin Quote Link to comment Share on other sites More sharing options...
TK. Posted May 16, 2005 Author Report Share Posted May 16, 2005 Hi Martin,yes, SDCC 2.5.0 is okI'm just working with the C wrapper and found a major problem in conjunction with MPLAB (first time I'm writing a more complex application with it)The details can be found here: http://sourceforge.net/tracker/index.php?func=detail&aid=1203088&group_id=599&atid=100599However, in the meantime I'm using gpasm which is also available for Win32 - it works perfectly.I will write down the details once the C based MIDIbox MM application is finished and once I'm sure that there is no other issue.hex file: you will get it via emailBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
TK. Posted May 16, 2005 Author Report Share Posted May 16, 2005 The low/high byte order has been changed (again) in SDCC 2.5.0, this means that all MIOS functions which are using 16bit words (like some AIN and BANKSTICK/FLASH/EEPROM functions) don't work anymore.However, I will release a new wrapper soonBest Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.