2023-01-07 23:48:45 +01:00
|
|
|
/*
|
2023-08-14 21:23:54 -04: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.
|
2023-01-07 23:48:45 +01:00
|
|
|
*
|
2023-08-14 21:23:54 -04:00
|
|
|
* This file is part of the 86Box distribution.
|
2023-01-07 23:48:45 +01:00
|
|
|
*
|
2023-08-14 21:23:54 -04:00
|
|
|
* Definitions for the common CD-ROM interface controller handler.
|
2023-01-07 23:48:45 +01:00
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*
|
2023-08-14 21:23:54 -04:00
|
|
|
* Authors: TheCollector1995
|
2023-01-07 23:48:45 +01:00
|
|
|
*
|
2023-08-14 21:23:54 -04:00
|
|
|
* Copyright 2022 TheCollector1995.
|
2023-01-07 23:48:45 +01:00
|
|
|
*/
|
|
|
|
|
#ifndef EMU_CDROM_INTERFACE_H
|
|
|
|
|
#define EMU_CDROM_INTERFACE_H
|
|
|
|
|
|
|
|
|
|
extern int cdrom_interface_current;
|
|
|
|
|
|
|
|
|
|
extern void cdrom_interface_reset(void);
|
|
|
|
|
|
2025-01-28 16:26:28 +01:00
|
|
|
const char *cdrom_interface_get_internal_name(const int cdinterface);
|
|
|
|
|
extern int cdrom_interface_get_from_internal_name(const char *s);
|
|
|
|
|
#ifdef EMU_DEVICE_H
|
|
|
|
|
extern const device_t *cdrom_interface_get_device(const int cdinterface);
|
|
|
|
|
#endif
|
|
|
|
|
extern int cdrom_interface_has_config(const int cdinterface);
|
|
|
|
|
extern int cdrom_interface_get_flags(const int cdinterface);
|
|
|
|
|
extern int cdrom_interface_available(const int cdinterface);
|
2023-01-07 23:48:45 +01:00
|
|
|
|
|
|
|
|
#endif /*EMU_CDROM_INTERFACE_H*/
|