Announcement

Collapse
No announcement yet.

gfx_Cls () : How to tell command has completed.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • gfx_Cls () : How to tell command has completed.

    I'm having an issue with the uVGA-II with uVGA-II-GFX-R32.PmmC loaded.

    If I execute a clear screen (gfx_Cls) command, and immediately start sending characters with the putch command, I lose several of those characters.

    I'm assuming that once initiated, the gfx_Cls command is executed in the background. I'm also assuming that other commands (putch, for example) are ignored until the gfx_Cls command has completed.

    Neither gfx_Cls () nor putch () returns anything so I'm going to get no help there.

    I'm looking for a status bit (word?) that can be examined to verify that the gfx_Cls command has completed.

    Could I use the pause() command? Sure, but I'd something a bit more definitive.

    Any help out there?

  • #2


    All commands are executed in real time (unless otherwise noted)

    I just tried
    #platform "uVGA-II"

    func main()
    gfx_Cls() ;
    putch('a') ;
    putch('b') ;
    putch('c') ;
    putch('d') ;
    repeat // maybe replace
    forever // this as well

    endfunc
    and it works just fine.

    Perhaps a snippet of code that you are having trouble with might help us understand what is going on
    Mark

    Comment


    • #3


      Yep. Found the problem ... me.

      Comment

      Working...
      X