X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcarthw%2Fsvp%2Fcompiler.h;h=f2d51febb54ff6b99e4592df12f90712c4ff319a;hb=67c81ee2e41f86851aeb221aed911980c07274bf;hp=e2dcdb78b714d6c7458c4afc04d73003ed4f895b;hpb=f5d1115ffc2e9e39e7431381e6a3f367b1252a32;p=picodrive.git diff --git a/Pico/carthw/svp/compiler.h b/Pico/carthw/svp/compiler.h index e2dcdb7..f2d51fe 100644 --- a/Pico/carthw/svp/compiler.h +++ b/Pico/carthw/svp/compiler.h @@ -1,6 +1,12 @@ -#define TCACHE_SIZE (1024*1024) +#define SSP_TCACHE_SIZE (512*1024) +#define SSP_BLOCKTAB_SIZE (0x5090/2*4) +#define SSP_BLOCKTAB_IRAM_SIZE (15*0x800/2*4) +#define SSP_BLOCKTAB_ALIGN_SIZE 3808 +#define SSP_DRC_SIZE (SSP_TCACHE_SIZE + SSP_BLOCKTAB_SIZE + SSP_BLOCKTAB_IRAM_SIZE + SSP_BLOCKTAB_ALIGN_SIZE) -extern unsigned int tcache[]; +extern unsigned int tcache[SSP_TCACHE_SIZE/4]; +extern unsigned int *ssp_block_table[0x5090/2]; +extern unsigned int *ssp_block_table_iram[15][0x800/2]; int ssp_drc_entry(int cycles); void ssp_drc_next(void); @@ -9,6 +15,12 @@ void ssp_drc_end(void); void ssp_hle_800(void); void ssp_hle_902(void); +void ssp_hle_07_6d6(void); +void ssp_hle_07_030(void); +void ssp_hle_07_036(void); +void ssp_hle_11_12c(void); +void ssp_hle_11_384(void); +void ssp_hle_11_38a(void); int ssp1601_dyn_startup(void); void ssp1601_dyn_reset(ssp1601_t *ssp);