Shop OBEX P1 Docs P2 Docs Learn Events
I need some demo ideas for PropBASIC — Parallax Forums

I need some demo ideas for PropBASIC

BeanBean Posts: 8,129
edited 2009-11-28 22:51 in Propeller 1
We are finishing up the documentation for PropBASIC, and we'll soon be asking for Beta testers.

But I need some ideas for demo programs to showcase PropBASIC.

I'm open to just about any ideas. It would be nice if they worked on the Propeller Demo board because alot of people have that.

I have the Propeller demo board and the Propeller Professional Development board too.

Bean.


▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Does that byte of memory hold "A", 65, $41 or %01000001 ?
Yes it does...


·

Comments

  • neotericneoteric Posts: 144
    edited 2009-11-26 18:24
    Calculator, Simple Gui.

    More complex: Space invaders, or pacman.

    I am willing to be a tester.
  • potatoheadpotatohead Posts: 10,261
    edited 2009-11-26 20:34
    Create sounds, maybe tones of a specific frequency --coarse signal generator.

    A game is a great idea actually. Covers the basics, screen, I/O, ideally some sound, multi-cog.

    A terminal would be cool, and useful. Incorporates the keyboard.

    High density text driver?

    Persistence of vision LED banner generator? Those are kind of fun. Could use the LED's on the Demo board to draw pictures and text, when somebody moves it around.

    Text notepad, for testing basic functions. Keyboard, mouse, video.

    Maybe port over some old BASIC classics.

    Does the PropBasic do LMM now, or is it COG code only?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Wiki: Share the coolness!
    Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
    Safety Tip: Life is as good as YOU think it is!
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-11-26 21:12
    I vote for a game...

    As Doug said, it would demonstrate a lot of the language.

    Outside of that something I/O related as well.

    OBC

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

    Visit the: The Propeller Pages @ Warranty Void.
  • RossHRossH Posts: 5,519
    edited 2009-11-27 04:07
    @Bean,

    Got to be a version of Star Trek, surely cool.gif - lots of BASIC versions available. If you need a copy, let me know.

    Ross.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Catalina - a FREE C compiler for the Propeller - see Catalina
  • wyzard28wyzard28 Posts: 24
    edited 2009-11-27 04:54
    Who is your target market? If they're anything like me, game demos are uninteresting--I know enough about game programming to know I'm not going to use Basic for a graphics-intensive game, I'd be writing in assembly language. What would interest me would be seeing flexibility and ease of use; something like a home weather station. A nice screen layout with a mixture of text (of several sizes) and graphics, interfaces to several different types of sensors, some complex math calculations, some array processing, and as OBC mentioned above, some good solid I/O.

    I'd be interested in being a Beta tester (I used to be a software quality assurance engineer in a past life.)
  • Ken GraceyKen Gracey Posts: 7,401
    edited 2009-11-27 14:42
    Demonstrate some of the PE Kit projects, such as the LED Blinker with COGs. Many people seem to struggle over the basic connectivity of objects, COGs and parameters.

    Ken Gracey
    Parallax Inc.
  • edited 2009-11-27 15:29
    Print Using is a command to center text but not all computers had it.

    I would probably suggest a Peek or Poke for the breadboard or connectivity interface for driving the breadboard if you could devise such a scheme because in reality it could drive the RF Receivers with simple programming by reading joysticks or reading from the SD card.· A small file operating system would help but I don't think it has to be compatible with the Windows format as programmers should make Windows bend over backwards to do conversion because it has the memory to do that and unless the board is expanded, we should keep it simple to preserve memory.· I also wonder if you could leave in some blank tokens so that users could add their own commands.·

    Have you ever familiarized yourself with Simon's Basic?· It was a neet help but it took up a lot of memory.
    http://en.wikipedia.org/wiki/Simons'_BASIC

    I think some of the questions in this forum have to do with reading variables between cogs and doing conversion.· What is a long and how do you convert it?· Basic commands that do conversion may help them as long as you don't run out of memory.

    I remember Apple Basic may have had a wait command but that can be implemented with loops so this isn't too important.

    Could a self-contained Machine Language monitor be built for the prop just like you are building Basic?

    PM me if I can give you any more suggestions.
  • CounterRotatingPropsCounterRotatingProps Posts: 1,132
    edited 2009-11-27 18:49
    Overall you need to address three things:

    1) what's unique to PropBasic,
    2) making the Prop do something immediately, and
    3) demonstrating some frequent electrical/connectivity solutions.

    IMO, it would be best to keep it very simple - a complex application creates too many hurdles (at first) because you have to try to juggle learning the new syntax and ways of the PropBasic world, while at the same time, trying to wrap your head around *how* the appliction is actually working.

    If it's a simple application - say a programming template that has basic I/O of some kind, then you can just add comments that say "insert your code here". We all take other code samples and reuse them - so a set of building blocks that build on earlier code would be the most practical.

    I'd say just get something very clean and understandable out the door --- the easier it is to use, the faster the rest of us can run with it.

    (And I am hoping to have the PropHelper work with your app too.)

    - Howard



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Post Edited (CounterRotatingProps) : 11/27/2009 10:08:03 PM GMT
  • MarcelloMarcello Posts: 29
    edited 2009-11-27 19:22
    JETPACK !



    ZX Spectrum 48K
    256 x 192 - 2K
  • HumanoidoHumanoido Posts: 5,770
    edited 2009-11-27 19:54
    * Blink some LEDs
    * Sound the piezo speaker and change frequency
    * Demonstrate "hello world"
    * Use a serial LCD
    * Output to the TV
    * Show RC time example
    * Generate random numbers
    * Use PWM to dim the LED and make it brighter
    * Show a pushbutton response
    * A simple graphic
    * Results of math
    * Demo the POT command
    * Show how to READ and WRITE to internal memory
    * Show how to make a pin as input
    * Show how to make a pin as output
    * Explain how to debug
    * Demo nap, sleep, pause
    * Show use of the DATA statement
    * How to set the clock speed
    * Make a tiny text editor
    * Do a simple SERIN and SEROUT
    * Demo a tiny keypad
    * Make a menu of choices
    * Show off other commands

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    humanoido
    *Stamp SEED Supercomputer *Basic Stamp Supercomputer *TriCore Stamp Supercomputer
    *Minuscule Stamp Supercomputer *Three Dimensional Computer *Penguin with 12 Brains
    *Penguin Tech *StampOne News! *Penguin Robot Society
    *Handbook of BASIC Stamp Supercomputing
    *Ultimate List Propeller Languages

    Post Edited (humanoido) : 11/27/2009 8:02:17 PM GMT

  • zoopydogsitzoopydogsit Posts: 174
    edited 2009-11-27 20:57
    Actually, what about simple robotics applications using either the BeoBot, Singray or Parallax Prop Robot Module.

    Probably the most basic would be a Moth (finds the brightest point in the room), which could be easily modified to start to teach programming, to a ROACH (darkest point).

    Once opening up a couple of Demo's on simple robotics then there is a whole world of possibilities for younger participants.

    Please put me down as a Beta tester for PropBasic cool.gif
  • BaggersBaggers Posts: 3,019
    edited 2009-11-27 21:23
    Marcello, I've already written Jetpac for the Prop [noparse]:D[/noparse]

    But I also agree a game would be a good one to do, as it compiles to PASM it'll be able to handle LOTS of sprites, maybe do something with the 2600 drivers + lots of sprites [noparse]:)[/noparse] or a speccy type screen with lots of sprites.

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

    ·
  • Mike HuseltonMike Huselton Posts: 746
    edited 2009-11-28 20:34
    Bean,

    What are the capabilities and restrictions? What are the technical specs?
    You haven't published anything, as far as I know.

    A little help, please?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    JMH
  • kendokendo Posts: 1
    edited 2009-11-28 21:55
    Hi All,
    I have used RFID in a fuel pump access control program hitting a Mysql database on the internet and would like to see propbasic do the same . Sqlite is a goodl database to use for this type of system. Give it a try.

    Kendo
  • VIRANDVIRAND Posts: 656
    edited 2009-11-28 22:51
    Dynamic Web Server.
    It would be awesome to generate HTML with BASIC because you can't generate HTML with HTML.

    Is there an OBEX for W5100? I think so. There's PINK and the HYDRA ETHERNET module also.
    I haven't been able to access the internet in BASIC since Broadband killed Dialup.
Sign In or Register to comment.