944,083 Members | Top Members by Rank

Ad:
  • Assembly Discussion Thread
  • Unsolved
  • Views: 6329
  • Assembly RSS
Dec 19th, 2006
0

how to show PC clock in the screen using TASM

Expand Post »
HI EVERY ONE

I want TASM code to show the real time in the screen in a sample way


thanks :-|
Last edited by abdullateef; Dec 19th, 2006 at 4:08 pm.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
abdullateef is offline Offline
3 posts
since Dec 2006
Dec 19th, 2006
0

Re: how to show PC clock in the screen using TASM

see int 21, function 5700 and 5701. to get current date/time

Once you get that, then learn how to convert the data in the registers to human readable form. If you read some of the other threads here there are example of how to do that.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,957 posts
since Aug 2005
Dec 19th, 2006
0

Re: how to show PC clock in the screen using TASM

HI EVERY ONE

I want TASM code to show the real time in the screen in a sample way


thanks :-|
You can probably find a few examples in the Fidonet archives:
http://www.cet.com/~jvahn/80xfiles.html
Reputation Points: 99
Solved Threads: 5
Junior Poster
Evenbit is offline Offline
140 posts
since Mar 2005
Dec 25th, 2006
0

Re: how to show PC clock in the screen using TASM

Thank you very much, I really get new concepts about the interrupts
Since you replayed, I have tried many times but I get errors in every time
Because the pages you gave me about MSAM

I want the code with tasm since that it is the only I know
I am beginner
At least I want the code to convert from hex to dec also how to show the result on the screen

Any help I would appreciate
Your forum is the only one that gives me an answer
Thank you
Reputation Points: 10
Solved Threads: 0
Newbie Poster
abdullateef is offline Offline
3 posts
since Dec 2006
Dec 25th, 2006
0

Re: how to show PC clock in the screen using TASM

Thank you very much, I really get new concepts about the interrupts
Since you replayed, I have tried many times but I get errors in every time
Because the pages you gave me about MSAM

I want the code with tasm since that it is the only I know
I am beginner
At least I want the code to convert from hex to dec also how to show the result on the screen

Any help I would appreciate
Your forum is the only one that gives me an answer
Thank you
If you tried several times you need to post your code so we can help you. Just giving you the code will not help you very much.

I believe task has a command-line switch you can set that will make it correctly interpret masm code. Its been too many years since I used it and don't recall what it is. And there isn't really all that much difference between tasm and masm, you should be able to easily interpret them youself anyway. 80x88 code is the same with all assmeblers.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,957 posts
since Aug 2005
Jan 8th, 2007
0

Re: how to show PC clock in the screen using TASM

The actual hardware RTC lives in the clock chip. Maybe you'd better think about how to retreive stuff out of that before worrying about diaplaying it on the screen. First things first.
Reputation Points: 31
Solved Threads: 0
Light Poster
Purple Avenger is offline Offline
49 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Assembly Forum Timeline: counting digits
Next Thread in Assembly Forum Timeline: Can you treat a graphics mode like text mode?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC