Shop OBEX P1 Docs P2 Docs Learn Events
Paint - A fun application that shows off the power of the propeller chip. — Parallax Forums

Paint - A fun application that shows off the power of the propeller chip.

KyeKye Posts: 2,200
edited 2009-05-10 16:10 in Propeller 1
Hey guys,

I made this simple program called paint to test out my custom video and mouse drivers. However, I found this program to fun to keep to myself.

It will work on any demoboard or protoboard and you need a mouse·and·display to use it.

The demo uses 1 processor to generate the 640x480 video and mouse cusor and 1 processor to communicate with the keyboard and mouse and 1 processor to actually run the paint program which is about 20 lines of code using my driver libraries. 3 processors in total.

Enjoy,



▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,

Comments

  • mctriviamctrivia Posts: 3,772
    edited 2009-05-09 01:12
    man i really nead to get my keyboard and mouse out of storage sounds cool.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My new unsecure propmod both 1x1 and full size arriving soon.
  • KyeKye Posts: 2,200
    edited 2009-05-09 02:11
    Its great for a fun demo.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nyamekye,
  • TubularTubular Posts: 4,706
    edited 2009-05-09 10:30
    Thanks Kye, now we can have a lo res painting competition similar to the ANSI days.

    If I'm not mistaken it is 40*30*64 colors? Well done...

    tubular
  • SciNemoSciNemo Posts: 91
    edited 2009-05-09 11:37
    For the PropComp I made a paint program, but it is much lower resolution than the one you've made. The one thing that was really tough was getting the cursor to work right, because I used text drivers that didn't let me get a character value out of the buffer, so I had to add that.

    It's 40X25 pixels, and black & white, so don't expect to make any mona lisas with it. It comes in both ntsc and vga versions, with the vga being much higher resolution.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Not the fish.
    sites.google.com/site/bitwinproject/
  • parskoparsko Posts: 501
    edited 2009-05-09 14:49
    Got any screenshots? This sounds cool!

    -Parsko
  • Cluso99Cluso99 Posts: 18,069
    edited 2009-05-09 23:47
    Great Kye, etc. Remember the old Apple //c days where my kids would paint for hours smile.gif

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

    · Home of the MultiBladeProps: TriBladeProp, SixBladeProp, website (Multiple propeller pcbs)
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · 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
  • BradCBradC Posts: 2,601
    edited 2009-05-10 00:46
    Ok, so paint is done.. and we have a text editor.. next stop : Fantavision!

    (I used to spend hours on the Apple //c as a kid too. I wish I could figure out who I lent mine to and get it back. I still have the disks in a box)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "VOOM"?!? Mate, this bird wouldn't "voom" if you put four million volts through it! 'E's bleedin' demised!
  • KyeKye Posts: 2,200
    edited 2009-05-10 04:19
    Here's the working code for the demo if you guys are interested...

    attachment.php?attachmentid=60784

    Well, the most important part at least. I showed this program off as a demo in the Meeting of the Minds·at Carnegie Mellon University.

    The wow factor is that the user would only need to write 16 lines of code with the driver libraries I've created.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nyamekye,

    Post Edited (Kye) : 5/10/2009 3:52:05 PM GMT
    1031 x 805 - 50K
  • mparkmpark Posts: 1,305
    edited 2009-05-10 05:05
    Cusor?
  • KyeKye Posts: 2,200
    edited 2009-05-10 15:50
    What?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nyamekye,
  • mctriviamctrivia Posts: 3,772
    edited 2009-05-10 15:54
    you spelt mouse cursor wrong in your code that is what mpark is getting at

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My new unsecure propmod both 1x1 and full size arriving soon.
  • KyeKye Posts: 2,200
    edited 2009-05-10 15:56
    Oh, wow, well I should fix that.

    Haha, guess I'm not the best speller, and my code reflects that. Atleast I'm consistant with the mistakes.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nyamekye,
  • mctriviamctrivia Posts: 3,772
    edited 2009-05-10 16:10
    i am definitely not the best speler either and in my experience most technically minded people are not. Something to do with math, and science being on one side of the brain and spelling, and gramer on the other and most people are strong with only half there brain.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My new unsecure propmod both 1x1 and full size arriving soon.
Sign In or Register to comment.