OpenCores
URL https://opencores.org/ocsvn/thor/thor/trunk

Subversion Repositories thor

[/] [thor/] [trunk/] [software/] [emuThor/] [source/] [frmKeyboard.h] - Diff between revs 32 and 35

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 32 Rev 35
Line 1160... Line 1160...
                                 keybd_status = 0x80;
                                 keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
                                 mut->ReleaseMutex();
                                 mut->ReleaseMutex();
                         }
                         }
private: System::Void btnEnter_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnEnter_Click(System::Object^  sender, System::EventArgs^  e) {
 
                 mut->WaitOne();
                         system1.keybd.Put(0x5A);
                         system1.keybd.Put(0x5A);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x5A);
                         system1.keybd.Put(0x5A);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnRshift_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnRshift_Click(System::Object^  sender, System::EventArgs^  e) {
                         static bool sh = false;
                         static bool sh = false;
 
 
 
                 mut->WaitOne();
                         if (sh!=0)
                         if (sh!=0)
                             system1.keybd.Put(0xF0);
                             system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x59);
                         system1.keybd.Put(0x59);
                         sh = !sh;
                         sh = !sh;
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btn1_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btn1_Click(System::Object^  sender, System::EventArgs^  e) {
 
                 mut->WaitOne();
                         system1.keybd.Put(0x16);
                         system1.keybd.Put(0x16);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x16);
                         system1.keybd.Put(0x16);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnD_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnD_Click(System::Object^  sender, System::EventArgs^  e) {
                         mut->WaitOne();
                         mut->WaitOne();
                         system1.keybd.Put(0x23);
                         system1.keybd.Put(0x23);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
Line 1193... Line 1199...
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
                         mut->ReleaseMutex();
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnB_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnB_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x32);
                         system1.keybd.Put(0x32);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x32);
                         system1.keybd.Put(0x32);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnG_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnG_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x34);
                         system1.keybd.Put(0x34);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x34);
                         system1.keybd.Put(0x34);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnQ_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnQ_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x15);
                         system1.keybd.Put(0x15);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x15);
                         system1.keybd.Put(0x15);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnT_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnT_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x2C);
                         system1.keybd.Put(0x2C);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x2C);
                         system1.keybd.Put(0x2C);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnS_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnS_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x1B);
                         system1.keybd.Put(0x1B);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x1B);
                         system1.keybd.Put(0x1B);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnM_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnM_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x3A);
                         system1.keybd.Put(0x3A);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x3A);
                         system1.keybd.Put(0x3A);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnMinus_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnMinus_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x4E);
                         system1.keybd.Put(0x4E);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x4E);
                         system1.keybd.Put(0x4E);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnBackspace_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnBackspace_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x66);
                         system1.keybd.Put(0x66);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x66);
                         system1.keybd.Put(0x66);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void button14_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button14_Click(System::Object^  sender, System::EventArgs^  e) {
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0x71);
                         system1.keybd.Put(0x71);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x71);
                         system1.keybd.Put(0x71);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnJ_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnJ_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x3B);
                         system1.keybd.Put(0x3B);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x3B);
                         system1.keybd.Put(0x3B);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnSpace_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnSpace_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x29);
                         system1.keybd.Put(0x29);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x29);
                         system1.keybd.Put(0x29);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void button10_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button10_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0x6B);
                         system1.keybd.Put(0x6B);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x6B);
                         system1.keybd.Put(0x6B);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btn2_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btn2_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x1E);
                         system1.keybd.Put(0x1E);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x1E);
                         system1.keybd.Put(0x1E);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btn3_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btn3_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x26);
                         system1.keybd.Put(0x26);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x26);
                         system1.keybd.Put(0x26);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btn4_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btn4_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x25);
                         system1.keybd.Put(0x25);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x25);
                         system1.keybd.Put(0x25);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btn5_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btn5_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x2E);
                         system1.keybd.Put(0x2E);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x2E);
                         system1.keybd.Put(0x2E);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btn6_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btn6_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x36);
                         system1.keybd.Put(0x36);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x36);
                         system1.keybd.Put(0x36);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btn7_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btn7_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x3D);
                         system1.keybd.Put(0x3D);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x3D);
                         system1.keybd.Put(0x3D);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btn8_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btn8_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x3E);
                         system1.keybd.Put(0x3E);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x3E);
                         system1.keybd.Put(0x3E);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btn9_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btn9_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x46);
                         system1.keybd.Put(0x46);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x46);
                         system1.keybd.Put(0x46);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btn0_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btn0_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x45);
                         system1.keybd.Put(0x45);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x45);
                         system1.keybd.Put(0x45);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnA_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnA_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x1C);
                         system1.keybd.Put(0x1C);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x1C);
                         system1.keybd.Put(0x1C);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnC_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnC_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x21);
                         system1.keybd.Put(0x21);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x21);
                         system1.keybd.Put(0x21);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnE_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnE_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x24);
                         system1.keybd.Put(0x24);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x24);
                         system1.keybd.Put(0x24);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnF_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnF_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x2B);
                         system1.keybd.Put(0x2B);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x2B);
                         system1.keybd.Put(0x2B);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnX_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnX_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x22);
                         system1.keybd.Put(0x22);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x22);
                         system1.keybd.Put(0x22);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnRctrl_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnRctrl_Click(System::Object^  sender, System::EventArgs^  e) {
                         static bool sh = false;
                         static bool sh = false;
 
                         mut->WaitOne();
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         if (sh!=0)
                         if (sh!=0)
                             system1.keybd.Put(0xF0);
                             system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x14);
                         system1.keybd.Put(0x14);
                         sh = !sh;
                         sh = !sh;
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void button9_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button9_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x55);
                         system1.keybd.Put(0x55);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x55);
                         system1.keybd.Put(0x55);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void button8_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button8_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x0E);
                         system1.keybd.Put(0x0E);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x0E);
                         system1.keybd.Put(0x0E);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnW_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnW_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x1D);
                         system1.keybd.Put(0x1D);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x1D);
                         system1.keybd.Put(0x1D);
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnR_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnR_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x2D);
                         system1.keybd.Put(0x2D);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x2D);
                         system1.keybd.Put(0x2D);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnY_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnY_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x35);
                         system1.keybd.Put(0x35);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x35);
                         system1.keybd.Put(0x35);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnU_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnU_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x3C);
                         system1.keybd.Put(0x3C);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x3C);
                         system1.keybd.Put(0x3C);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnI_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnI_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x43);
                         system1.keybd.Put(0x43);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x43);
                         system1.keybd.Put(0x43);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnO_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnO_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x44);
                         system1.keybd.Put(0x44);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x44);
                         system1.keybd.Put(0x44);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnP_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnP_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x4D);
                         system1.keybd.Put(0x4D);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x4D);
                         system1.keybd.Put(0x4D);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnH_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnH_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x33);
                         system1.keybd.Put(0x33);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x33);
                         system1.keybd.Put(0x33);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnK_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnK_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x42);
                         system1.keybd.Put(0x42);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x42);
                         system1.keybd.Put(0x42);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnL_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnL_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x4B);
                         system1.keybd.Put(0x4B);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x4B);
                         system1.keybd.Put(0x4B);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void button3_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button3_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x4C);
                         system1.keybd.Put(0x4C);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x4C);
                         system1.keybd.Put(0x4C);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void button4_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button4_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x52);
                         system1.keybd.Put(0x52);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x52);
                         system1.keybd.Put(0x52);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnZ_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnZ_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x1A);
                         system1.keybd.Put(0x1A);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x1A);
                         system1.keybd.Put(0x1A);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnV_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnV_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x2A);
                         system1.keybd.Put(0x2A);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x2A);
                         system1.keybd.Put(0x2A);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnN_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnN_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x31);
                         system1.keybd.Put(0x31);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x31);
                         system1.keybd.Put(0x31);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x41);
                         system1.keybd.Put(0x41);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x41);
                         system1.keybd.Put(0x41);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x49);
                         system1.keybd.Put(0x49);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x49);
                         system1.keybd.Put(0x49);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void button5_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button5_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x5D);
                         system1.keybd.Put(0x5D);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x5D);
                         system1.keybd.Put(0x5D);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void btnLalt_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void btnLalt_Click(System::Object^  sender, System::EventArgs^  e) {
                         static bool sh = false;
                         static bool sh = false;
 
                         mut->WaitOne();
                         if (sh!=0)
                         if (sh!=0)
                             system1.keybd.Put(0xF0);
                             system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x11);
                         system1.keybd.Put(0x11);
                         sh = !sh;
                         sh = !sh;
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
                 // Alt
                 // Alt
