recognize the MED ssf2 header
[picodrive.git] / pico / debug.h
CommitLineData
9a04536c 1
2char *PDebugMain(void);
266c6afa 3char *PDebug32x(void);
9a04536c 4char *PDebugSpriteList(void);
5void PDebugShowSpriteStats(unsigned short *screen, int stride);
6void PDebugShowPalette(unsigned short *screen, int stride);
7void PDebugShowSprite(unsigned short *screen, int stride, int which);
8void PDebugDumpMem(void);
7b3f44c6 9void PDebugZ80Frame(void);
87b0845f 10void PDebugCPUStep(void);
9a04536c 11
12da51c2 12#if defined(CPU_CMP_R) || defined(CPU_CMP_W) || defined(DRC_CMP)
13enum ctl_byte {
14 CTL_68K_SLAVE = 0x02,
15 CTL_68K_PC = 0x04,
16 CTL_68K_SR = 0x05,
17 CTL_68K_CYCLES = 0x06,
18 CTL_68K_R = 0x10, // .. 0x20
19 CTL_MASTERSLAVE = 0x80,
20 CTL_EA = 0x82,
21 CTL_EAVAL = 0x83,
22 CTL_M68KPC = 0x84,
23 CTL_CYCLES = 0x85,
24 CTL_SH2_R = 0x90, // .. 0xa8
25};
26
27void tl_write(const void *ptr, size_t size);
28void tl_write_uint(unsigned char ctl, unsigned int v);
29int tl_read(void *ptr, size_t size);
30int tl_read_uint(void *ptr);
31#endif