示例#1
0
 /// <summary>
 /// mockable read function
 /// </summary>
 /// <param name="port"></param>
 public virtual int _read(int port)
 {
     return(IOPortFactory.Read(port));
 }
示例#2
0
 /// <summary>
 /// mockable write function
 /// </summary>
 /// <param name="port">die gewünschte Port-Adresse (16 Bit)</param>
 /// <param name="data">das gewünschte Datenbyte</param>
 public virtual void _write(int port, int data)
 {
     IOPortFactory.Write(port, data);
 }