×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

delay

delay

(OP)
what is the best method for delay?
i preper it will be based on time to be persice and
will be about the same length on any computer
thx.

RE: delay

INT 25h "Wait for time delay"

Pseudo:

MOV  AH,86
MOV  CX:DX,time in microseconds
INT  15
JC   unsuccessful
CMP  AH,80
JE   invalid command
CMP  AH,83
JE   delay already in progress
CMP  AH,86
JE   function not supported

Regards,
Bert Vingerhoets
vingerhoetsbert@hotmail.com
http://student.vub.ac.be/~bvingerh/
Don't worry what people think about you. They're too busy wondering what you think about them.

RE: delay

Eek...!

I think you're not supposed to touch that function.... 'course could be something like: "Microsoft recommends that you no longer use DOS functions 01h to 0dh, unless needed to maintain older code.  Microsoft cannot garantee that these functions will still exist in future versions of DOS."  which never really stopped us from using them, did they?

"Information has a tendency to be free.  Which means someone will always tell you something you don't want to know."

RE: delay

I got it from a book printed in 1998 and it's int 15, not int 25 (my mistake). Also, it still works on my (old) DOS machines and on my (new) Windows machines.

Regards,
Bert Vingerhoets
vingerhoetsbert@hotmail.com
http://student.vub.ac.be/~bvingerh/
Don't worry what people think about you. They're too busy wondering what you think about them.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close