hello,
I'm already using system timer to do the interrupt, in order to show the date and time, i need to get it from BIOS date. please advice how to accomplish this, thanks!
Printable View
hello,
I'm already using system timer to do the interrupt, in order to show the date and time, i need to get it from BIOS date. please advice how to accomplish this, thanks!
Don't forget to say which Operating system / compiler / application type you're creating.
Well, I think you have to dig into assembly code in order to get the time from bios. Maybe int 0x1A is the one you are looking for.
Accessing BIOS from user level is restricted. It is sometimes a real headache trying to access to BIOS under pm OSes!
Not in DOS it isn't. See, this is why it's good to always list the target platform.Quote:
Originally Posted by fnoyan
Quzah.
I meant a pm OS. Maybe it is better to clearly write what I really want to mean :)Quote:
Originally Posted by quzah
>I meant a pm OS. Maybe it is better to clearly write what I really want to mean
That would help. Like pm OS ... what does that mean? One could guess.
It only works at night.
Quzah.
And that would change things for us programmers how? (The only working at night thing I mean.)
>It only works at night.
Yes, thank you, I wonder if those outnumber the am OS? :confused:
swoopy, please tell me you are just joking and you really know what is a PMOS. . .
EDIT: Does knowing what PMOS is mean that I'm old?
Thinking you must be old to know that might indicate you misinterpret the term. Seeing as nowadays we all use PMOSs, we (that is, the computer people) ought to know what they are.
I have a rare am/pm OS.Quote:
Originally Posted by swoopy
I bought it at a convenience store.
>swoopy, please tell me you are just joking and you really know what is a PMOS. . .
Well, the problem is, that P and M could mean too many different things. Sure I can guess what it means, and I might guess right, but if say 50% of your audience (the audience being this message board) can't, why speak in gibberish? Why not type it out? PM OS is pretty ambiguous. For example take the P. Is that:
Privileged?
Partitioned?
Primitive?
Private?
Protected?
Protective?
Primary?
Physical?
Permanent?
Take the M. Is that:
Memory?
Mapped?
Mode?
Modular?
Hmm, I did not know they made such an animal. The guy who invented it must be a genius.Quote:
Originally Posted by zx-1