ReactOS 0.4.16-dev-306-g647d351
sysport.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: Intel 8255A PPI header file
5 * COPYRIGHT: Copyright 2020 Dmitry Borisov (di.sean@protonmail.com)
6 */
7
8#pragma once
9
10#define PPI_IO_o_PORT_C 0x35
11
12#define PPI_IO_o_CONTROL 0x37
13 #define PPI_TIMER_1_GATE_TO_SPEAKER 0x06
14 #define PPI_TIMER_1_UNGATE_TO_SPEAKER 0x07
15 #define PPI_SHUTDOWN_1_ENABLE 0x0B
16 #define PPI_SHUTDOWN_0_ENABLE 0x0F
17
18#define PPI_IO_i_PORT_A 0x31
19#define PPI_IO_i_PORT_B 0x33
20#define PPI_IO_i_PORT_C 0x35
21
23{
24 struct
25 {
34 };
37
39{
40 struct
41 {
43
44 /* NMI */
47
53 };
54 UCHAR Bits;
56
58{
59 struct
60 {
69 };
union _SYSTEM_CONTROL_PORT_B_REGISTER * PSYSTEM_CONTROL_PORT_B_REGISTER
union _SYSTEM_CONTROL_PORT_B_REGISTER SYSTEM_CONTROL_PORT_B_REGISTER
union _SYSTEM_CONTROL_PORT_A_REGISTER * PSYSTEM_CONTROL_PORT_A_REGISTER
union _SYSTEM_CONTROL_PORT_C_REGISTER SYSTEM_CONTROL_PORT_C_REGISTER
union _SYSTEM_CONTROL_PORT_C_REGISTER * PSYSTEM_CONTROL_PORT_C_REGISTER
union _SYSTEM_CONTROL_PORT_A_REGISTER SYSTEM_CONTROL_PORT_A_REGISTER
unsigned char UCHAR
Definition: xmlstorage.h:181