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 09:04, local time: 2009/11/21 20:08, owner: IMB-yahoo-J86,
TOP NEW HELP FIND: 
38.107.191.100:LOG IN
©2009 PLEASE DON'T RIP! DO: LINK / DIGG! / MAKE!

 ©2009 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!
<A HREF="http://piclist.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 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?

 
Robo-Nuts! Check out http://www.verinet.com/~dlc/ Cool little robo-modules: Whiskers, IR proximity and remote control, Sonar proximity, PWM, 4 Servo serial controller, Compass. Programmed 12C508's $8 but also code, docs, etc...
 

Peter Todd has released source and sample projects for his artwork, including his 3d wireframe cube renderer for the PIC 18f6520 This includes examples of hardware developed with free software tools such as gEDA/gschem/PCB, SDCC, gputils and picp all on Linux. http://petertodd.ca/art/source-code/

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .