/// <summary>
 /// Gets the IO port.
 /// </summary>
 /// <param name="region">The region.</param>
 /// <param name="index">The index.</param>
 /// <returns></returns>
 public IOPortWrite GetIOPortWrite(byte region, ushort index)
 {
     return(HAL.RequestWriteIOPort((ushort)(ioPortRegions[region].BaseIOPort + index)));
 }