Add PLIP network device

This commit is contained in:
RichardG867
2020-10-17 01:31:53 -03:00
parent 0189ff8ea6
commit 123462f1d9
6 changed files with 542 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
#ifndef EMU_LPT_H
# define EMU_LPT_H
typedef struct
{
const char *name;
@@ -58,3 +61,5 @@ extern const lpt_device_t lpt_dac_device;
extern const lpt_device_t lpt_dac_stereo_device;
extern const lpt_device_t dss_device;
#endif /*EMU_LPT_H*/

View File

@@ -0,0 +1,24 @@
/*
* 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.
*
* This file is part of the 86Box distribution.
*
* Definitions for the PLIP parallel port network device.
*
*
*
* Author: RichardG, <richardg867@gmail.com>
* Copyright 2020 RichardG.
*/
#ifndef NET_PLIP_H
# define NET_PLIP_H
# include <86box/device.h>
# include <86box/lpt.h>
extern const lpt_device_t lpt_plip_device;
extern const device_t plip_device;
#endif /*NET_PLIP_H*/

View File

@@ -101,6 +101,7 @@ extern "C" {
/* Global variables. */
extern int nic_do_log; /* config */
extern int network_ndev;
extern int network_rx_pause;
extern netdev_t network_devs[32];