32x: some missed code from MAME, minor tweaks
[picodrive.git] / pico / carthw / svp / compiler.h
CommitLineData
1ca2ea4f 1#define SSP_TCACHE_SIZE (512*1024)
2#define SSP_BLOCKTAB_SIZE (0x5090/2*4)
3#define SSP_BLOCKTAB_IRAM_SIZE (15*0x800/2*4)
4#define SSP_BLOCKTAB_ALIGN_SIZE 3808
5#define SSP_DRC_SIZE (SSP_TCACHE_SIZE + SSP_BLOCKTAB_SIZE + SSP_BLOCKTAB_IRAM_SIZE + SSP_BLOCKTAB_ALIGN_SIZE)
e807ac75 6
1ca2ea4f 7extern unsigned int tcache[SSP_TCACHE_SIZE/4];
8extern unsigned int *ssp_block_table[0x5090/2];
9extern unsigned int *ssp_block_table_iram[15][0x800/2];
e807ac75 10
71bb1b7b 11int ssp_drc_entry(int cycles);
12void ssp_drc_next(void);
45883918 13void ssp_drc_next_patch(void);
14void ssp_drc_end(void);
e807ac75 15
d5276282 16void ssp_hle_800(void);
f5d1115f 17void ssp_hle_902(void);
ee9ee9fd 18void ssp_hle_07_6d6(void);
19void ssp_hle_07_030(void);
20void ssp_hle_07_036(void);
21void ssp_hle_11_12c(void);
22void ssp_hle_11_384(void);
23void ssp_hle_11_38a(void);
d5276282 24
e807ac75 25int ssp1601_dyn_startup(void);
26void ssp1601_dyn_reset(ssp1601_t *ssp);
27void ssp1601_dyn_run(int cycles);
28