please dont rip this site

Generic Pointers for MPLAB-C18 Compiler

by Isaac Marino Bavaresco

I got tired of using two or more different versions of functions like "strcmp", "strcmppgm", "strcmppgm2ram", "strcmpram2pgm" (and many other) just because MPLAB-C18 pointers are so stupid.

Then I developed the generic pointers for MPLAB-C18. To make it viable I had to rewrite most of its library functions also. Most I started from scratch (like the 'memcpy' that is shown in the link below) and some I just changed (like the 'printf').

As a positive side effect, most functions run faster than the originals.

Most functions become slightly larger than the orignal, because indeed they are two-in-one (or even four-in-one), but with the advantage that you need just one the code shrinks.

Tested in extended mode only, in a PIC18 with more than 64Ki Words of program memory.


file: /Techref/member/IMB-yahoo-J86/generic_pointers.htm, 1KB, , updated: 2009/7/9 10:04, local time: 2024/10/8 06:11, owner: IMB-yahoo-J86,
TOP NEW HELP FIND: 
44.222.134.250:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.ecomorder.com/techref/member/IMB-yahoo-J86/generic_pointers.htm"> Generic Pointers for MPLAB-C18 Compiler</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?