Annotation of coherent/d/bin/dos/bpb.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * bpb.h
                      3:  * BIOS parameter block (BPB).
                      4:  * Cf. Duncan, p. 164.
                      5:  * Cf. "Norton Disk Companion", pp. 143-144, for DOS 3.3 and later.
                      6:  */
                      7: #define        BPBOFF  0x0B                    /* Offset of BPB in boot sector */
                      8: #ifdef _I386
                      9: #pragma align 1
                     10: #endif
                     11: typedef        struct  bpb {
                     12:        unsigned short  b_ssize;        /* Bytes per sector             */
                     13:        unsigned char   b_clsize;       /* Sectors per cluster          */
                     14:        unsigned short  b_reserved;     /* Reserved sectors, from 0     */
                     15:        unsigned char   b_fats;         /* FATs                         */
                     16:        unsigned short  b_files;        /* Root directory file entries  */
                     17:        unsigned short  b_sectors;      /* Sectors                      */
                     18:        unsigned char   b_media;        /* Media descriptor             */
                     19:        unsigned short  b_fatsize;      /* Sectors per FAT              */
                     20:        unsigned short  b_tracks;       /* Sectors per track            */
                     21:        unsigned short  b_heads;        /* Heads                        */
                     22:        unsigned short  b_hidden;       /* Hidden sectors               */
                     23:        /* The following items are for DOS 3.3 and later only. */
                     24:        unsigned short  b_hidden2;      /* Hidden sectors, second word  */
                     25:        unsigned long   b_bigsectors;   /* Big sectors                  */
                     26:        unsigned char   b_driveno;      /* Physical drive number        */
                     27:        unsigned char   b_info[26];     /* More information...          */
                     28: } BPB;
                     29: #ifdef _I386
                     30: #pragma align 
                     31: #endif
                     32: /* end of bpb.h */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.