32x: drc: handlers wip

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@826 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-10-26 11:16:19 +00:00
parent c18edb34e6
commit 80599a42db
10 changed files with 830 additions and 116 deletions

View file

@ -13,7 +13,7 @@ amalgamate = 0
#profile = 1
#use_musashi = 1
use_sh2drc = 1
drc_debug = 1
#drc_debug = 3
-include Makefile.local

View file

@ -3,7 +3,7 @@ use_musashi = 1
#use_fame = 1
#use_mz80 = 1
use_sh2drc = 1
drc_debug = 1
#drc_debug = 3
#profile = 1
#fake_in_gp2x = 1
@ -140,6 +140,7 @@ mkdirs:
include ../common/revision.mak
pico/carthw/svp/compiler.o : ../../cpu/drc/emit_arm.c
cpu/sh2/compiler.o : ../../cpu/drc/emit_x86.c
pico/pico.o pico/cd/pico.o : ../../pico/pico_cmn.c ../../pico/pico_int.h
pico/memory.o pico/cd/memory.o : ../../pico/pico_int.h ../../pico/memory.h

View file

@ -170,7 +170,7 @@ void host_dasm(void *addr, int len)
vma_end = vma + len;
while (vma < vma_end) {
printf(" %p ", (void *)(long)vma);
printf(" %p ", (void *)(long)vma);
vma += print_insn_func(vma, &di);
printf("\n");
}

View file

@ -26,9 +26,8 @@
#define SIMPLE_WRITE_SOUND 0
#define mix_32_to_16l_stereo_lvl mix_32_to_16l_stereo
#define EL_LOGMASK (EL_ANOMALY|EL_STATUS|EL_UIO|EL_IDLE|EL_32X)
// EL_VDPDMA|EL_ASVDP|EL_SR) // |EL_BUSREQ|EL_Z80BNK)
//#define EL_LOGMASK (EL_ANOMALY|EL_STATUS)
#define EL_LOGMASK (EL_STATUS|EL_ANOMALY|EL_UIO|EL_IDLE)
// EL_VDPDMA|EL_ASVDP|EL_SR | EL_BUSREQ|EL_Z80BNK | EL_32X)
//#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__)
#define dprintf(x...)