public static void WriteData(LPTport port, int value) { if (IsLPTX64) { Out32_x64((short)(port), (short)value); } else { Out32((short)(port), (short)value); } }
public static void WriteControl(LPTport port, int value) { if (IsLPTX64) { Out32_x64((short)(port + 2), (short)value); //Out32_x64((short)(port + 4), (short)value); } else { Out32((short)(port + 2), (short)value); //Out32((short)(port + 4), (short)value); } }
public OPLXLPT(OPLType type, LPTport port) { this.type = type; this.port = port; Init(0); }