Exemplo n.º 1
0
 /// <summary>
 /// Gets the IO port.
 /// </summary>
 /// <param name="region">The region.</param>
 /// <param name="index">The index.</param>
 /// <returns></returns>
 public BaseIOPortRead GetIOPortRead(byte region, ushort index)
 {
     return(HAL.GetReadIOPort((ushort)(ioPortRegions[region].BaseIOPort + index)));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Gets the IO port.
 /// </summary>
 /// <param name="index">The region.</param>
 /// <param name="offset">The index.</param>
 /// <returns></returns>
 public BaseIOPortRead GetIOPortRead(byte index, ushort offset)
 {
     return(HAL.GetReadIOPort((ushort)(ioPortRegions[index].BaseIOPort + offset)));
 }