src/mess/drivers/jaguar.c
| r9962 | r9963 | |
| 93 | 93 | * Global variables |
| 94 | 94 | * |
| 95 | 95 | *************************************/ |
| 96 | | |
| 96 | #ifdef MESS |
| 97 | 97 | UINT32 *jaguar_shared_ram; |
| 98 | 98 | UINT32 *jaguar_gpu_ram; |
| 99 | 99 | UINT32 *jaguar_gpu_clut; |
| 100 | 100 | UINT32 *jaguar_dsp_ram; |
| 101 | 101 | UINT32 *jaguar_wave_rom; |
| 102 | 102 | UINT8 cojag_is_r3000 = FALSE; |
| 103 | #else |
| 104 | extern UINT32 *jaguar_shared_ram; |
| 105 | extern UINT32 *jaguar_gpu_ram; |
| 106 | extern UINT32 *jaguar_gpu_clut; |
| 107 | extern UINT32 *jaguar_dsp_ram; |
| 108 | extern UINT32 *jaguar_wave_rom; |
| 109 | extern UINT8 cojag_is_r3000; |
| 110 | #endif |
| 103 | 111 | |
| 104 | 112 | |
| 105 | 113 | |
src/mess/drivers/saturn.c
| r9962 | r9963 | |
| 190 | 190 | |
| 191 | 191 | /**************************************************************************************/ |
| 192 | 192 | /*to be added into a stv Header file,remember to remove all the static...*/ |
| 193 | #ifdef MESS |
| 194 | UINT32* stv_workram_l; |
| 195 | UINT32* stv_workram_h; |
| 196 | int stv_enable_slave_sh2; |
| 197 | int minit_boost,sinit_boost; |
| 198 | attotime minit_boost_timeslice, sinit_boost_timeslice; |
| 199 | #else |
| 200 | extern UINT32* stv_workram_l; |
| 201 | extern UINT32* stv_workram_h; |
| 202 | extern int stv_enable_slave_sh2; |
| 203 | extern int minit_boost,sinit_boost; |
| 204 | extern attotime minit_boost_timeslice, sinit_boost_timeslice; |
| 205 | #endif |
| 193 | 206 | |
| 194 | 207 | static UINT8 *smpc_ram; |
| 195 | 208 | //static void stv_dump_ram(void); |
| 196 | 209 | |
| 197 | | UINT32* stv_workram_l; |
| 198 | | UINT32* stv_workram_h; |
| 199 | 210 | //UINT32* stv_backupram; |
| 200 | 211 | static UINT16* scsp_regs; |
| 201 | 212 | static UINT16* sound_ram; |
| r9962 | r9963 | |
| 203 | 214 | static int saturn_region; |
| 204 | 215 | |
| 205 | 216 | extern int stv_vblank,stv_hblank; |
| 206 | | int stv_enable_slave_sh2; |
| 207 | 217 | /*SMPC stuff*/ |
| 208 | 218 | static UINT8 NMI_reset; |
| 209 | 219 | static void system_reset(void); |
| r9962 | r9963 | |
| 252 | 262 | static void dma_indirect_lv1(address_space *space); /*DMA level 1 indirect transfer function*/ |
| 253 | 263 | static void dma_indirect_lv2(address_space *space); /*DMA level 2 indirect transfer function*/ |
| 254 | 264 | |
| 255 | | |
| 256 | | int minit_boost,sinit_boost; |
| 257 | | attotime minit_boost_timeslice, sinit_boost_timeslice; |
| 258 | | |
| 259 | 265 | //static int scanline; |
| 260 | 266 | |
| 261 | 267 | /*A-Bus IRQ checks,where they could be located these?*/ |