| 1 | #include "../pico_int.h" |
| 2 | |
| 3 | struct Pico32x Pico32x; |
| 4 | |
| 5 | void Pico32xStartup(void) |
| 6 | { |
| 7 | elprintf(EL_STATUS|EL_32X, "32X startup"); |
| 8 | |
| 9 | PicoAHW |= PAHW_32X; |
| 10 | PicoMemSetup32x(); |
| 11 | |
| 12 | // probably should only done on power |
| 13 | // memset(&Pico32x, 0, sizeof(Pico32x)); |
| 14 | |
| 15 | if (!Pico.m.pal) |
| 16 | Pico32x.vdp_regs[0] |= 0x8000; |
| 17 | |
| 18 | // prefill checksum |
| 19 | Pico32x.regs[0x28/2] = *(unsigned short *)(Pico.rom + 0x18e); |
| 20 | } |
| 21 | |
| 22 | void Pico32xInit(void) |
| 23 | { |
| 24 | // XXX: mv |
| 25 | Pico32x.regs[0] = 0x0082; |
| 26 | } |
| 27 | |
| 28 | void PicoReset32x(void) |
| 29 | { |
| 30 | } |
| 31 | |