notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
svp is working!!!
[picodrive.git]
/
Pico
/
carthw
/
svp
/
svp.c
diff --git
a/Pico/carthw/svp/svp.c
b/Pico/carthw/svp/svp.c
index
444a4c9
..
31a81b7
100644
(file)
--- a/
Pico/carthw/svp/svp.c
+++ b/
Pico/carthw/svp/svp.c
@@
-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);
// 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;
}
*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;
}
return 0;
}