Shop OBEX P1 Docs P2 Docs Learn Events
C3+PotatoText+keyboard test run — Parallax Forums

C3+PotatoText+keyboard test run

RsadeikaRsadeika Posts: 3,846
edited 2011-05-02 05:33 in Propeller 1
I found a small TV set with an RCA plug, so I am giving this a shot. The PotatoText driver is a very nice driver, but it is missing a few things. I am trying to get a key press displayed to the screen, not working for me. I would also like to add a blinking cursor, but I am not sure how to handle that. I like the gotoxy string function, but I am not sure if that would be the appropriate way to handle a blinky cursor. Other than that, the driver is works quite well.

Thanks

Ray
''C3_po_030.spin



OBJ

  term  :  "potato_text_start_012.spin"
  key   :  "keyboard_010.spin"


PUB Main

  term.Start(40)

  Start


PUB Start  | c

  term.charsperline(80)
  term.colormode($070b)        '' Sets up white on blue
  term.ClearText($20)          '' This is neccesary
  
  
  term.PrintChar("A")
  term.PrintChar($10)
  term.PrintString(string("This is a test line!"))

  repeat
    c:=key.getkey
    term.PrintChar(c)

Comments

  • RsadeikaRsadeika Posts: 3,846
    edited 2011-05-02 05:33
    Now that I have played around with both, VGA, and TV, I have to be leaning towards VGA, especially MicronautsVGA80. For the beginners, be sure that you choose a system that will be supported by the author/developer. In my case, at least there was some support for the VGA driver. And for the beginners, all this is still at a stage of, here is the board, attached is a few examples, go at it at your own risk. I guess the reason I am stating this, is because of a thread that is titled something like, I just bought the starter kit, now what?

    So, now back on topic, I guess I will have to use the VGA , in the most minimal way, maybe debugging, or something along those lines.

    Ray
Sign In or Register to comment.