mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@772 be3aeb3a-fb24-0410-a615-afba39da0efa
31 lines
495 B
C
31 lines
495 B
C
#include "../pico_int.h"
|
|
|
|
struct Pico32x Pico32x;
|
|
|
|
void Pico32xStartup(void)
|
|
{
|
|
elprintf(EL_STATUS|EL_32X, "32X startup");
|
|
|
|
PicoAHW |= PAHW_32X;
|
|
PicoMemSetup32x();
|
|
|
|
// probably should only done on power
|
|
// memset(&Pico32x, 0, sizeof(Pico32x));
|
|
|
|
if (!Pico.m.pal)
|
|
Pico32x.vdp_regs[0] |= 0x8000;
|
|
|
|
// prefill checksum
|
|
Pico32x.regs[0x28/2] = *(unsigned short *)(Pico.rom + 0x18e);
|
|
}
|
|
|
|
void Pico32xInit(void)
|
|
{
|
|
// XXX: mv
|
|
Pico32x.regs[0] = 0x0082;
|
|
}
|
|
|
|
void PicoReset32x(void)
|
|
{
|
|
}
|
|
|