Date and time

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Billy

Date and time

Post by Billy »

I need some source code to get the time and date in assembler.
Can you help me?
Brill

RE:Date and time

Post by Brill »

If you're just setting up your date/time handling then you would need a hardware timer IRQ handler and read in the current date and time from the cmos.
If you want to know the time from an application or routine inside your os i would set up and nmi interrupt for the os to handle and return the time on a stack.
Post Reply