Files
86Box/src/include/86box/fdc_ext.h

45 lines
1.3 KiB
C
Raw Normal View History

2020-06-16 16:33:36 +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.
2020-06-16 16:33:36 +02:00
*
2023-01-06 15:36:05 -05:00
* This file is part of the 86Box distribution.
2020-06-16 16:33:36 +02:00
*
2023-01-06 15:36:05 -05:00
* Implementation of the NEC uPD-765 and compatible floppy disk
* controller.
2020-06-16 16:33:36 +02:00
*
*
*
2023-01-06 15:36:05 -05:00
* Authors: Sarah Walker, <tommowalker@tommowalker.co.uk>
* Miran Grca, <mgrca8@gmail.com>
* Fred N. van Kempen, <decwiz@yahoo.com>
2020-06-16 16:33:36 +02:00
*
2023-01-06 15:36:05 -05:00
* Copyright 2008-2020 Sarah Walker.
* Copyright 2016-2020 Miran Grca.
* Copyright 2018-2020 Fred N. van Kempen.
2020-06-16 16:33:36 +02:00
*/
#ifndef EMU_FDC_EXT_H
2022-09-18 17:15:38 -04:00
#define EMU_FDC_EXT_H
2020-06-16 16:33:36 +02:00
extern int fdc_type;
/* Controller types. */
2022-09-18 17:15:38 -04:00
#define FDC_INTERNAL 0
2020-06-16 16:33:36 +02:00
extern const device_t fdc_b215_device;
2020-06-16 16:33:36 +02:00
extern const device_t fdc_pii151b_device;
extern const device_t fdc_pii158b_device;
2022-12-21 16:14:59 -05:00
extern const device_t fdc_monster_device;
extern void fdc_card_init(void);
2020-06-16 16:37:48 +02:00
2022-09-18 17:15:38 -04:00
extern char *fdc_card_get_internal_name(int card);
extern int fdc_card_get_from_internal_name(char *s);
extern const device_t *fdc_card_getdevice(int card);
2022-09-18 17:15:38 -04:00
extern int fdc_card_has_config(int card);
extern int fdc_card_available(int card);
2020-06-16 16:33:36 +02:00
2022-09-18 17:15:38 -04:00
#endif /*EMU_FDC_H*/