gp2x+wiz binary support, wiz code wip
[picodrive.git] / pico / carthw / carthw.h
CommitLineData
f53f286a 1
f53f286a 2/* svp */
f8ef8ff7 3#include "svp/ssp16.h"
4
5typedef struct {
5de27868 6 unsigned char iram_rom[0x20000]; // IRAM (0-0x7ff) and program ROM (0x800-0x1ffff)
7 unsigned char dram[0x20000];
f8ef8ff7 8 ssp1601_t ssp1601;
9} svp_t;
10
11extern svp_t *svp;
12
f53f286a 13void PicoSVPInit(void);
e807ac75 14void PicoSVPStartup(void);
f53f286a 15
16unsigned int PicoSVPRead16(unsigned int a, int realsize);
f8ef8ff7 17void PicoSVPWrite8 (unsigned int a, unsigned int d, int realsize);
18void PicoSVPWrite16(unsigned int a, unsigned int d, int realsize);
19
a12b1b29 20/* misc */
757f8dae 21void carthw_12in1_startup(void);
a12b1b29 22void carthw_realtec_startup(void);
0b35350d 23void carthw_radica_startup(void);