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.
PIC18 libraries replacements - package updated to v 1.12
Re: PIC18 libraries replacements - package updated to v 1.12
Thanks Janni !
Re: PIC18 libraries replacements - package updated to v 1.12
I've uploaded new mP PRO help (v. 7.60) 'merged' with replacement libs help (only indexes are merged, naturally). This 'merge' allows to reach sought replacement libraries' topics with F1 key from Code Editor or with double-click from Library Manager. Both files are accessible in a single archive here.
Naturally, to make use of the above one has to replace the original mP PRO help file (mikroPascal_PRO_PIC.chm) in compiler installation directory with the new one and add the replacement libs help file (ReplacementLibs.chm) there.
As before, I've polished few chapters in mP PRO help, including description of vectored interrupts handling where an important keyword, ilevel, was omitted in the original description. (BTW, the help file works fine also without the replacement libs help).
Naturally, to make use of the above one has to replace the original mP PRO help file (mikroPascal_PRO_PIC.chm) in compiler installation directory with the new one and add the replacement libs help file (ReplacementLibs.chm) there.
As before, I've polished few chapters in mP PRO help, including description of vectored interrupts handling where an important keyword, ilevel, was omitted in the original description. (BTW, the help file works fine also without the replacement libs help).
-
- Posts: 4
- Joined: 08 Feb 2013 12:31
Re: PIC18 libraries replacements - package updated to v 1.12
Hi Janni
Is the libswitch program compatible with Win 10, I get an error when I run it even if I change compatibility to Win 7/8 ?
Great libraries and wouldn't be without them.
Is the libswitch program compatible with Win 10, I get an error when I run it even if I change compatibility to Win 7/8 ?
Great libraries and wouldn't be without them.
Re: PIC18 libraries replacements - package updated to v 1.12
Just tested it under Win 10 Pro 64-bit and there were no problems with starting it.stevedrink wrote:Is the libswitch program compatible with Win 10, I get an error when I run it even if I change compatibility to Win 7/8 ?
EDIT: Tried also under Home edition (64-bit) - again, no problem.
Re: PIC18 libraries replacements - package updated to v 1.12
Hi janni,
Your help please with your LibsSwitch program.
mP PRO V7,1,0 on a Win7 PC
Your website does say the current Replacement libraries version is for mP PRO V7,60. I noticed this after trying it with V7,1,0 and getting the understandable "__Lib_EEPROM_256_K42.mcl not found!" and "__Lib_EEPROM_1024_K42.mcl not found!" messages as per the attached .png.
In your description: "Clicking on "Replacement Libs" button will initiate installation which consists of saving the original mE libs and copying replacement libs,
their documentation, examples, and the LibSwitch program to a new RepLibs subdirectory in Packages directory." Documentation, examples and mELibs copied but the RepLibs folder is empty.
I would prefer not to upgrade to mP PRO V7,60 if there is another solution which doesn't make extra work for you?
Your help please with your LibsSwitch program.
mP PRO V7,1,0 on a Win7 PC
Your website does say the current Replacement libraries version is for mP PRO V7,60. I noticed this after trying it with V7,1,0 and getting the understandable "__Lib_EEPROM_256_K42.mcl not found!" and "__Lib_EEPROM_1024_K42.mcl not found!" messages as per the attached .png.
In your description: "Clicking on "Replacement Libs" button will initiate installation which consists of saving the original mE libs and copying replacement libs,
their documentation, examples, and the LibSwitch program to a new RepLibs subdirectory in Packages directory." Documentation, examples and mELibs copied but the RepLibs folder is empty.
I would prefer not to upgrade to mP PRO V7,60 if there is another solution which doesn't make extra work for you?
- Attachments
-
- Replacement Libs.png (505.69 KiB) Viewed 3644 times
Re: PIC18 libraries replacements - package updated to v 1.12
Hi janni,
Problem solution after some relaxing time: copied __Lib_EEPROM_256_K42.mcl and __Lib_EEPROM_1024_K42.mcl from the Replacement library to the mP PRO Uses/P18 folder so that the LibSwitch program would find all the files it was expecting and it worked as described in the documentation
Problem solution after some relaxing time: copied __Lib_EEPROM_256_K42.mcl and __Lib_EEPROM_1024_K42.mcl from the Replacement library to the mP PRO Uses/P18 folder so that the LibSwitch program would find all the files it was expecting and it worked as described in the documentation
Re: PIC18 libraries replacements - package updated to v 1.12
Clever though one could also modify LibsSwitch configuration text file, RepLibs_mP.cfg, by removing extraneous libs from the list inside. And probably best solution would be to use older replacement libs (Libstock keeps previous versions) - version 1.09 should be appropriate for mP version 7.1.Malcolm_M wrote: ↑22 Apr 2020 21:21Problem solution after some relaxing time: copied __Lib_EEPROM_256_K42.mcl and __Lib_EEPROM_1024_K42.mcl from the Replacement library to the mP PRO Uses/P18 folder so that the LibSwitch program would find all the files it was expecting and it worked as described in the documentation
Re: PIC18 libraries replacements - package updated to v 1.12
Hi janni,
Many thanks, I changed to version 1.09 as you recommended and it is working as advertised
I need to generate an accurate variable delay and VDelay_us & VDelay_ms are the perfect routines. As per your website I have enabled all of your replacement libraries.
Many thanks, I changed to version 1.09 as you recommended and it is working as advertised
I need to generate an accurate variable delay and VDelay_us & VDelay_ms are the perfect routines. As per your website I have enabled all of your replacement libraries.