private: System::Void button20_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button20_Click(System::Object^  sender, System::EventArgs^  e) {
                         static bool sh = false;
                         static bool sh = false;
 
                         mut->WaitOne();
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         if (sh!=0)
                         if (sh!=0)
                             system1.keybd.Put(0xF0);
                             system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x11);
                         system1.keybd.Put(0x11);
                         sh = !sh;
                         sh = !sh;
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void buttonLctrl_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void buttonLctrl_Click(System::Object^  sender, System::EventArgs^  e) {
                         static bool sh = false;
                         static bool sh = false;
 
                         mut->WaitOne();
                         if (sh!=0)
                         if (sh!=0)
                             system1.keybd.Put(0xF0);
                             system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x14);
                         system1.keybd.Put(0x14);
                         sh = !sh;
                         sh = !sh;
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void button16_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button16_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0x70);
                         system1.keybd.Put(0x70);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x70);
                         system1.keybd.Put(0x70);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
                 // Home
                 // Home
private: System::Void button17_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button17_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0x6C);
                         system1.keybd.Put(0x6C);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x6C);
                         system1.keybd.Put(0x6C);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
                 // End
                 // End
private: System::Void button15_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button15_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0x69);
                         system1.keybd.Put(0x69);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x69);
                         system1.keybd.Put(0x69);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
                 // Cursor down
                 // Cursor down
