I need some source code to get the time and date in assembler.
Can you help me?
Date and time
RE:Date and time
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.
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.