Shop OBEX P1 Docs P2 Docs Learn Events
Interesting video problem — Parallax Forums

Interesting video problem

RinksCustomsRinksCustoms Posts: 531
edited 2012-05-27 20:21 in Propeller 1
While trying to use graphics.spin & tv.spin to generate a few buttons on a 7" wide screen, the upper left of my screen (first few tiles) get clobbered. Also, the code I've written wont display past the second menu level. Is spin this slow? I doubt it.. Perhaps someone else can point out my errors within my code, or at least offer an explanation of why the screen data gets clobbered. I've tried this on multiple propeller platforms (quick start & first gen proto board). Could my fiddling with the color scheme have caused this phenomena? (line #80 in the code).

Screenshot & code attached below.

Comments

  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-05-27 20:21
    Some of the TV/graphics objects don't reserve all the RAM needed for the screen buffers. If your program is too large, and it doesn't take much to be too large, it clobbers the screen buffer.

    I believe there are ways of using less RAM for the screen buffers, such as single buffering instead of double buffering, but I haven't tried them myself.

    I've never successfully used TV.spin and graphics.spin with anything other than very simple programs.

    I often have to use a second Prop as a graphics slave when using TV or VGA.
Sign In or Register to comment.