| 1 | |
| 2 | /* svp */ |
| 3 | #include "../pico_types.h" |
| 4 | #include "svp/ssp16.h" |
| 5 | |
| 6 | typedef struct { |
| 7 | unsigned char iram_rom[0x20000]; // IRAM (0-0x7ff) and program ROM (0x800-0x1ffff) |
| 8 | unsigned char dram[0x20000]; |
| 9 | ssp1601_t ssp1601; |
| 10 | } svp_t; |
| 11 | |
| 12 | extern svp_t *svp; |
| 13 | |
| 14 | void PicoSVPInit(void); |
| 15 | void PicoSVPStartup(void); |
| 16 | void PicoSVPMemSetup(void); |
| 17 | |
| 18 | /* standard/ssf2 mapper */ |
| 19 | extern int carthw_ssf2_active; |
| 20 | extern unsigned char carthw_ssf2_banks[8]; |
| 21 | void carthw_ssf2_startup(void); |
| 22 | void carthw_ssf2_write8(u32 a, u32 d); |
| 23 | void carthw_ssf2_write16(u32 a, u32 d); |
| 24 | |
| 25 | /* misc */ |
| 26 | void carthw_Xin1_startup(void); |
| 27 | void carthw_realtec_startup(void); |
| 28 | void carthw_radica_startup(void); |
| 29 | void carthw_pier_startup(void); |
| 30 | void carthw_sf001_startup(void); |
| 31 | void carthw_sf002_startup(void); |
| 32 | void carthw_sf004_startup(void); |
| 33 | |
| 34 | void carthw_flash_startup(void); |
| 35 | void carthw_sprot_startup(void); |
| 36 | void carthw_sprot_new_location(unsigned int a, |
| 37 | unsigned int mask, unsigned short val, int is_ro); |
| 38 | |
| 39 | void carthw_lk3_startup(void); |
| 40 | void carthw_smw64_startup(void); |
| 41 | |
| 42 | void carthw_jcart_startup(void); |