X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Ffame%2Ffamec.c;h=8c71c0799eca80042181938e5264a54055116b65;hb=3aa1e148a28da9b4e10e824984f7b3a4908b1ace;hp=d3cd5397d1a9bb1495e2218541725829cd60ad13;hpb=9112b6ce9fd42ee46adb7e8148e587a7f60e35f4;p=picodrive.git diff --git a/cpu/fame/famec.c b/cpu/fame/famec.c index d3cd539..8c71c07 100644 --- a/cpu/fame/famec.c +++ b/cpu/fame/famec.c @@ -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 */ /***********************/