asm code updated, Bass Masters fix

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@330 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-01-26 10:02:50 +00:00
parent 689fb2c089
commit 0ffefdb8bd
13 changed files with 91 additions and 47 deletions

View file

@ -1,6 +1,7 @@
#include "../../PicoInt.h"
svp_t *svp = NULL;
int PicoSVPCycles = 800; // cycles/line
static void PicoSVPReset(void)
{
@ -11,12 +12,12 @@ static void PicoSVPReset(void)
}
static void PicoSVPLine(void)
static void PicoSVPLine(int count)
{
// ???
// OSC_NTSC / 3.0 / 60.0 / 262.0 ~= 1139
// OSC_PAL / 3.0 / 50.0 / 312.0 ~= 1137
ssp1601_run(800);
ssp1601_run(PicoSVPCycles * count);
// test mode
//if (Pico.m.frame_count == 13) PicoPad[0] |= 0xff;