mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
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:
parent
9112b6ce9f
commit
3aa1e148a2
18 changed files with 398 additions and 8706 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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 */
|
||||
/***********************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue