svp. does some output now

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@324 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-01-22 18:59:24 +00:00
parent 30752975e0
commit d26dc685a4
6 changed files with 170 additions and 70 deletions

View file

@ -17,6 +17,11 @@ static void PicoSVPLine(void)
// OSC_NTSC / 3.0 / 60.0 / 262.0 ~= 1139
// OSC_PAL / 3.0 / 50.0 / 312.0 ~= 1137
ssp1601_run(800);
// test mode
//if (Pico.m.frame_count == 13) PicoPad[0] |= 0xff;
// pushing start
//if (Pico.m.frame_count & 4) PicoPad[0] |= 0x80;
}
@ -31,6 +36,8 @@ static int PicoSVPDma(unsigned int source, int len, unsigned short **srcp, unsig
*limitp = (unsigned short *)(svp->dram + sizeof(svp->dram));
return 1;
}
else
elprintf(EL_VDPDMA|EL_SVP|EL_ANOMALY, "SVP FIXME unhandled DmaSlow from %06x, len=%i", source, len);
return 0;
}