32x: watchdog for Star Wars, SCI IRQs for X-men (also needs idle loop hacks)

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@799 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-10-01 20:53:36 +00:00
parent 236990cf77
commit 1d7a28a723
8 changed files with 167 additions and 54 deletions

View file

@ -1,6 +1,7 @@
#include "../pico_int.h"
#include "../sound/ym2612.h"
SH2 sh2s[2];
struct Pico32x Pico32x;
static void sh2_irq_cb(int id, int level)
@ -51,6 +52,9 @@ void Pico32xStartup(void)
if (!Pico.m.pal)
Pico32x.vdp_regs[0] |= P32XV_nPAL;
PREG8(Pico32xMem->sh2_peri_regs[0], 4) =
PREG8(Pico32xMem->sh2_peri_regs[1], 4) = 0x84; // SCI SSR
emu_32x_startup();
}