ReactOS
0.4.16-dev-21-g2af6fd4
fdc.h
Go to the documentation of this file.
1
/*
2
* PROJECT: NEC PC-98 series onboard hardware
3
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4
* PURPOSE: NEC uPD765A FDC header file
5
* COPYRIGHT: Copyright 2020 Dmitry Borisov (di.sean@protonmail.com)
6
*/
7
8
#pragma once
9
10
#define FDC1_IO_BASE 0x90
11
#define FDC2_IO_BASE 0xC8
12
13
#define FDC_IO_o_MODE_SWITCH 0xBE
14
#define FDC_IO_o_EMODE_SWITCH 0x4BE
15
#define FDC_IO_i_MODE 0xBE
16
#define FDC_IO_i_EMODE 0x4BE
17
18
/*
19
* FDC registers offsets
20
*/
21
#define FDC_o_DATA 0x02
22
#define FDC_o_CONTROL 0x04
23
24
#define FDC_i_STATUS 0x00
25
#define FDC_i_DATA 0x02
26
#define FDC_i_READ_SWITCH 0x04
sdk
include
reactos
drivers
pc98
fdc.h
Generated on Sun Sep 15 2024 06:12:06 for ReactOS by
1.9.6