Shop OBEX P1 Docs P2 Docs Learn Events
pbasic on prop (POP) — Parallax Forums

pbasic on prop (POP)

HumanoidoHumanoido Posts: 5,770
edited 2008-10-26 15:40 in Propeller 1
Everyone agrees it's the most powerful chip around.
So why can't it run PBASIC?

Comments

  • BradCBradC Posts: 2,601
    edited 2008-10-26 12:54
    humanoido said...
    Everyone agrees it's the most powerful chip around.
    So why can't it run PBASIC?

    Because nobody's written it yet. Go on then, I _double_ dare you!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Pull my finger!
  • hippyhippy Posts: 1,981
    edited 2008-10-26 15:15
    It is as simple as BradC says, no one's done it yet; you could be the first smile.gif

    I did some proof of concept coding which proved a Propeller can emulate a BS1 to the extent that a ProtoBoard ( or any Propeller development board for that matter ) can appear to be an uber-BS1 module just like any other BS1 module.

    A BS2 'clone' shouldn't be that much more complicated nor an overwhelming project if divided down into manageable chunks ( and it is quite easy to partition the functionality ). One can start in Spin and then move to PASM for speed. With appropriate multi-cog pipe-lining it should be possible to create a quite staggeringly fast BS1/BS2.

    I'd hoped to implement a BS2 using a Propeller as a project but it looks like other things mean I'm going to have to put that on the shelf.
  • StefanL38StefanL38 Posts: 2,292
    edited 2008-10-26 15:40
    Another reason is the concept of the Propeller-Chip.

    Every cog has 2kB of RAM. The SPIN-interpreter fits into 496 longs = 2kB of RAM

    I guess the PBASIC interpreter would need more RAM.

    If you are able to program in PBasic it will be quite easy to learn SPIN. If you are WILLING to learn

    best regards

    Stefan
Sign In or Register to comment.