void remoteWriteWatch(char *p)
void remoteWriteWatch(char *p, int type)
void remoteWriteWatch(char *p){  u32 address;  int count;  sscanf(p, ",%x,%x#", &address, &count);  fprintf(stderr, "Write watch for %08x %d\n", address, count);  if(address < 0x2000000 || address > 0x3007fff) {    remotePutPacket("E01");    return;  }      if(address > 0x203ffff && address < 0x3000000) {    remotePutPacket("E01");    return;  }    u32 final = address + count;    if(address < 0x2040000 && final > 0x2040000) {    remotePutPacket("E01");    return;  } else if(address < 0x3008000 && final > 0x3008000) {    remotePutPacket("E01");    return;  }  for(int i = 0; i < count; i++) {    if((address >> 24) == 2)      freezeWorkRAM[address & 0x3ffff] = 1;    else      freezeInternalRAM[address & 0x7fff] = 1;    address++;  }      remotePutPacket("OK");}