Difference between revisions of "OSWORD &0E"
m (1 revision) |
m (1 revision) |
(No difference)
|
Revision as of 19:13, 8 March 2015
OSWORD &0E (14 ) - Reads CMOS clock Acorn Master MOS
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 On exit: XY+1..25=CR-terminated string
See Also
Jgharston 12:56, 26 May 2009 (UTC)