Results 1 to 2 of 2

Thread: Displaying system time

  1. #1

    Thread Starter
    Addicted Member Frankie902's Avatar
    Join Date
    Feb 2001
    Location
    Lindenwold, NJ, USA
    Posts
    217

    Displaying system time

    I am in the middle of learning Assembly and I was wondering how to display the current time. I know system time is on interupt 21h, AH = 2Ch. And the return is : CH = hour CL = minute DH = second DL = 1/100 seconds

    But I don't know how to display the data on screen.
    Using:
    Visual Studio .Net Enterprise
    Visual Basic 6.0 Enterprise

  2. #2
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Change the values into ASCII equivalents and do an INT 21h funtion 09h on it.
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width