f53f286a |
1 | |
f53f286a |
2 | /* svp */ |
48302a8a |
3 | #include "../pico_types.h" |
f8ef8ff7 |
4 | #include "svp/ssp16.h" |
5 | |
6 | typedef struct { |
5de27868 |
7 | unsigned char iram_rom[0x20000]; // IRAM (0-0x7ff) and program ROM (0x800-0x1ffff) |
8 | unsigned char dram[0x20000]; |
f8ef8ff7 |
9 | ssp1601_t ssp1601; |
10 | } svp_t; |
11 | |
12 | extern svp_t *svp; |
13 | |
f53f286a |
14 | void PicoSVPInit(void); |
e807ac75 |
15 | void PicoSVPStartup(void); |
45f2f245 |
16 | void PicoSVPMemSetup(void); |
f8ef8ff7 |
17 | |
8b9dbcde |
18 | /* standard/ssf2 mapper */ |
19 | extern int carthw_ssf2_active; |
20 | extern unsigned char carthw_ssf2_banks[8]; |
000f5335 |
21 | void carthw_ssf2_startup(void); |
48302a8a |
22 | void carthw_ssf2_write8(u32 a, u32 d); |
5521edad |
23 | void carthw_ssf2_write16(u32 a, u32 d); |
8b9dbcde |
24 | |
25 | /* misc */ |
45f2f245 |
26 | void carthw_Xin1_startup(void); |
a12b1b29 |
27 | void carthw_realtec_startup(void); |
0b35350d |
28 | void carthw_radica_startup(void); |
30f0fdd4 |
29 | void carthw_pier_startup(void); |
b7697ca3 |
30 | void carthw_sf001_startup(void); |
31 | void carthw_sf002_startup(void); |
32 | void carthw_sf004_startup(void); |
000f5335 |
33 | |
fe9a06d2 |
34 | void carthw_flash_startup(void); |
000f5335 |
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 | |
e1e8ca17 |
39 | void carthw_lk3_startup(void); |
40 | void carthw_smw64_startup(void); |
99bd61f8 |
41 | |
42 | void carthw_jcart_startup(void); |