FAME integration finished, some adjustments of CPU core stuff

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@278 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-10-22 20:38:41 +00:00
parent 9112b6ce9f
commit 3aa1e148a2
18 changed files with 398 additions and 8706 deletions

View file

@ -125,21 +125,6 @@ typedef union
signed int SD;
} famec_union32;
/* The memory blocks must be in native (Motorola) format */
struct M68K_PROGRAM {
unsigned low_addr;
unsigned high_addr;
unsigned offset;
};
/* The memory blocks must be in native (Motorola) format */
struct M68K_DATA {
unsigned low_addr;
unsigned high_addr;
void *mem_handler;
void *data;
};
/* M68K CPU CONTEXT */
typedef struct
{

View file

@ -626,35 +626,6 @@ static const s32 exception_cycle_table[256] =
};
/********************/
/* helper functions */
/********************/
#if 0
static void famec_SetFetch(u32 low_adr, u32 high_adr, u32 fetch_adr)
{
u32 i, j;
i = (low_adr >> M68K_FETCHSFT) & M68K_FETCHMASK;
j = (high_adr >> M68K_FETCHSFT) & M68K_FETCHMASK;
while (i <= j)
g_m68kcontext->Fetch[i++] = fetch_adr;
}
static void famec_SetBanks(void)
{
u32 i=0;
while(m68kcontext.fetch[i].low_addr != (u32)-1)
{
famec_SetFetch(m68kcontext.fetch[i].low_addr,m68kcontext.fetch[i].high_addr,m68kcontext.fetch[i].offset);
i++;
}
}
#endif
/***********************/
/* core main functions */
/***********************/