Shop OBEX P1 Docs P2 Docs Learn Events
Update for PropBasic — Parallax Forums

Update for PropBasic

RsadeikaRsadeika Posts: 3,837
edited 2011-09-30 09:09 in Propeller 1
I have been sort of following some of the posts for PropBasic, but not very actively. I am wondering what the driver(s) status is for PropBasic? Specifically, is there a driver for the SD card, yet? I know their was somebody that was working on one, but have not seen anything about it, has it been finished?

Maybe this thread can be used to advertize your finished program(driver(s)) for PropBasic. OK, maybe partially finished would be OK too.

I have been using Spin exclusively, and some of my programs may have to use LMM, which Spin does not support, so that is why I have this renewed interest in PropBasic.

Ray

Comments

  • BeanBean Posts: 8,129
    edited 2011-09-29 07:01
    Ray,
    Lately I've been working on support for Hanno's Viewport. Viewport is now my preferred IDE for PropBasic.

    I like using Viewport instead of BST because with BST I had to send the source files to BradC and he modified them to work with BST. With Viewport, I can just compile it myself and post it.

    There is not an SD card driver. I haven't had the need for it, and if anyone else has they haven't posted their code.

    The biggest advanage you'll get coming from spin is speed (and lots of it). Even if you do use LMM it still pretty fast.

    If you have any questions about PropBasic please let me know...

    Bean
  • train nuttrain nut Posts: 70
    edited 2011-09-29 08:22
    Bean

    Using Viewport as an IDE for Propbasic is going to limit use for those of us who lack sufficient funds to purchase Viewport. At least BST was a free product.

    Ben
  • BeanBean Posts: 8,129
    edited 2011-09-29 08:24
    Ben,
    I'm pretty sure Viewport is free with limited (slow) comm speed.
    Hopefully Hanno will reply with the low-down on this.

    Bean
  • SapiehaSapieha Posts: 2,964
    edited 2011-09-29 09:11
    Hi Bean.

    Sorry if I hijack thread --->

    BUT I will make support for PropBasic in that IDE for me and others that don't have ViewPort.

    But for that I need complete list of reserved words and operators.
    From this IDE it is possible to run Yours Basic compiler directly.

    LOOK on ---> Notepad++

    train nut wrote: »
    Bean

    Using Viewport as an IDE for Propbasic is going to limit use for those of us who lack sufficient funds to purchase Viewport. At least BST was a free product.

    Ben
  • BeanBean Posts: 8,129
    edited 2011-09-29 09:40
    From what I can find out it looks like ViewPort is free only for the 30 day trial period. Then the "lite" version is $29. I'm not sure exactly what the "lite" version supports.

    Sapieha, I'll look into Notepad++.

    Bean
  • HannoHanno Posts: 1,130
    edited 2011-09-29 18:22
    I'm a big fan of Notepad++ for editing text files. Getting it to do syntax highlighting for PropBasic should be easy.

    ViewPort comes with a fully functional 30 day free trial- give it a try! The $29 option gives you a nicely integrated development tool- with a powerful text editor with macros, regular expression search+replace, real time graphing of variables, IO state monitoring up to 80msps, fuzzy logic, streaming video and much more.

    Sapieha- you do have ViewPort- "Ultimate" in fact. I've resent your license key...
    Hanno
  • turbosupraturbosupra Posts: 1,088
    edited 2011-09-29 18:28
    $29 is a bargain for all of the stuff viewport can do
  • HannoHanno Posts: 1,130
    edited 2011-09-29 18:47
    Thanks turbosupra!
    ViewPort has been a work of love- it's very exciting to see it used in industry now!
    I'll post more application success stories soon- the last one I published used ViewPort and the Prop for an 8megawatt synchronous motor. Ok- back to PropBasic!
    Hanno
  • SapiehaSapieha Posts: 2,964
    edited 2011-09-29 21:01
    Hi Hanno.

    Yes I have that --- Thank You

    I'm to like Notepad --- As it is simple to look in code without need to start any of compilers.
    So I have it open always -- as I work in both VHDL. C. spin/pasm. pbasic and more so much of editing are in it.

    But still for those that can't buy other programs -- it can be good to support it.

    Hanno wrote: »
    I'm a big fan of Notepad++ for editing text files. Getting it to do syntax highlighting for PropBasic should be easy.

    ViewPort comes with a fully functional 30 day free trial- give it a try! The $29 option gives you a nicely integrated development tool- with a powerful text editor with macros, regular expression search+replace, real time graphing of variables, IO state monitoring up to 80msps, fuzzy logic, streaming video and much more.

    Sapieha- you do have ViewPort- "Ultimate" in fact. I've resent your license key...
    Hanno
  • RsadeikaRsadeika Posts: 3,837
    edited 2011-09-30 08:15
    The response to this thread is not very encouraging for using PropBasic. Xbasic was introduced a while back, and that seems to have disappeared. So, it seems that if the author does not supply the popular driver(s), the use of the program by many people will be very, very limited. I guess now I will have to wait for Propeller GCC, at least Parallax will be compelled to supply the necessary drivers. But, if the Propeller GCC is not a GUI then...

    Now I guess I will have to rethink how I am using Spin, and the Propeller. Will I have to start implementing "other" processors to lighten the programming load on the Propeller? I am not sure where this will take me.

    Ray
  • FriedVFriedV Posts: 77
    edited 2011-09-30 09:09
    I'm growing into a big fan of PropBasic, for its speed and ease of use.
    If you don't need Viewport,
    you can use it with the HomeSpun Compiler and the propellent load tools (all free),
    I use Edit+ as my main editor and then compile with PropBasic, using this small batch file to
    get comfortable error handling (jump to errors in the editor)
    @echo off
    "c:\program files (x86)\Propbasic\PropBasic.exe" "%1" /q
    if exist %1.err (
    type %1.err
    del %1.err
    ) else (
    echo
    No Errors
    )
    Then I compile the spin file and load it with:
    @echo off
    "C:\Program Files (x86)\PropBasic\homespun031.exe" -d %1.spin
    "C:\Program Files (x86)\Parallax Inc\Propeller Tool v1.3\propellent" %1.eeprom
    Of course you have to adapt the dirs to your environment, but it is very easy to do
    with edit+.
    To debug I use Viewport and my HW LA Logicport, and a Picoscope.
    Thanks Bean, Hanno and Michael Park for those wonderful tools!
    Cheers, Friedrich
Sign In or Register to comment.