I need some demo ideas for PropBASIC
Bean
Posts: 8,129
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...
·
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
More complex: Space invaders, or pacman.
I am willing to be a tester.
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!
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.
Got to be a version of Star Trek, surely - lots of BASIC versions available. If you need a copy, let me know.
Ross.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
I'd be interested in being a Beta tester (I used to be a software quality assurance engineer in a past life.)
Ken Gracey
Parallax Inc.
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.
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
ZX Spectrum 48K
* 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
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
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
·
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
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
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.