Ill try to write down a list when I play with the glcd program again.
Anton
Replacement libraries - updated to v 1.12
Re: Replacement libraries for PIC18 processors - package v 1
New release of the replacement libs, following the release of mB PRO v7.00, is ready for download (package version 1.07).
Two procedures, ByteToStrWithZeros and ShortToStrWithZeros, were added to Conversions library to reflect changes in mE's version of this library (replacement library already contained similar functions so only calls to them were added). Another new function that appeared in mE's library, FloatToStr_FixLen, will be added to replacement lib when the original starts working correctly (hopefully it will also be modified to make more sense ).
There was a conflict between abs function from C_Stdlib that mE added some time ago and similarly named function in Math replacement library. To make possible use of the pseudo-random functions from C_Stdlib library, a replacement was added that contains these functions.
There's also new version of LibsSwitch program (0.06) that accounts for added C_Stdlib replacement. Archived libs and LibsSwitch program may be downloaded here.
As Package Manager hangs while restoring packages in mB PRO v 7.00, LibsSwitch has to be run to install replacement libs rather than upgrade them, but both are equally easy.
Two procedures, ByteToStrWithZeros and ShortToStrWithZeros, were added to Conversions library to reflect changes in mE's version of this library (replacement library already contained similar functions so only calls to them were added). Another new function that appeared in mE's library, FloatToStr_FixLen, will be added to replacement lib when the original starts working correctly (hopefully it will also be modified to make more sense ).
There was a conflict between abs function from C_Stdlib that mE added some time ago and similarly named function in Math replacement library. To make possible use of the pseudo-random functions from C_Stdlib library, a replacement was added that contains these functions.
There's also new version of LibsSwitch program (0.06) that accounts for added C_Stdlib replacement. Archived libs and LibsSwitch program may be downloaded here.
As Package Manager hangs while restoring packages in mB PRO v 7.00, LibsSwitch has to be run to install replacement libs rather than upgrade them, but both are equally easy.
Re: Replacement libraries for PIC18 processors - package v 1
Thanks!
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)
Re: Replacement libraries for PIC18 processors - package v 1
A little late for last upgrade , I've grouped all replacement libs' descriptions in a single help file. It's not necessary to download new version of replacement libs, though - help file may be downloaded here.
Best to place it in ...\Packages\RepLibs\help subdirectory of compiler installation directory - IDE opens this folder after double-click on RepLibs in Library Manager. (To have replacement libs help accessible from Tools in IDE one has to place an executable in 'File Name' field - ussually C:\Windows\hh.exe; path to the help file with its name, ReplacementLibs_mB.chm, should be placed in 'Parametrs' field.)
Best to place it in ...\Packages\RepLibs\help subdirectory of compiler installation directory - IDE opens this folder after double-click on RepLibs in Library Manager. (To have replacement libs help accessible from Tools in IDE one has to place an executable in 'File Name' field - ussually C:\Windows\hh.exe; path to the help file with its name, ReplacementLibs_mB.chm, should be placed in 'Parametrs' field.)
Re: Replacement libraries for PIC18 processors - package v 1
New release of the replacement libs is ready for download (package version 1.08). Besides System and EEPROM libraries replacements for PIC18FxxK40 processors (compiler has specific versions of these libs) it contains basic libraries for enhanced family processors (Delays, System, and math libs).
As always, new replacement libraries fix problems of the official libs (like the memory switch problem present in original EEPROM libs for PIC18FxxK40), reduce code size and execution times. Only one of the 'old' replacement libs has been modified - 32-bit division in Math library has been compacted even more (but not at the cost of execution time).
Libraries for enhanced family processors remove the danger of memory overwriting (due to errors in original System and Math libraries) and fix the 'immortal' quirks of original math libraries. Unfortunately, I haven't had time to add String and Conversions libs replacements (and little motivation, I have to admit, as I only use smallest enhanced family processors - for small tasks, naturally . In fact, the floating-point math libraries were added mostly because of the momentum attained while rewriting the Math lib ).
There's also new version of LibsSwitch program (0.07). The whole package may be found here or at Libstock.
As always, new replacement libraries fix problems of the official libs (like the memory switch problem present in original EEPROM libs for PIC18FxxK40), reduce code size and execution times. Only one of the 'old' replacement libs has been modified - 32-bit division in Math library has been compacted even more (but not at the cost of execution time).
Libraries for enhanced family processors remove the danger of memory overwriting (due to errors in original System and Math libraries) and fix the 'immortal' quirks of original math libraries. Unfortunately, I haven't had time to add String and Conversions libs replacements (and little motivation, I have to admit, as I only use smallest enhanced family processors - for small tasks, naturally . In fact, the floating-point math libraries were added mostly because of the momentum attained while rewriting the Math lib ).
There's also new version of LibsSwitch program (0.07). The whole package may be found here or at Libstock.
Re: Replacement libraries - updated to v 1.09
Re: Replacement libraries - updated to v 1.11
New replacement libraries package, version 1.11, contains also String, Conversions and EEPROM replacement libraries for enhanced family processors. Thus this set of libs is complete now which is also reflected in new version of LibsSwitch program where the two sets (for PIC18s and enhanced series) are similarly handled now. As usual, new package is available on dedicated website and at Libstock.
Mind you, I haven't had time to perform a scrupulous check of String and Conversions replacement libraries for enhanced family processors (this is not as easy as with math libs where a test code can autonomously check all combinations - or at least all critical ones - after just few weeks of running ). Any feedback about spotted problems is welcome, as always.
Anyone who upgraded to mP PRO v 7.20 will notice that library routines are now automatically ordered alphabetically in Library Manager . This makes grouping library routines by function impossible and moves the groups' headings to the end. I haven't removed the headings, though, for those that, like me, stayed with older, less troublesome IDE (one may use older IDE with new command line compiler).
Anyone who upgraded to mP PRO v 7.20 will notice that library routines are now automatically ordered alphabetically in Library Manager . This makes grouping library routines by function impossible and moves the groups' headings to the end. I haven't removed the headings, though, for those that, like me, stayed with older, less troublesome IDE (one may use older IDE with new command line compiler).
Re: Replacement libraries - updated to v 1.12
New release of the replacement libs is ready for download (package version 1.12). They have been upgraded to work with v 7.60 of the compiler. New routines have been added to String library (routines added by mE that mostly mimic routines already present in the replacement). Hex2dWord has been added to Conversions library along with new mE routines (functional equivalents of routines already present in the replacement lib) - except the ones that contradict computer science in the form proposed by mE (and don't work), i.e. HexToShort, HexToInt, and HexToLongInt.
As always, besides reducing code size and execution times the replacement libraries fix problems of the official libs (like messed-up lately EEPROM functions).
The whole package may be found here or at Libstock.
As always, besides reducing code size and execution times the replacement libraries fix problems of the official libs (like messed-up lately EEPROM functions).
The whole package may be found here or at Libstock.