add directory docs
This commit is contained in:
78
docs/interrupts/int-html0/inte2zlc.htm
Normal file
78
docs/interrupts/int-html0/inte2zlc.htm
Normal file
@@ -0,0 +1,78 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text-html; charset=Windows-1252">
|
||||
<title>INT 21,30 - Get DOS Version Number</title>
|
||||
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1><a name="kap_interrupt_1900"></a>INT 21,30 - Get DOS Version
|
||||
Number</h1>
|
||||
|
||||
<p> AH = 30h</p>
|
||||
|
||||
<p> on return:</p>
|
||||
|
||||
<p> AL = major version number (2-5)</p>
|
||||
|
||||
<p> AH = minor version number (in hundredths decimal)</p>
|
||||
|
||||
<p> BH = FF indicates MS-DOS, only if OEM vendor chooses to
|
||||
identify</p>
|
||||
|
||||
<p> = 00 indicates PC-DOS</p>
|
||||
|
||||
<p> BL:CX = 24 bit OEM serial number if BH is FF</p>
|
||||
|
||||
<p> - for an example DOS version 2.1 returns AL=2 and AH=10</p>
|
||||
|
||||
<p> - DOS versions prior to DOS 2.0 return zero in AH and AL</p>
|
||||
|
||||
<p> - DOS version 4.0 and 4.1 usually return the same value of
|
||||
4.00</p>
|
||||
|
||||
<p> - the OEM serial number is a rarity, though some older OEM
|
||||
DOS</p>
|
||||
|
||||
<p> versions implemented this feature</p>
|
||||
|
||||
<p> - the OS/2 compatibility box returns 10.10 for OS/2 1.1,
|
||||
10.20</p>
|
||||
|
||||
<p> for OS/2 1.2, etc...</p>
|
||||
|
||||
<p> - when testing for version, a specific test can often cause
|
||||
your</p>
|
||||
|
||||
<p> code to not work in following versions of DOS. It is often
|
||||
better</p>
|
||||
|
||||
<p> to test for a version number greater or equal to the minimum
|
||||
rather</p>
|
||||
|
||||
<p> than a specific version number where possible</p>
|
||||
|
||||
<p> - see ~DOS Versions~</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<table border="0" width="100%" cols="3">
|
||||
<tr>
|
||||
<td width="33%">Zur<EFBFBD>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.<2E>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>
|
||||
Reference in New Issue
Block a user