9a04536c |
1 | |
2 | char *PDebugMain(void); |
266c6afa |
3 | char *PDebug32x(void); |
9a04536c |
4 | char *PDebugSpriteList(void); |
5 | void PDebugShowSpriteStats(unsigned short *screen, int stride); |
6 | void PDebugShowPalette(unsigned short *screen, int stride); |
7 | void PDebugShowSprite(unsigned short *screen, int stride, int which); |
8 | void PDebugDumpMem(void); |
7b3f44c6 |
9 | void PDebugZ80Frame(void); |
87b0845f |
10 | void PDebugCPUStep(void); |
9a04536c |
11 | |
12da51c2 |
12 | #if defined(CPU_CMP_R) || defined(CPU_CMP_W) || defined(DRC_CMP) |
13 | enum 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 | |
27 | void tl_write(const void *ptr, size_t size); |
28 | void tl_write_uint(unsigned char ctl, unsigned int v); |
29 | int tl_read(void *ptr, size_t size); |
30 | int tl_read_uint(void *ptr); |
31 | #endif |