OSWORD &0E
OSWORD &0E (14 ) - Reads CMOS clock
On entry: XY+0=function code
0 - Return clock value as string On exit: XY+0..23=CR-terminated string in form "Day,DD Mon Year.HH:MM:SS".
1 - Return BCD clock value. On exit: XY?0=year (&00-&99) XY?1=month (&01-&12) XY?2=date (&01-&31) XY?3=day of week (&01-&07, Sun-Sat) XY?4=hours (&00-&23) XY?5=minutes (&00-&59) XY?6=seconds (&00-&59). A year value of &80-&99 represents 1980-1999, a value of &00-&79 represents 2000-2079.
2 - Convert BCD to string. On entry: XY+1..7=BCD value as with subfunction 1 On exit: XY+1..25=CR-terminated string as with subfunction 0
3 - Return 5-byte centisecond clock value (where supported) On exit: XY?0..4=number of centiseconds since 00:00:00 01-Jan-1900
See Also
Jgharston 12:56, 26 May 2009 (UTC)