Shop OBEX P1 Docs P2 Docs Learn Events
Just a Thought... — Parallax Forums

Just a Thought...

ProcessingData...ProcessingData... Posts: 208
edited 2009-03-16 20:57 in Propeller 1
I am wondering if it would be worth it to try this: If·I stuck a vga driver and a·keyboard driver together, made it so it saved the input onto a flashdrive, and on command loaded it into·a cog, using another cog to interpret it, could·I program and run programs from the propeller itself? -- Just a Thought...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Basic Stamp,···· Propeller,·· · SX,·· FUN!


START:·
>Proccessing Data. . . .··
>Task Complete. . .·.
>Saving Data. . . .
>Entering SLEEP Mode. . . .
>Signing OFF


·

Comments

  • BaggersBaggers Posts: 3,019
    edited 2009-03-16 19:33
    Have you looked at femtobasic?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    http://www.propgfx.co.uk/forum/·home of the PropGFX Lite

    ·
  • MagIO2MagIO2 Posts: 2,243
    edited 2009-03-16 19:44
    Ehm ... the Spin language is said to be interpreted, but you should not mix it up with interpreting languages used on PCs like PHP or Pearl. In PHP or Pearl (or others) you really give the interpreter the source-file. But there the interpreter is doing more: it's also parsing the file. Usually you don't have a problem with huge source-files on PCs and parsing does not take to long. On the propeller we have an issue with RAM and the parsing is already done in the PropellerTool. The output of this parsing is a bytecode which is loaded to the Prop. That's why the PropellerTool is also called the Spin compiler.
    So besides writing an editor which allows comfortable source-file editing you would have to write your own compiler which runs on the propeller.

    I would like to have the development-environment on a prop too, but that'll be a lot of work.
  • Cluso99Cluso99 Posts: 18,071
    edited 2009-03-16 20:27
    Processing Data... What you are proposing is a lot more complex than that. As Baggers said, take a look at FemtoBasic which I think uses PropDOS - I have to look at this myself (read on...)

    MagIO2: That is no longer true. We only require a propeller compiler. We have PropDOS, an editor, VT100 terminal emulator, memory (SRAM and SD/microSD), etc. It is just putting this all together and we will have a full Propeller SBC (Single Board Computer) - see my recent thread on the Propeller SBC using my TriBladeProp - it is functional and I am putting the pieces of code together now. As I said, the only piece missing is the Prop based compiler.

    Heater is working on a Z80 emulator with CP/M which is pretty much working and we are now ready to add that to the TriBladeProp which has cheap 1MByte SRAM and microSD socket. This will give us the full 64KB RAM/ROM plus some RAM disk and huge microSD hard disk emulation and CP/M. There are other "retro-computer" emulations on the horizon also.

    So, stay tuned... smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBladeProp, SixBladeProp, website (Multiple propeller pcbs)
    · Prop Tools under Development or Completed (Index)
    · Emulators (Micros eg Altair, and Terminals eg VT100) - index
    · Search the Propeller forums (via Google)

    My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-03-16 20:36
    Ah propeller-based single board computer, the holy grail of propeller computing. [noparse]:)[/noparse]

    For the record, PropDOS borrowed heavily from FemtoBASIC for it's abilities to
    interact with the SD and spin up binary files.

    We lack a multipass propeller-based spin compiler, however it is possible now
    create BASIC programs in Femto and even drop into a full-screen editor
    to edit them. Wouldn't take much to combine the two programs. [noparse]:)[/noparse]

    Yes, a lot has been done by many, but there is more to do.

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • MagIO2MagIO2 Posts: 2,243
    edited 2009-03-16 20:57
    Cluso99: Wasn't aware of an editor running on the propeller. Nice. I wonder if it is possible to compile SPIN on the fly. Good old Commodore 64 converted the Basic into bytecode immediately. But I expect SPIN to be a bit more complex. Need to have a look into the bytecode stuff I got from the PropWiki.

    Having a PropDev-Board with a head mounted display would truely be good for my daily train-trip to work ;o)
Sign In or Register to comment.