how to show PC clock in the screen using TASM

Reply

Join Date: Dec 2006
Posts: 3
Reputation: abdullateef is an unknown quantity at this point 
Solved Threads: 0
abdullateef abdullateef is offline Offline
Newbie Poster

how to show PC clock in the screen using TASM

 
0
  #1
Dec 19th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,148
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1435
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

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

 
0
  #2
Dec 19th, 2006
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.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 128
Reputation: Evenbit is on a distinguished road 
Solved Threads: 4
Evenbit's Avatar
Evenbit Evenbit is offline Offline
Junior Poster

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

 
0
  #3
Dec 19th, 2006
Originally Posted by abdullateef View Post
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
while (CPU is present) {some assembly required}
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 3
Reputation: abdullateef is an unknown quantity at this point 
Solved Threads: 0
abdullateef abdullateef is offline Offline
Newbie Poster

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

 
0
  #4
Dec 25th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,148
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1435
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

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

 
0
  #5
Dec 25th, 2006
Originally Posted by abdullateef View Post
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.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 49
Reputation: Purple Avenger is an unknown quantity at this point 
Solved Threads: 0
Purple Avenger Purple Avenger is offline Offline
Light Poster

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

 
0
  #6
Jan 8th, 2007
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC