예제 #1
0
 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));
 }
예제 #2
0
 private static void HardwareCommand(CRT_Indices index, byte value)
 {
     IO.WriteByte(CRT_index_register, (byte)index);
     IO.WriteByte(CRT_data_register, (byte)value);
 }
예제 #3
0
 private static int HardwareCommand(CRT_Indices index)
 {
     IO.WriteByte(CRT_index_register, (byte)index);
     return(IO.ReadByte(CRT_data_register));
 }
예제 #4
0
파일: TextMode.cs 프로젝트: sharpos/SharpOS
		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));
		}
예제 #5
0
파일: TextMode.cs 프로젝트: sharpos/SharpOS
		private static void HardwareCommand (CRT_Indices index, byte value)
		{
			IO.WriteByte (CRT_index_register, (byte) index);
			IO.WriteByte (CRT_data_register, (byte) value);
		}
예제 #6
0
파일: TextMode.cs 프로젝트: sharpos/SharpOS
		private static int HardwareCommand (CRT_Indices index)
		{
			IO.WriteByte (CRT_index_register, (byte) index);
			return IO.ReadByte (CRT_data_register);
		}