Jump to content
IGNORED

XB sleep()


idflyfish

Recommended Posts

Pretty much. If you need more accurate(ish) timing and are not using sound, you can use two CALL SOUND statements with volume at 30 (silence). The second one will wait for the first to complete with a 1/60th second accuracy (1/50th second in PAL):

 

CALL SOUND(1000,110,30)::CALL SOUND(1,110,30)::REM Delay 1000ms (1 second)

Link to comment
Share on other sites

I guess using an empty loop does the trick.

 

 

220 FOR S=1 TO 500::NEXT S
230 RETURN

 

A CALL KEY loop can be written to pause until you press a key. Not sure if this is what you are looking for.

 

Jacques

 

I was just looking for a way to rotate colors on the screen slow enough that my kids can see what is going on. Thanks though.

Link to comment
Share on other sites

I was just looking for a way to rotate colors on the screen slow enough that my kids can see what is going on. Thanks though.

 

Just do it in BASIC, it is slow enough they will be able to see you define characters real-time!

Link to comment
Share on other sites

I was just looking for a way to rotate colors on the screen slow enough that my kids can see what is going on. Thanks though.

 

Just do it in BASIC, it is slow enough they will be able to see you define characters real-time!

 

Haha ya.

 

I sat down with them tonight and showed them how to print to the screen and how to change the color of the screen. They thought that was pretty cool.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...