OT: PicBASIC Pro. Writing Own Functions, INCLUDE, Target Header, Library Files

General Robotics Forum - All aspects of robots and their applications. 

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
OT: PicBASIC Pro. Writing Own Functions, INCLUDE, Target Header, Library Files Dale Stewart 12-12-2005
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by Dale Stewart on December 12, 2005, 7:28 pm
Hi

I have PBP 2.04. I have just read 30 pages of the PBP manual dealing with
how PBP works. As I have an older version, some current functions are not
available to PBP 2.04, as well as many PIC models.

I am also learning C, and have resources like Visual Studio 6.0 and VS .NET,
CCS C, IAR C, and Microchip Student 18Series PIC C, and have done some PIC
C, VB, Java (yuck) programming for a hobby several years ago. At uni many
years ago I did a course in Pascal, and recently completed an introductory C
programming course using 8255 and AD/DA PC interfaces. I would like to learn
some VC++/C++ using Visual Studio to implement my ideas. I also have access
to Borland Delphi if needed.

What I would like to do is write my own functions, libraries, INCLUDEs, and
Target Headers. It seems apparent that this could be done in assembly to
some degree. However, does anyone know of other ways to achieve these goals
using C, and/or VC++, and/or VB routines and/or making dll files that
somehow could be used to create functions and libraries with only basic ASM
skill level? For example, extending the MATH functions, and including 32-bit
real and floating point math in C some how - wrappers?, DLLs?, others? maybe
using batch files, Make files or some sort of scripting to tie the
technologies together in some package and to give some encapsulation.

It seems thet the Microchip MPASM PIC device definitions files would be
handy.

I don't expect a hand-holding explanation here, but if someone could please
outline some areas to focus on and a brief list of resources/links it would
be a cool way to extend PBP 2.04 etc.

Although programming in BASIC is well, maybe too basic from my point of
view, developing
solutions to this approach will teach me assembler, C/C++,PIC architectures
and functions, and other skills that will no doubt be very valuable. I will
post my experiences on my website to help others learn too, as I like the
open-source paradigm and spirit. Eventually (5 year goal?) I would like to
write my own open-source compiler and language for PIC, which as far as I
know is not yet available.

Yes I have posted on PBP forum recently, but thought that there might be
people here with the advanced skills to help (or maybe to refer me to more
relevant development forums [fora?] or Newsgroups).

Your ideas and thoughts are most welcome.

Cheers

|-]

Dale



Similar ThreadsPosted
K8055 After writing some code February 18, 2006, 9:15 am
PICBasic Pro Compiler Please September 8, 2005, 1:19 am
PicBasic code for controlling a servo February 12, 2006, 10:31 am
source for DXF files or G-Codes ? October 10, 2008, 7:17 pm
Using MIDI Files to Control Animatronics Info Please June 7, 2009, 3:11 pm
Best C++ Serial Library? May 2, 2008, 1:09 am
anyone used the CMUCAM with the Intel OpenCV library ? December 18, 2005, 4:29 am
Machine Vision / Image Processing Library March 11, 2005, 11:35 am
CGAL 3.3 Released, Computational Geometry Algorithms Library June 2, 2007, 9:15 am
Library for laser acquisition in mapping problems. [Question] January 13, 2007, 6:01 pm

The site map in XML format XML site map
other useful resources:
Official Robosapien Website
Lego Mindstorms Website

Contact Us | Privacy Policy