Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:docs:dos:api:int21:1b [2020/12/08 08:43] – created prokushev | en:docs:dos:api:int21:1b [2024/05/02 02:39] (current) – prokushev | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| - | (Table 01356) | ||
| - | Values for media ID byte: | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | HP 200LX E: (Stacker host drive ???) | ||
| - | | ||
| - | floppy, double-sided, | ||
| - | | ||
| - | | ||
| - | (e.g. floppy, double-sized, | ||
| {{page> | {{page> | ||
| Line 36: | Line 22: | ||
| AL = sectors per cluster (allocation unit) | AL = sectors per cluster (allocation unit) | ||
| - | | + | CX = bytes per sector |
| - | DX = total number of clusters | + | DX = total number of clusters |
| - | DS:BX -> media ID byte (see #01356) | + | DS:BX -> media ID byte (see #01356) |
| ===== Notes ===== | ===== Notes ===== | ||
| - | under DOS 1.x, DS:BX points at an actual copy of the FAT; later | + | under DOS 1.x, DS:BX points at an actual copy of the FAT; later versions return a pointer to a copy of the FAT's ID byte |
| - | | + | |
| - | this function may not be properly supported on CD-ROMs and other | + | this function may not be properly supported on CD-ROMs and other installable file systems (use AX=4402h" |
| - | | + | |
| - | | + | BUG: DOS 7.10 (Win95B/ |
| - | BUG: DOS 7.10 (Win95B/ | + | |
| - | | + | Values for media ID byte: |
| - | | + | |
| - | | + | | FFh | floppy, double-sided, |
| + | | FEh | floppy, single-sided, | ||
| + | | FDh | floppy, double-sided, | ||
| + | | FCh | floppy, single-sided, | ||
| + | | FAh | HP 200LX D: ROM disk, 16 sectors per track (995K) HP 200LX E: (Stacker host drive ???) | | ||
| + | | F9h | floppy, double-sided, | ||
| + | | F8h | hard disk | | ||
| + | | F0h | other media (e.g. floppy, double-sized, | ||
| | | ||
| ===== See also ===== | ===== See also ===== | ||
| - | AH=1Ch, | + | AH=[[en: |
| ===== Note ===== | ===== Note ===== | ||




