Example #1
0
 public static void WriteData(LPTport port, int value)
 {
     if (IsLPTX64)
     {
         Out32_x64((short)(port), (short)value);
     }
     else
     {
         Out32((short)(port), (short)value);
     }
 }
Example #2
0
 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);
     }
 }
Example #3
0
 public OPLXLPT(OPLType type, LPTport port)
 {
     this.type = type;
     this.port = port;
     Init(0);
 }