bugfixes, new config system and messed code for it
[picodrive.git] / Pico / carthw / svp / compiler.h
index 2e4b272..f2d51fe 100644 (file)
@@ -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);