Files
oldlinux-files/docs/interrupts/int-html0/inte86i8.htm
2024-02-19 00:23:35 -05:00

83 lines
1.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text-html; charset=Windows-1252">
<title>INT 21,57 - Get/Set File Date and Time Using Handle</title>
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
</head>
<body>
<h1><a name="kap_interrupt_2490"></a>INT 21,57 - Get/Set File
Date and Time Using Handle</h1>
<p> AH = 57h</p>
<p> AL = 00 get date and time</p>
<p> = 01 set date and time</p>
<p> = 02 ??? (DOS 4.0+ undocumented)</p>
<p> = 03 ??? (DOS 4.0+ undocumented) </p>
<p> = 04 ??? (DOS 4.0+ undocumented)</p>
<p> BX = file handle</p>
<p> CX = time to set (if setting)</p>
<p> DX = date to set (if setting)</p>
<p> ES:DI = pointer to buffer to contain results</p>
<p> on return:</p>
<p> AX = error code if CF set (see ~DOS ERROR CODES~)</p>
<p> CX = file time (if reading, see below)</p>
<p> DX = file date (if reading, see below)</p>
<p> % Time encoding:</p>
<p> ¦F¦E¦D¦C¦B¦A¦9¦8¦7¦6¦5¦4¦3¦2¦1¦0¦ Time in CX</p>
<p> ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ +------------ two second
incr (0-29)</p>
<p> ¦ ¦ ¦ ¦ ¦ +----------------------- minutes 0-59)</p>
<p> +-------------------------------- hours (0-29)</p>
<p> % Date Encoding</p>
<p> ¦F¦E¦D¦C¦B¦A¦9¦8¦7¦6¦5¦4¦3¦2¦1¦0¦ Date in DX</p>
<p> ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ +------------ day (1-31)</p>
<p> ¦ ¦ ¦ ¦ ¦ ¦ ¦ +------------------- month (1-12)</p>
<p> +-------------------------------- year - 1980</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>