private: System::Void button11_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button11_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0x72);
                         system1.keybd.Put(0x72);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x72);
                         system1.keybd.Put(0x72);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
                 // Cursor Up
                 // Cursor Up
private: System::Void button13_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button13_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0x75);
                         system1.keybd.Put(0x75);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x75);
                         system1.keybd.Put(0x75);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
                 // Cursor right
                 // Cursor right
private: System::Void button12_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button12_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0x74);
                         system1.keybd.Put(0x74);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x74);
                         system1.keybd.Put(0x74);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
                 // page up
                 // page up
private: System::Void button19_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button19_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0x7D);
                         system1.keybd.Put(0x7D);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x7D);
                         system1.keybd.Put(0x7D);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
                 // page down
                 // page down
private: System::Void button18_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button18_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0x7A);
                         system1.keybd.Put(0x7A);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xE0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x7A);
                         system1.keybd.Put(0x7A);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void button6_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button6_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x54);
                         system1.keybd.Put(0x54);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x54);
                         system1.keybd.Put(0x54);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void button7_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void button7_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x5B);
                         system1.keybd.Put(0x5B);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x5B);
                         system1.keybd.Put(0x5B);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void buttonEsc_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void buttonEsc_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x76);
                         system1.keybd.Put(0x76);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x76);
                         system1.keybd.Put(0x76);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void buttonF1_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void buttonF1_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x05);
                         system1.keybd.Put(0x05);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x05);
                         system1.keybd.Put(0x05);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void buttonF2_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void buttonF2_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x06);
                         system1.keybd.Put(0x06);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x06);
                         system1.keybd.Put(0x06);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void buttonCapslock_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void buttonCapslock_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x58);
                         system1.keybd.Put(0x58);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x58);
                         system1.keybd.Put(0x58);
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
private: System::Void frmKeyboard_MouseUp(System::Object^  sender, System::Windows::Forms::MouseEventArgs^  e) {
private: System::Void frmKeyboard_MouseUp(System::Object^  sender, System::Windows::Forms::MouseEventArgs^  e) {
                 }
                 }
private: System::Void buttonTab_Click(System::Object^  sender, System::EventArgs^  e) {
private: System::Void buttonTab_Click(System::Object^  sender, System::EventArgs^  e) {
 
                         mut->WaitOne();
                         system1.keybd.Put(0x0D);
                         system1.keybd.Put(0x0D);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0xF0);
                         system1.keybd.Put(0x0D);
                         system1.keybd.Put(0x0D);
                         keybd_status = 0x80;
                         keybd_status = 0x80;
                         system1.pic1.irqKeyboard = true;
                         system1.pic1.irqKeyboard = true;
 
                         mut->ReleaseMutex();
                 }
                 }
};
};
}
}
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.