EASy68K  
It is currently Mon Nov 19, 2018 10:06 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: delay
PostPosted: Tue Aug 17, 2010 2:38 am 
Offline
User avatar

Joined: Mon Aug 16, 2010 3:16 pm
Posts: 22
hello, how to set a delay of 5 seconds before the program will goes into the next part? thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 17, 2010 3:34 am 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1087
The following code will delay 5 seconds. The immediate value is the amount to delay in 1/100's second.
Code:
* 5 second delay
   move.l   #500,D1     ; delay 500/100 second or 5 seconds
   move.b   #23,D0
   trap   #15

_________________
Prof. Kelly


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 17, 2010 6:39 pm 
Offline
User avatar

Joined: Mon Aug 16, 2010 3:16 pm
Posts: 22
THIS HELPS. THANKS


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group