Difference between revisions of "OSWORD &0F"

From BeebWiki
Jump to: navigation, search
m (1 revision)
(Added subfunction 5.)
Line 1: Line 1:
 
[[Category:OSWORD]]
 
[[Category:OSWORD]]
OSWORD &0F (15 ) - Write CMOS clock Acorn Master MOS
+
OSWORD &0F (15) - Write CMOS clock
  
 
  On entry:
 
  On entry:
Line 6: Line 6:
 
   XY+1.. value to use.
 
   XY+1.. value to use.
 
  Functions are:
 
  Functions are:
  8 - Set time to value in format "HH:MM:SS"
+
  5 - Set time to value in centisecond count since 00:00:00 01-Jan-1900 (where supported)
 +
  8 - Set time to value in format "HH:MM:SS"
 
   16 - Set date to value in format "Day,DD Mon Year"
 
   16 - Set date to value in format "Day,DD Mon Year"
   24 - Set time and date to value in format
+
   24 - Set time and date to value in format "Day,DD Mon Year.HH:MM:SS"
  "Day,DD Mon Year.HH:MM:SS"
 
  
 
==See Also==
 
==See Also==
 +
* [[OSWORD &0E]]
 
* http://mdfs.net/Docs/Comp/BBC/Oswords
 
* http://mdfs.net/Docs/Comp/BBC/Oswords
  
 
[[User:Jgharston|Jgharston]] 12:57, 26 May 2009 (UTC)
 
[[User:Jgharston|Jgharston]] 12:57, 26 May 2009 (UTC)

Revision as of 02:42, 4 October 2017

OSWORD &0F (15) - Write CMOS clock

On entry:
 XY?0=function code
 XY+1.. value to use.
Functions are:
  5 - Set time to value in centisecond count since 00:00:00 01-Jan-1900 (where supported)
  8 - Set time to value in format "HH:MM:SS"
 16 - Set date to value in format "Day,DD Mon Year"
 24 - Set time and date to value in format "Day,DD Mon Year.HH:MM:SS"

See Also

Jgharston 12:57, 26 May 2009 (UTC)