mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -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
|
@ -1,16 +0,0 @@
|
|||
all : a68k.obj
|
||||
|
||||
a68k.obj :
|
||||
cl /DWIN32 /DFASTCALL make68kd.c
|
||||
make68kd a68k.asm a68k_jmp.asm 00
|
||||
nasm -f win32 a68k.asm
|
||||
|
||||
|
||||
clean : tidy
|
||||
del a68k.obj
|
||||
|
||||
tidy :
|
||||
del a68k.asm
|
||||
del a68k_jmp.asm
|
||||
del make68kd.exe
|
||||
del make68kd.obj
|
|
@ -1 +0,0 @@
|
|||
// dave filler file
|
8192
cpu/a68k/make68kd.c
8192
cpu/a68k/make68kd.c
File diff suppressed because it is too large
Load diff
|
@ -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