Change license from GPLv3 to LGPLv3.
[seabios.git] / src / floppy_dbt.c
1 // Floppy controller parameter table.
2 //
3 // Copyright (C) 2002  MandrakeSoft S.A.
4 //
5 // This file may be distributed under the terms of the GNU LGPLv3 license.
6
7 #include "disk.h" // struct floppy_dbt_s
8
9 // Since no provisions are made for multiple drive types, most
10 // values in this table are ignored.  I set parameters for 1.44M
11 // floppy here
12 struct floppy_dbt_s diskette_param_table __aligned(1) VAR16 = {
13     .specify1       = 0xAF,
14     .specify2       = 0x02, // head load time 0000001, DMA used
15     .shutoff_ticks  = 0x25,
16     .bps_code       = 0x02,
17     .sectors        = 18,
18     .interblock_len = 0x1B,
19     .data_len       = 0xFF,
20     .gap_len        = 0x6C,
21     .fill_byte      = 0xF6,
22     .settle_time    = 0x0F,
23     .startup_time   = 0x08,
24 };