2021-07-04 17:40:39 +02:00
|
|
|
/*
|
2023-01-06 15:36:05 -05:00
|
|
|
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
|
|
|
|
* running old operating systems and software designed for IBM
|
|
|
|
|
* PC systems and compatibles from 1981 through fairly recent
|
|
|
|
|
* system designs based on the PCI bus.
|
2021-07-04 17:40:39 +02:00
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* This file is part of the 86Box distribution.
|
2021-07-04 17:40:39 +02:00
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* Header for the implementation of Port 6x used by various
|
|
|
|
|
* machines.
|
2021-07-04 17:40:39 +02:00
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* Authors: Miran Grca, <mgrca8@gmail.com>
|
2021-07-04 17:40:39 +02:00
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* Copyright 2021 Miran Grca.
|
2021-07-04 17:40:39 +02:00
|
|
|
*/
|
2022-02-18 19:42:21 -05:00
|
|
|
|
2021-07-04 17:40:39 +02:00
|
|
|
#ifndef EMU_PORT_6X_H
|
2022-09-18 17:15:38 -04:00
|
|
|
#define EMU_PORT_6X_H
|
2021-07-04 17:40:39 +02:00
|
|
|
|
|
|
|
|
#ifdef _TIMER_H_
|
2023-06-28 13:46:28 -04:00
|
|
|
typedef struct port_6x_t {
|
2023-06-26 12:47:04 -04:00
|
|
|
uint8_t refresh;
|
|
|
|
|
uint8_t flags;
|
2021-07-04 17:40:39 +02:00
|
|
|
|
2022-09-18 17:15:38 -04:00
|
|
|
pc_timer_t refresh_timer;
|
2021-07-04 17:40:39 +02:00
|
|
|
} port_6x_t;
|
|
|
|
|
#endif
|
|
|
|
|
|
2022-09-18 17:15:38 -04:00
|
|
|
extern const device_t port_6x_device;
|
|
|
|
|
extern const device_t port_6x_xi8088_device;
|
|
|
|
|
extern const device_t port_6x_ps2_device;
|
|
|
|
|
extern const device_t port_6x_olivetti_device;
|
2021-07-04 17:40:39 +02:00
|
|
|
|
2022-09-18 17:15:38 -04:00
|
|
|
#endif /*EMU_PORT_6X_H*/
|