-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfdc.h
52 lines (45 loc) · 1.46 KB
/
fdc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* fdc.h version 1.2 part of the Epspd88 1.4 package
*
* Copyright 1996 Justin Mitchell (madmitch@discordia.org.uk) and friends as Vfloppy.
*
* This version delivered in 2002 by Fred Jan Kraan (fjkraan@xs4all.nl)
*
* Epspd88 is placed under the GNU General Public License in July 2002.
*
* This file is part of Epspd88 2.1.
*
* Epspd88 is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Epspd88 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Epspd88; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
/*
* fdc.h - EPSP codes for fdc commands
*
*/
#define FDC_RESET 0x0D
#define FDC_RESET_M 0x0E
#define FDC_READ 0x77
#define FDC_WRITE 0x78
#define FDC_WRITEHST 0x79
#define FDC_COPY 0x7A
#define FDC_FORMAT 0x7C
#define STANDARD_WRITE 0x00
#define FLUSH_WRITE 0x01
#define SEQUENTIAL_WRITE 0x02
#define FDC_ERR_OK 0x00
#define FDC_ERR_READ 0xFA
#define FDC_ERR_WRITE 0xFB
#define FDC_ERR_SELECT 0xFC
#define FDC_ERR_WRITEP 0xFD