Shop OBEX P1 Docs P2 Docs Learn Events
Identify your most impressive VGA demo for a presentation — Parallax Forums

Identify your most impressive VGA demo for a presentation

Ken GraceyKen Gracey Posts: 7,400
edited 2012-04-19 19:24 in Propeller 1
Hey all,

I'll be doing some Propeller presentations at Taiwan's top universities next month. As part of the presentations I'll lead the group through some introductory Propeller examples and a more complete systems analysis using the ELEV-8 and Jason's open-source code.

What I'm missing is a good VGA demonstration, so this is where I'm asking for help. Some details:

- there's usually no TV input in lecture halls, so it must be VGA
- should be something I could wire together, maybe from OBEX, using parts we have at Parallax
- sensors would be ideal, too
- should contain somewhat self-explanatory, commented code

Could I call upon our Propeller crew to help identify a couple of choices for me?

Thanks,

Ken Gracey
Parallax Inc.

Comments

  • RaymanRayman Posts: 14,839
    edited 2012-04-19 08:29
    I liked the ESC_Demo that uses the 1280x1024 driver...

    My Delay Generator is pretty nice too (if I do say so myself):
    http://www.rayslogic.com/propeller/Programming/RaysStuff/DelayGeneratorDemo.zip

    Microphone_to_VGA in OBEX might be another good choice...
  • trodosstrodoss Posts: 577
    edited 2012-04-19 08:44
    @Ken,
    One of the most impressive VGA demos on the Propeller was "Turbulence"
    http://www.linusakesson.net/scene/turbulence/index.php
  • PublisonPublison Posts: 12,366
    edited 2012-04-19 08:49
    trodoss wrote: »
    @Ken,
    One of the most impressive VGA demos on the Propeller was "Turbulence"
    http://www.linusakesson.net/scene/turbulence/index.php

    I see you corrected before I could finish posting :)

    It's a great overall demo and not just for the VGA.

    Jim

    PS Craft was pretty good also!
  • Ken GraceyKen Gracey Posts: 7,400
    edited 2012-04-19 08:58
    No wonder the lazy do so well in these forums. You guys just made my job a whole lot easier.

    I'll load Linus' demo and the VGA to Microphone example in a few minutes. I might need a bit of explanation as to how they work if it's not apparent.

    Any further recommendations are truly appreciated.

    Ken Graccey
  • PublisonPublison Posts: 12,366
    edited 2012-04-19 09:30
    Ken,

    Turbulence should work on the Demo Board, right out of the box.

    Linus writes magic stuff. Only kuroneko figured it out, as far as I know. Lots of self modifying code if I recall.

    Jim
  • jazzedjazzed Posts: 11,803
    edited 2012-04-19 09:38
    Dave Hein's Propeller-GCC C3 vgademo is very nice.

    It can be built and loaded with SimpleIDE with board type C3F or EEPROM (single 64KB+ part).

    Thanks,
    --Steve
  • PublisonPublison Posts: 12,366
    edited 2012-04-19 09:43
    I also like localroger's 40 x 18 VGA driver:

    http://forums.parallax.com/showthread.php?129860-40-col-x-18-row-VGA-ROM-Font-Driver

    a
    nd I'm trying to find a nice one written by Peter Jakacki. I'll post it when I find it.

    Jim
  • Ken GraceyKen Gracey Posts: 7,400
    edited 2012-04-19 10:33
    Just watched Linus' Turbulence demonstration on my VGA.

    Humbling, really. I feel like I've made programming progress when I can write a bargraph to a VGA without screen flicker, and now I see this demonstration. It had been a year or two since I'd last seen it.

    And now I see that kuroneko was the one who was able to reverse engineer the creation.

    Truly impressive example of what the Propeller can do, especially when used with two of the world's most skilled programmers!

    Ken Gracey

    P.S. I'll run Ray's demo when I get back from school - have to go to middle school for an hour to run the robotics program. Today they're doing light following with S2s, but I think I'm about ready to introduce the Propeller . . . can't decide if I want to make a pit-stop with the BASIC Stamp along the way.
  • User NameUser Name Posts: 1,451
    edited 2012-04-19 10:38
    Ken Gracey wrote: »
    No wonder the lazy do so well in these forums.
    Hey! I resemble that remark!
  • Mike GreenMike Green Posts: 23,101
    edited 2012-04-19 10:50
    I don't know how useful this will be in your situation, but here's a version of FemtoBasic that'll run standalone on a C3 using VGA. There's a function that'll read the ADC (see the documentation file) and you can use an SD card, C3's flash and SRAM, and the uncommitted I/O pins (for blinking LEDs, reading pushbuttons, etc.)
  • mindrobotsmindrobots Posts: 6,506
    edited 2012-04-19 10:51
    Ken Gracey wrote: »
    No wonder the lazy do so well in these forums.

    I like to consider it thoughtful and practiced energy management! One must remain positive...if it's not too much effort!

    Of course, now I need to go hunt down these demos and load them up for the experience.....more work for me!!
  • Ahle2Ahle2 Posts: 1,179
    edited 2012-04-19 12:13
    You need a VGA version of Nyan Cat to show of as well. ;)
    That shouldn't be too hard to fix.

    /Johannes
  • Ken GraceyKen Gracey Posts: 7,400
    edited 2012-04-19 12:58
    Ahle2 wrote: »
    You need a VGA version of Nyan Cat to show of as well. ;)
    That shouldn't be too hard to fix.

    /Johannes

    Another good idea. Hello Kitty and funny looking animals that talk should be popular in Taiwan, so this Nyan Pop Tart animal should fit in nicely. Somewhere on these forums. . . where was Nyan last seen on a Propeller?
  • Ken GraceyKen Gracey Posts: 7,400
    edited 2012-04-19 13:01
    User Name wrote: »
    Hey! I resemble that remark!

    Being able to make fun of one's self is a real quality. Glad to be in similar company!
  • potatoheadpotatohead Posts: 10,261
    edited 2012-04-19 13:25
    Didn't Kye do a straight up 64 color bitmap for VGA?

    @Ken, I did the Nyan Cat.

    http://www.youtube.com/watch?feature=player_embedded&v=-gyO2lRXLyg

    Ahle2 did the sound. (Retronitus is damn cool)

    Really then, WE did Nyan Cat. There, I feel much better. :)

    I'm a bit busy at the moment, but a quick search should reveal the forum thread with the code on it. It's not too hard to get this running on Kye's driver, given tall pixels are easy to do on that one. I've not looked, but would be surprised to learn they aren't. The Nyan Cat graphics work on a 96 pixel vertical display, and a 160 pixel horizontal one. More or less, as the animation is smaller than that.

    If somebody wants to jump in and modify, go for it! No worries here. It was just a fun lark anyway.

    Most of the time I'm on TV, due to not being where I can pack around a VGA. So, if somebody wants to tackle that, I'm happy to answer questions.

    Two weeks from now, I'll have some at home time and could potentially look at using a VGA driver. The rest of the code is very easy. All it needs is a bitmap display and vertical blank flag. Modify the plot command to whatever graphics driver is in use, and the rest of Nyan Cat should run nicely, given the plot speed is fast enough. That fun animation doesn't use any deep PASM tricks at all. Majority work is formatting a big pixel display, and some minor PASM to adjust the graphics draw COG to operate on that display.

    Another Edit: The real wizardy on that one is Eric Ball generation Apple ][ style "artifact" graphics for a nice color palette, done early 80's style. Not required on VGA, but cool looking on TV, so long as it's an NTSC TV.

    Edit: On another thought, why not show them some TV? Get one of those TV > VGA converters, and a whole lot of stuff would work. Just a thought.

    Runs on Demo Board outta the box.
  • Ken GraceyKen Gracey Posts: 7,400
    edited 2012-04-19 13:33
    One detail I didn't explain is that it should run on the Propeller BOE or Demo Board.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2012-04-19 13:48
    I'm surprise that no one mentioned the VGA Tile Driver...
    http://forums.parallax.com/showthread.php?127123-Full-Color-Tile-Driver-Thread

    Ok, so it's not exactly a demo, but a very cool way to use the Propeller..

    OBC
  • Ken GraceyKen Gracey Posts: 7,400
    edited 2012-04-19 14:14
    @potatohead: the Nyan the Cat video is a whole bunch of fun.

    I think I need to find a TV=>VGA converter to be able to run it, though. If this hardware is available, I'll show it.

    Can anybody point me to a functional TV=>VGA converter?

    Ken Gracey
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2012-04-19 14:33
    @Ken Taking your laptop? You've got one.. That USB capture device I had you get..

    (I've got some decent software for it if you need it.)

    OBC
  • TubularTubular Posts: 4,706
    edited 2012-04-19 14:37
    TV-> VGA do exist, eg this one
  • potatoheadpotatohead Posts: 10,261
    edited 2012-04-19 14:52
    OBC is right Ken. Good call.

    Boy I feel silly, because that's exactly how I do most of my Prop stuff. Just run the video capture software OBC recommends, which may be the stuff that came with it too. Connect your laptop to the projector / display, fire off the capture, and load up the demo board. Sound can go into the laptop, or some speakers in a pinch. (The production is stereo)
  • Ken GraceyKen Gracey Posts: 7,400
    edited 2012-04-19 15:05
    @Ken Taking your laptop? You've got one.. That USB capture device I had you get..

    (I've got some decent software for it if you need it.)

    OBC

    Jeff, it's in my car because I didn't have it for you. Funny how I need it now.

    And thanks potatohead (BTW we missed you at the UPEW/EXPO this year).

    Ken Gracey
  • potatoheadpotatohead Posts: 10,261
    edited 2012-04-19 15:11
    EXPO... Yeah, me too. A client changed up plans right at the last minute. Seriously unhappy about that. It wasn't for lack of wanting to go.
  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2012-04-19 15:51
    Ken Gracey wrote: »
    @potatohead: the Nyan the Cat video is a whole bunch of fun.

    I think I need to find a TV=>VGA converter to be able to run it, though. If this hardware is available, I'll show it.

    Can anybody point me to a functional TV=>VGA converter?

    Ken Gracey

    Hello Ken,

    One of these may work for you:

    http://www.newegg.com/Product/Product.aspx?Item=N82E16815196008

    http://www.newegg.com/Product/Product.aspx?Item=N82E16812156029

    Some people were using these to connect old game systems (original XBOX, etc) to VGA monitors. Maybe one of these will work for you.

    With one of these converters you can highlight both VGA and Composite applications during the demo.

    Robert
  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2012-04-19 15:59
    You may want to bring along or mention the Hydra book too. That has some nice examples for the video as well and I'm sure some of those could be altered to run in the DEMO board.
  • Ken GraceyKen Gracey Posts: 7,400
    edited 2012-04-19 16:10
    Hey potatohead -

    Found the composite to USB adapter that I was supposed to give to OBC, but left at home. Got it running now on a VMFusion XP machine on a Mac Air (can't believe all of these layers and OSs play together nicely) so Nyan will be part of the program!

    Thanks a bunch -

    Ken
  • potatoheadpotatohead Posts: 10,261
    edited 2012-04-19 17:55
    Nice! (that is impressive actually)
  • Cluso99Cluso99 Posts: 18,069
    edited 2012-04-19 19:24
    Not sure if you have the time, or it fits with your presentation. Ahle's SIDCog has some great sounds :)
Sign In or Register to comment.