Shop OBEX P1 Docs P2 Docs Learn Events
Propeller PBASIC - Page 2 — Parallax Forums

Propeller PBASIC

2»

Comments

  • ericpineericpine Posts: 31
    edited 2014-01-07 23:44
    5.5 years since the last post on this thread, I'm still hoping there is a way Parallax will produce a Pbasic-Prop compiler. Imagine pulling up some PBASIC2.5 code that you worked so hard on 5 years ago and it just runs fine on the new hardware!

    (I don't wanna port all this code I have!)

    : )
  • BeanBean Posts: 8,129
    edited 2014-01-08 06:01
    A long time ago, I was working on a basic stamp emulator on the Propeller.
    I got pretty far, the basic stamp IDE would "see" the propeller as a basic stamp and I could load programs.
    I only had a few instructions implemented, but I could toggle a pin at least.
    Then I started on PropBasic and I haven't messed with it since...

    Bean
  • jmgjmg Posts: 15,173
    edited 2014-01-08 11:58
    Bean wrote: »
    A long time ago, I was working on a basic stamp emulator on the Propeller.
    I got pretty far, the basic stamp IDE would "see" the propeller as a basic stamp and I could load programs.
    I only had a few instructions implemented, but I could toggle a pin at least.
    Then I started on PropBasic and I haven't messed with it since...

    Since this is an old thread, around Basic flows, perhaps someone can update with the current state of play ?

    I think the SimpleIDE can now accept 'other' languages ?
    Does PropBASIC now co-operate under SimpleIDE ?
    How close to covering PBASIC2.5 as a subset, is PropBASIC ?

    Sometimes a simple way to handle this, is to expand the error messages when Compiler X hits a 'other BASIC' syntax, and i think PropBASIC already has Conditional code handling ? (allows users to keep a copy of their old code slices, for ref.)
  • PublisonPublison Posts: 12,366
    edited 2014-01-08 12:42
    jmg wrote: »
    Since this is an old thread, around Basic flows, perhaps someone can update with the current state of play ?

    I think the SimpleIDE can now accept 'other' languages ?
    Does PropBASIC now co-operate under SimpleIDE ?
    How close to covering PBASIC2.5 as a subset, is PropBASIC ?

    Sometimes a simple way to handle this, is to expand the error messages when Compiler X hits a 'other BASIC' syntax, and i think PropBASIC already has Conditional code handling ? (allows users to keep a copy of their old code slices, for ref.)

    Thread about PropBasic Simple IDE:

    http://forums.parallax.com/showthread.php/149659-PropBasic-How-to-use-PropBasic-in-SimpleIDE-!!!

    Thread about PropBasic ViewPort:

    Can't find the orginal post. Will update.
  • BeanBean Posts: 8,129
    edited 2014-01-08 15:37
    jmg wrote: »
    Since this is an old thread, around Basic flows, perhaps someone can update with the current state of play ?

    I think the SimpleIDE can now accept 'other' languages ?
    Does PropBASIC now co-operate under SimpleIDE ?
    How close to covering PBASIC2.5 as a subset, is PropBASIC ?

    Sometimes a simple way to handle this, is to expand the error messages when Compiler X hits a 'other BASIC' syntax, and i think PropBASIC already has Conditional code handling ? (allows users to keep a copy of their old code slices, for ref.)

    What I was working on was completely different. It used the basic stamp IDE and PBASIC programs could be loaded and run unmodifed.

    Bean
  • David BetzDavid Betz Posts: 14,516
    edited 2014-01-08 15:56
    Bean wrote: »
    What I was working on was completely different. It used the basic stamp IDE and PBASIC programs could be loaded and run unmodifed.

    Bean
    So what you wrote was an emulator for the BS2 that ran on the Propeller?
  • BeanBean Posts: 8,129
    edited 2014-01-08 17:46
    David Betz wrote: »
    So what you wrote was an emulator for the BS2 that ran on the Propeller?

    Exactly... A BS2 emulator that ran on the propeller.

    Bean
  • ericpineericpine Posts: 31
    edited 2014-04-16 18:47
    Bean, If this can pull off 7 bit serin/out (just like BS2sx) up to 115.2k you have a taker! I assume it would be like a BS2 on steroids?
  • birv2birv2 Posts: 10
    edited 2014-11-02 08:53
    I just joined this forum. I teach computer science to 7-9th grade and used Scribbler2 for the first time this semester.

    I find the idea of a PropBASIC intriguing. Is this available, still in production? I'd ideally like something on a level of complexity in between the graphical DnD and Spin.

    TIA,
    Bob Irving
    Porter-Gaud School
    Charleston, SC
  • Mike GreenMike Green Posts: 23,101
    edited 2014-11-02 09:09
    Have a look at FemtoBasic (in the OBEX). There are specialized versions of this for use with the Propeller Activity Board and the Propeller Board of Education. These were posted in the forums some time ago and provide access to the ADCs on those as well as controlling servo motors.

    This is a simple integer-only Basic that runs completely on a Propeller. It's very helpful for demonstrating the functionality of the Propeller and allows direct access to the I/O pins. There are separate versions for a VGA display, TV, and serial I/O for a console and one version that can use an xBee or WiFly module wirelessly with a PC or iPad as the console.
  • birv2birv2 Posts: 10
    edited 2014-11-03 16:44
    Thanks!

    I downloaded it and will play with it sometime soon.

    Bob Irving
    Porter-Gaud School
    Charleston, SC
Sign In or Register to comment.