private static void HardwareCommand(CRT_Indices index, ushort value) { // high HardwareCommand(index, (byte)((value >> 8) & 0xff)); // low HardwareCommand((CRT_Indices)(index + 1), (byte)(value & 0xff)); }
private static void HardwareCommand(CRT_Indices index, byte value) { IO.WriteByte(CRT_index_register, (byte)index); IO.WriteByte(CRT_data_register, (byte)value); }
private static int HardwareCommand(CRT_Indices index) { IO.WriteByte(CRT_index_register, (byte)index); return(IO.ReadByte(CRT_data_register)); }
private static void HardwareCommand (CRT_Indices index, ushort value) { // high HardwareCommand (index, (byte) ((value >> 8) & 0xff)); // low HardwareCommand ((CRT_Indices) (index + 1), (byte) (value & 0xff)); }
private static void HardwareCommand (CRT_Indices index, byte value) { IO.WriteByte (CRT_index_register, (byte) index); IO.WriteByte (CRT_data_register, (byte) value); }
private static int HardwareCommand (CRT_Indices index) { IO.WriteByte (CRT_index_register, (byte) index); return IO.ReadByte (CRT_data_register); }