u32 value = CPUReadMemory(source);
u32 value = (source>0x0EFFFFFF ? 0x1CAD1CAD : CPUReadMemory(source));
void BIOS_CpuSet(){#ifdef DEV_VERSION  if(systemVerbose & VERBOSE_SWI) {    log("CpuSet: 0x%08x,0x%08x,0x%08x (VCOUNT=%d)\n", reg[0].I, reg[1].I,        reg[2].I, VCOUNT);  }#endif    u32 source = reg[0].I;  u32 dest = reg[1].I;  u32 cnt = reg[2].I;  if(((source & 0xe000000) == 0) ||     ((source + (((cnt << 11)>>9) & 0x1fffff)) & 0xe000000) == 0)    return;  int count = cnt & 0x1FFFFF;  // 32-bit ?  if((cnt >> 26) & 1) {    // needed for 32-bit mode!    source &= 0xFFFFFFFC;    dest &= 0xFFFFFFFC;    // fill ?    if((cnt >> 24) & 1) {      u32 value = CPUReadMemory(source);      while(count) {        CPUWriteMemory(dest, value);        dest += 4;        count--;      }    } else {      // copy      while(count) {        CPUWriteMemory(dest, CPUReadMemory(source));        source += 4;        dest += 4;        count--;      }    }  } else {    // 16-bit fill?    if((cnt >> 24) & 1) {      u16 value = CPUReadHalfWord(source);      while(count) {        CPUWriteHalfWord(dest, value);        dest += 2;        count--;      }    } else {      // copy      while(count) {        CPUWriteHalfWord(dest, CPUReadHalfWord(source));        source += 2;        dest += 2;        count--;      }    }  }}