UTILITY -> Other
© DK' Tronics (19??)
Real Time Clock

Last Update : Tuesday 22 April 2014 at 14 h 54




The Real Time Clock module uses the 146818 chip which gives the user a complete time-of-day with alarm, calendar, a programmable periodic interrupt generator and 50 bytes of low power static RAM.

SETTIME,a,b,c,d,e,f,g : Set the time, years to secs
ASKTIME,@a,@b,@c,@d,@e,@f,@g : Ask for the time years to secs
PEEKRTC,a,@b : Read a location within the RTC
POKERTC,a,b : Write to a location within the RTC
TIMEON,a,b,c : enable automatic time display
TIMEOFF : Turn off thime display function
ALARMON,a,b,c,@d : Turn alarm function on
ALARMOFF : Turn alarm function off

L'utilitaire comprend 3 fichiers : RSX.BAS, RSX.BIN et CLOCK.COM


Edité par : DK' Tronics


Goto Top
CPC-POWER/CPCSOFTS, programming by Kukulcan © 2007-2020 all rights reserved.
Reproduction forbidden without any express authorization. All the game titles used belong to their respective owners.
Hébergement Web, Mail et serveurs de jeux haute performance