blob: dc8ebc0acde023156170f9e0bc59ecc9d8e5c574 [file] [log] [blame]
Kevin O'Connor44c631d2008-03-02 11:24:36 -05001// 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 GPLv3 license.
6
7#include "disk.h" // diskette_param_table
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
12struct floppy_dbt_s diskette_param_table VISIBLE = {
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};