Try this out.
sync on:sync rate 60
load image "filename",1
load image "filename",2
frame=1
do
inc frame:if frame>2 then frame=1
paste image frame,0,0
wait 100
sync
loop
If you want something else to happen while the cursor is blinking, I would take out the WAIT command so it doesn't slow the rest down.
To keep the delay for the blinking cursor and integrate code with it, you could use something like this:
sync on:sync rate 60
load image "filename",1
load image "filename",2
frame=1
duration=100
delay=timer()+duration
do
Rem Your Code Here.
if timer()>delay
delay=timer()+duration
inc frame:if frame>2 then frame=1
endif
Rem Or Here...
paste image frame,0,0
sync
loop
I used the internal system clock for the second code snippet. I figured that it would be more accurate timing than just adding two numbers together. Although, adding two numbers together would probably work too.
I hope this helps ya.