mirror of
https://github.com/libretro/Mu.git
synced 2026-07-24 17:44:28 +00:00
29 lines
650 B
C
29 lines
650 B
C
#ifndef CPU_HEADER
|
|
#define CPU_HEADER
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "testSuite.h"
|
|
|
|
#define CPU_NONE 0x00/*only if in emulator with special features enabled, returned for physical cpu in emulator*/
|
|
#define CPU_M68K 0x01
|
|
#define CPU_ARM 0x02
|
|
#define CPU_BOTH (CPU_M68K | CPU_ARM)
|
|
#define CPU_TYPES 0x0F
|
|
|
|
#define CPU_M68K_328 0x10
|
|
#define CPU_M68K_EZ 0x20
|
|
#define CPU_M68K_VZ 0x40
|
|
#define CPU_M68K_SZ 0x80
|
|
#define CPU_M68K_TYPES 0xF0
|
|
|
|
void turnInterruptsOff();
|
|
void turnInterruptsOn();
|
|
uint8_t getPhysicalCpuType();
|
|
uint8_t getSupportedInstructionSets();
|
|
const char* getCpuString();
|
|
var enterUnsafeMode();
|
|
var exitUnsafeMode();
|
|
|
|
#endif
|