2021-07-29 20:34:55 +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-29 20:34:55 +02:00
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* This file is part of the 86Box distribution.
|
2021-07-29 20:34:55 +02:00
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* Definitions for the PCjr cartridge emulation.
|
2021-07-29 20:34:55 +02:00
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* Authors: Miran Grca, <mgrca8@gmail.com>
|
2021-07-29 20:34:55 +02:00
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* Copyright 2021 Miran Grca.
|
2021-07-29 20:34:55 +02:00
|
|
|
*/
|
|
|
|
|
#ifndef EMU_CARTRIDGE_H
|
2022-09-18 17:15:38 -04:00
|
|
|
#define EMU_CARTRIDGE_H
|
2021-07-29 20:34:55 +02:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2022-09-18 17:15:38 -04:00
|
|
|
extern char cart_fns[2][512];
|
2021-07-29 20:34:55 +02:00
|
|
|
|
2022-09-18 17:15:38 -04:00
|
|
|
extern void cart_load(int drive, char *fn);
|
|
|
|
|
extern void cart_close(int drive);
|
2021-07-29 20:34:55 +02:00
|
|
|
|
2022-09-18 17:15:38 -04:00
|
|
|
extern void cart_reset(void);
|
2021-07-29 20:34:55 +02:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2022-09-18 17:15:38 -04:00
|
|
|
#endif /*EMU_CARTRIDGE_H*/
|