2012-11-25 00:17:31 +00:00
|
|
|
#ifndef _PCE_H
|
2014-04-20 21:05:37 +00:00
|
|
|
#define _PCE_H
|
2012-11-25 00:17:31 +00:00
|
|
|
|
2020-10-04 14:43:04 +00:00
|
|
|
#include <boolean.h>
|
2012-11-25 00:17:31 +00:00
|
|
|
#include "../mednafen-types.h"
|
|
|
|
|
|
|
|
#define PCE_MASTER_CLOCK 21477272.727273
|
|
|
|
|
|
|
|
#define DECLFR(x) uint8 MDFN_FASTCALL x (uint32 A)
|
|
|
|
#define DECLFW(x) void MDFN_FASTCALL x (uint32 A, uint8 V)
|
|
|
|
|
2015-07-23 18:03:21 +00:00
|
|
|
extern uint8 ROMSpace[0x88 * 8192 + 8192];
|
2012-11-25 00:17:31 +00:00
|
|
|
|
2015-07-23 18:03:21 +00:00
|
|
|
typedef void (MDFN_FASTCALL *writefunc)(uint32 A, uint8 V);
|
|
|
|
typedef uint8 (MDFN_FASTCALL *readfunc)(uint32 A);
|
2012-11-25 00:17:31 +00:00
|
|
|
|
2015-07-23 18:03:21 +00:00
|
|
|
extern uint8 PCEIODataBuffer;
|
2012-11-25 00:17:31 +00:00
|
|
|
|
2015-07-23 18:03:21 +00:00
|
|
|
bool PCE_InitCD(void) MDFN_COLD;
|
2012-11-25 00:17:31 +00:00
|
|
|
|
2015-07-23 18:03:21 +00:00
|
|
|
extern bool PCE_ACEnabled; // Arcade Card emulation enabled?
|
|
|
|
void PCE_Power(void) MDFN_COLD;
|
2012-11-25 00:17:31 +00:00
|
|
|
|
2015-07-23 18:03:21 +00:00
|
|
|
extern uint8 BaseRAM[32768 + 8192];
|
2012-11-25 00:17:31 +00:00
|
|
|
|
2020-10-04 14:43:04 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" int pce_overclocked;
|
|
|
|
#else
|
|
|
|
extern int pce_overclocked;
|
|
|
|
#endif
|
|
|
|
|
2012-11-25 00:17:31 +00:00
|
|
|
#endif
|