More M:Robe 500 work: PCM stopping and pausing roughly works, added some keymaps for the WPS screen, and peakmeter now works properly.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20511 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2009-03-24 16:40:31 +00:00
parent a5501d68cc
commit 2670e3f038
11 changed files with 210 additions and 117 deletions

View file

@ -24,6 +24,7 @@
#include "arm.h"
#include "registers.h"
#include "ipc.h"
#include "dma.h"
volatile struct ipc_message status;
@ -33,7 +34,19 @@ interrupt void handle_int0(void) {
IFR = 1;
acked = 1;
waiting = 0;
rebuffer();
if(dma0_stopped==0)
{
if(!(DMPREC&0x01))
{
DMPREC |= 1;
audiohw_start();
}
else
{
rebuffer();
}
}
}
void startack(void)