56 lines
1.3 KiB
HTML
56 lines
1.3 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,0 - Read System Clock Counter</title>
|
|
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1><a name="kap_interrupt_1240"></a>INT 1A,0 - Read System Clock
|
|
Counter</h1>
|
|
|
|
<p> AH = 00</p>
|
|
|
|
<p> on return:</p>
|
|
|
|
<p> AL = midnight flag, 1 if 24 hours passed since reset</p>
|
|
|
|
<p> CX = high order word of tick count</p>
|
|
|
|
<p> DX = low order word of tick count</p>
|
|
|
|
<p> - incremented approximately 18.206 times per second</p>
|
|
|
|
<p> - at midnight CX:DX is zero</p>
|
|
|
|
<p> - this function can be called in a program to assure the date
|
|
is</p>
|
|
|
|
<p> updated after midnight; this will avoid the passing two
|
|
midnights</p>
|
|
|
|
<p> date problem</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>
|