public IOPortResources() { portUsed = new bool[MaxPorts]; for (int p = 0; p < MaxPorts; p++) { portUsed[p] = false; } }