trying to decide on pbp


Closed Thread
Results 1 to 36 of 36

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    You will need to supply the glasses

    Have you tried the PBP demo yet? Then you can see how it works.
    At complie time PBP converts your code to ASM. The ASM is tricky to read because of the macros used but that is a good thing?
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Have you tried the PBP demo yet? Then you can see how it works.
    At complie time PBP converts your code to ASM. The ASM is tricky to read because of the macros used but that is a good thing?
    Just did download the demo, haven't really played with it yet. As for the tricky ASM, I guess its a good thing if it teaches me tricky programming skills

    I went ahead and ordered it last night, now just waiting on the goodies to arrive. I am sure I will be very happy with it, just being a chicken s***.

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Hi CNCMG

    Having been Playing with R/C stuff for ... some years ... I can tell you PBP is a real Handy tool, and most of the time ... no assembler programming required.

    The best advantage, I think, is a truly compact and reliable code ... with very short debugging time. ( if any time even necessary ...).


    IF I had to find something weak ...

    Let's say the lack of Whisle and Bells features like universal libraries for GLCD and so on, where 8 bits processors begin to show their limits ...

    May be Real time processing stuff ... but it is a common weakness for PURE basic programming.

    Most of time, a nicely structured program does it without pain.

    PBP + assembler knowledge is the winning cocktail ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default More questions

    If I need to be patiant and wait for the manual, feel free to tell me. Otherwise heres my next question.

    How do you folks suggest I setup my work flow? By this I mean, I hace ICD3 (and ICD2) and am clearly used to working in mplab.

    Am I now gonna want to work in a new IDE or add plugin to mplab or something else? I would normally just type my asm program in mplab, compile, program/debug, and done.

    I know I can read the manual online here somewhere, but it doesn't feel like I saw a clear as mud answer last night while reading.

    On a different note, will i always need to answer the random question or does it go away after some number of posts?

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Being you are comfortable with MPLAB I would stay with it.
    http://melabs.com/support/mplab.htm

    The random question never goes away.... But there are only about six "randoms"
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    699


    Did you find this post helpful? Yes | No

    Default

    CNCGuy,

    Also, you can watch the next video to get you started. The video also has some nice tips and tricks. Ignore the LABX-1 Experimenter Board part if you are not planning on using it.

    http://video.melabs.com/getting_started/index.html

    Robert
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

  7. #7
    Join Date
    Sep 2007
    Location
    USA, CA
    Posts
    271


    Did you find this post helpful? Yes | No

    Default

    cnc--
    Before you decide on PBP, I would suggest you also try the Proton compiler demo, and get a feel for which you prefer. The bottom line is that both are great compilers, and you won't go wrong with either. They are both based on the BS2 language, although Crownhill hasn't tried as hard to adhere to it as they've expanded Proton. I have purchased and used both compilers, and now almost exclusively use Proton. I would say that PBP is a tiny bit better for newbies, for two reasons. The parser is a little more forgiving with extra parentheses, and it's also able to parse out longer calculations. (Also, it's a little closer to BS2 compatibility--and a lot of newbies try to paste code.)

    I use Proton, however, because I prefer it. If you know and are comfortable with asm, then you may also. Proton allows you to use bytes, words (2 bytes) and dwords (4 bytes signed) and floats all in one file without selecting a separate compiler. It also has a few more commands, in addition to built in support for interrupts. And quite a few of the "undocumented" features of the compiler are available on the forum, allowing you to go wild. More importantly (for some projects), however, the code is always more compact with Proton, because it has an optimizer that takes a few additional passes, depending on your settings. Sure, PBP has a great user-base supplied interrupt routine, but the code is still always larger than with Proton, even with Proton's optimizer off. And the bigger the program (i.e. crossing page boundaries) the bigger the difference in code size.

    Oh, yeah... Proton also puts out a readable ASM file, rather than a file filled with macros. That's probably the main reason the optimizer is superior on Proton--because it has one, and PBP leaves all macro code as-is, with no optimization. But that's also why PBP compiles in less time, since it doesn't make optimizing passes.

    FWIW, Crownhill, the company who brought us Proton, also brought you this forum.
    http://www.protonbasic.co.uk/forum.php

  8. #8
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rsocor01 View Post
    CNCGuy,

    Also, you can watch the next video to get you started. The video also has some nice tips and tricks. Ignore the LABX-1 Experimenter Board part if you are not planning on using it.

    http://video.melabs.com/getting_started/index.html

    Robert
    Somehow I missed this post, and its in my thread!

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts