61 lines
1.5 KiB
HTML
61 lines
1.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type"
|
|
content="text-html; charset=Windows-1252">
|
|
<title>INT 1A,6 - Set Real Time Clock Alarm (XT 286,AT,PS/2)</title>
|
|
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1><a name="kap_interrupt_1300"></a>INT 1A,6 - Set Real Time
|
|
Clock Alarm (XT 286,AT,PS/2)</h1>
|
|
|
|
<p> AH = 06</p>
|
|
|
|
<p> CH = hours in BCD</p>
|
|
|
|
<p> CL = minutes in BCD</p>
|
|
|
|
<p> DH = seconds in BCD</p>
|
|
|
|
<p> on return:</p>
|
|
|
|
<p> CF = 1 if alarm already set or clock inoperable</p>
|
|
|
|
<p> - alarm setting is not relative like some sources claim, but
|
|
the</p>
|
|
|
|
<p> actually clock time the interrupt should occur</p>
|
|
|
|
<p> - settings values must be in BCD</p>
|
|
|
|
<p> - when the alarm time is reached ~INT 4A~ is executed</p>
|
|
|
|
<p> - INT 4A vector should be replaced with address of the alarm</p>
|
|
|
|
<p> handling interrupt routine before setting the alarm</p>
|
|
|
|
<p> - ~INT 1A,7~ should be called to disable the ~RTC~ alarm</p>
|
|
|
|
<hr>
|
|
|
|
<table border="0" width="100%" cols="3">
|
|
<tr>
|
|
<td width="33%">Zurück zum <a href="inte1at0.htm">Interrupt
|
|
Info</a>. </td>
|
|
<td align="center" width="33%"><a
|
|
href="mailto:Roger.Morgan@htl-steyr.ac.at">Roger Morgan</a>
|
|
/ 1998 </td>
|
|
<td align="right" width="33%"><font size="1">L.Änderung <!--webbot
|
|
bot="Timestamp" s-type="EDITED" s-format="%d.%m.%y"
|
|
startspan -->29.03.99<!--webbot bot="Timestamp" endspan
|
|
i-checksum="13964" --> </font></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|