1 |
32 |
robfinch |
#pragma once
|
2 |
35 |
robfinch |
// Allows the user to disable / enable interrupts via the gui.
|
3 |
|
|
// The could be interrupt control on the Form associated with the device
|
4 |
|
|
// but it's more convenient to place all the interrupt related controls
|
5 |
|
|
// on a single form for the user.
|
6 |
|
|
// Timers are used to emulate the hard-wired interrupt clock sources in the
|
7 |
|
|
// test system.
|
8 |
32 |
robfinch |
extern bool irq1024Hz;
|
9 |
|
|
extern bool irq30Hz;
|
10 |
|
|
extern bool irqKeyboard;
|
11 |
|
|
extern bool irqUart;
|
12 |
|
|
extern bool trigger30;
|
13 |
|
|
extern bool trigger1024;
|
14 |
|
|
extern volatile unsigned int interval1024;
|
15 |
|
|
extern volatile unsigned int interval30;
|
16 |
|
|
|
17 |
|
|
namespace emuThor {
|
18 |
|
|
|
19 |
|
|
using namespace System;
|
20 |
|
|
using namespace System::ComponentModel;
|
21 |
|
|
using namespace System::Collections;
|
22 |
|
|
using namespace System::Windows::Forms;
|
23 |
|
|
using namespace System::Data;
|
24 |
|
|
using namespace System::Drawing;
|
25 |
|
|
using namespace System::Threading;
|
26 |
|
|
|
27 |
|
|
/// <summary>
|
28 |
|
|
/// Summary for frmInterrupts
|
29 |
|
|
/// </summary>
|
30 |
|
|
public ref class frmInterrupts : public System::Windows::Forms::Form
|
31 |
|
|
{
|
32 |
|
|
public:
|
33 |
|
|
Mutex^ mut;
|
34 |
|
|
frmInterrupts(Mutex^ m)
|
35 |
|
|
{
|
36 |
|
|
mut = m;
|
37 |
|
|
InitializeComponent();
|
38 |
|
|
//
|
39 |
|
|
//TODO: Add the constructor code here
|
40 |
|
|
//
|
41 |
35 |
robfinch |
UpdateForm();
|
42 |
32 |
robfinch |
}
|
43 |
|
|
frmInterrupts(void)
|
44 |
|
|
{
|
45 |
|
|
InitializeComponent();
|
46 |
|
|
//
|
47 |
|
|
//TODO: Add the constructor code here
|
48 |
|
|
//
|
49 |
|
|
char buf[20];
|
50 |
|
|
|
51 |
|
|
mut->WaitOne();
|
52 |
|
|
system1.pic1.Step();
|
53 |
|
|
trigger30 = false;
|
54 |
|
|
trigger1024 = false;
|
55 |
|
|
checkBox0En->Checked = system1.pic1.enables[0];
|
56 |
|
|
checkBox1En->Checked = system1.pic1.enables[1];
|
57 |
|
|
checkBox2En->Checked = system1.pic1.enables[2];
|
58 |
|
|
checkBox3En->Checked = system1.pic1.enables[3];
|
59 |
|
|
checkBox7En->Checked = system1.pic1.enables[7];
|
60 |
|
|
checkBox1Act->Checked = system1.pic1.irq1024Hz;
|
61 |
|
|
checkBox2Act->Checked = system1.pic1.irq30Hz;
|
62 |
|
|
checkBox3Act->Checked = system1.pic1.irqKeyboard;
|
63 |
|
|
checkBox7Act->Checked = system1.pic1.irqUart;
|
64 |
|
|
checkBoxIRQOut->Checked = system1.pic1.irq;
|
65 |
|
|
sprintf(buf, "%d (%02X)", system1.pic1.vecno, system1.pic1.vecno);
|
66 |
|
|
mut->ReleaseMutex();
|
67 |
|
|
textBoxVecno->Text = gcnew String(buf);
|
68 |
|
|
}
|
69 |
|
|
|
70 |
|
|
protected:
|
71 |
|
|
/// <summary>
|
72 |
|
|
/// Clean up any resources being used.
|
73 |
|
|
/// </summary>
|
74 |
|
|
~frmInterrupts()
|
75 |
|
|
{
|
76 |
|
|
if (components)
|
77 |
|
|
{
|
78 |
|
|
delete components;
|
79 |
|
|
}
|
80 |
|
|
}
|
81 |
|
|
private: System::Windows::Forms::Button^ btnOK;
|
82 |
|
|
protected:
|
83 |
|
|
private: System::Windows::Forms::Label^ label2;
|
84 |
|
|
private: System::Windows::Forms::Label^ label1;
|
85 |
|
|
private: System::Windows::Forms::Button^ btnTrigger30;
|
86 |
|
|
private: System::Windows::Forms::ComboBox^ comboBox30;
|
87 |
|
|
private: System::Windows::Forms::Button^ btnTrigger1024;
|
88 |
|
|
private: System::Windows::Forms::ComboBox^ comboBox1024;
|
89 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox1024;
|
90 |
|
|
private: System::Windows::Forms::CheckBox^ checkBoxKeyboard;
|
91 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox30;
|
92 |
|
|
private: System::Windows::Forms::CheckBox^ checkBoxUart;
|
93 |
|
|
private: System::Windows::Forms::GroupBox^ groupBox1;
|
94 |
|
|
private: System::Windows::Forms::Label^ label6;
|
95 |
|
|
private: System::Windows::Forms::Label^ label5;
|
96 |
|
|
private: System::Windows::Forms::TextBox^ textBoxVecno;
|
97 |
|
|
private: System::Windows::Forms::CheckBox^ checkBoxIRQOut;
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
private: System::Windows::Forms::CheckBox^ checkBoxNMIOut;
|
101 |
|
|
|
102 |
|
|
private: System::Windows::Forms::Label^ label4;
|
103 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox17;
|
104 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox18;
|
105 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox19;
|
106 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox20;
|
107 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox21;
|
108 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox22;
|
109 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox23;
|
110 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox24;
|
111 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox7Act;
|
112 |
|
|
|
113 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox26;
|
114 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox27;
|
115 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox28;
|
116 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox3Act;
|
117 |
|
|
|
118 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox2Act;
|
119 |
|
|
|
120 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox1Act;
|
121 |
|
|
|
122 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox0Act;
|
123 |
|
|
|
124 |
|
|
private: System::Windows::Forms::Label^ label3;
|
125 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox16;
|
126 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox15;
|
127 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox14;
|
128 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox13;
|
129 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox12;
|
130 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox11;
|
131 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox10;
|
132 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox9;
|
133 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox7En;
|
134 |
|
|
|
135 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox7;
|
136 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox6;
|
137 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox4En;
|
138 |
|
|
|
139 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox3En;
|
140 |
|
|
|
141 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox2En;
|
142 |
|
|
|
143 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox1En;
|
144 |
|
|
|
145 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox0En;
|
146 |
35 |
robfinch |
private: System::Windows::Forms::Label^ label7;
|
147 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox1;
|
148 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox2;
|
149 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox3;
|
150 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox4;
|
151 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox5;
|
152 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox8;
|
153 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox25;
|
154 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox29;
|
155 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox7Edge;
|
156 |
32 |
robfinch |
|
157 |
35 |
robfinch |
private: System::Windows::Forms::CheckBox^ checkBox32;
|
158 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox33;
|
159 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox34;
|
160 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox3Edge;
|
161 |
32 |
robfinch |
|
162 |
35 |
robfinch |
private: System::Windows::Forms::CheckBox^ checkBox2Edge;
|
163 |
|
|
|
164 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox1Edge;
|
165 |
|
|
|
166 |
|
|
private: System::Windows::Forms::CheckBox^ checkBox0Edge;
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
32 |
robfinch |
private:
|
171 |
|
|
/// <summary>
|
172 |
|
|
/// Required designer variable.
|
173 |
|
|
/// </summary>
|
174 |
|
|
System::ComponentModel::Container ^components;
|
175 |
|
|
|
176 |
|
|
#pragma region Windows Form Designer generated code
|
177 |
|
|
/// <summary>
|
178 |
|
|
/// Required method for Designer support - do not modify
|
179 |
|
|
/// the contents of this method with the code editor.
|
180 |
|
|
/// </summary>
|
181 |
|
|
void InitializeComponent(void)
|
182 |
|
|
{
|
183 |
|
|
this->btnOK = (gcnew System::Windows::Forms::Button());
|
184 |
|
|
this->label2 = (gcnew System::Windows::Forms::Label());
|
185 |
|
|
this->label1 = (gcnew System::Windows::Forms::Label());
|
186 |
|
|
this->btnTrigger30 = (gcnew System::Windows::Forms::Button());
|
187 |
|
|
this->comboBox30 = (gcnew System::Windows::Forms::ComboBox());
|
188 |
|
|
this->btnTrigger1024 = (gcnew System::Windows::Forms::Button());
|
189 |
|
|
this->comboBox1024 = (gcnew System::Windows::Forms::ComboBox());
|
190 |
|
|
this->checkBox1024 = (gcnew System::Windows::Forms::CheckBox());
|
191 |
|
|
this->checkBoxKeyboard = (gcnew System::Windows::Forms::CheckBox());
|
192 |
|
|
this->checkBox30 = (gcnew System::Windows::Forms::CheckBox());
|
193 |
|
|
this->checkBoxUart = (gcnew System::Windows::Forms::CheckBox());
|
194 |
|
|
this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
|
195 |
35 |
robfinch |
this->label7 = (gcnew System::Windows::Forms::Label());
|
196 |
|
|
this->checkBox1 = (gcnew System::Windows::Forms::CheckBox());
|
197 |
|
|
this->checkBox2 = (gcnew System::Windows::Forms::CheckBox());
|
198 |
|
|
this->checkBox3 = (gcnew System::Windows::Forms::CheckBox());
|
199 |
|
|
this->checkBox4 = (gcnew System::Windows::Forms::CheckBox());
|
200 |
|
|
this->checkBox5 = (gcnew System::Windows::Forms::CheckBox());
|
201 |
|
|
this->checkBox8 = (gcnew System::Windows::Forms::CheckBox());
|
202 |
|
|
this->checkBox25 = (gcnew System::Windows::Forms::CheckBox());
|
203 |
|
|
this->checkBox29 = (gcnew System::Windows::Forms::CheckBox());
|
204 |
|
|
this->checkBox7Edge = (gcnew System::Windows::Forms::CheckBox());
|
205 |
|
|
this->checkBox32 = (gcnew System::Windows::Forms::CheckBox());
|
206 |
|
|
this->checkBox33 = (gcnew System::Windows::Forms::CheckBox());
|
207 |
|
|
this->checkBox34 = (gcnew System::Windows::Forms::CheckBox());
|
208 |
|
|
this->checkBox3Edge = (gcnew System::Windows::Forms::CheckBox());
|
209 |
|
|
this->checkBox2Edge = (gcnew System::Windows::Forms::CheckBox());
|
210 |
|
|
this->checkBox1Edge = (gcnew System::Windows::Forms::CheckBox());
|
211 |
|
|
this->checkBox0Edge = (gcnew System::Windows::Forms::CheckBox());
|
212 |
32 |
robfinch |
this->label6 = (gcnew System::Windows::Forms::Label());
|
213 |
|
|
this->label5 = (gcnew System::Windows::Forms::Label());
|
214 |
|
|
this->textBoxVecno = (gcnew System::Windows::Forms::TextBox());
|
215 |
|
|
this->checkBoxIRQOut = (gcnew System::Windows::Forms::CheckBox());
|
216 |
|
|
this->checkBoxNMIOut = (gcnew System::Windows::Forms::CheckBox());
|
217 |
|
|
this->label4 = (gcnew System::Windows::Forms::Label());
|
218 |
|
|
this->checkBox17 = (gcnew System::Windows::Forms::CheckBox());
|
219 |
|
|
this->checkBox18 = (gcnew System::Windows::Forms::CheckBox());
|
220 |
|
|
this->checkBox19 = (gcnew System::Windows::Forms::CheckBox());
|
221 |
|
|
this->checkBox20 = (gcnew System::Windows::Forms::CheckBox());
|
222 |
|
|
this->checkBox21 = (gcnew System::Windows::Forms::CheckBox());
|
223 |
|
|
this->checkBox22 = (gcnew System::Windows::Forms::CheckBox());
|
224 |
|
|
this->checkBox23 = (gcnew System::Windows::Forms::CheckBox());
|
225 |
|
|
this->checkBox24 = (gcnew System::Windows::Forms::CheckBox());
|
226 |
|
|
this->checkBox7Act = (gcnew System::Windows::Forms::CheckBox());
|
227 |
|
|
this->checkBox26 = (gcnew System::Windows::Forms::CheckBox());
|
228 |
|
|
this->checkBox27 = (gcnew System::Windows::Forms::CheckBox());
|
229 |
|
|
this->checkBox28 = (gcnew System::Windows::Forms::CheckBox());
|
230 |
|
|
this->checkBox3Act = (gcnew System::Windows::Forms::CheckBox());
|
231 |
|
|
this->checkBox2Act = (gcnew System::Windows::Forms::CheckBox());
|
232 |
|
|
this->checkBox1Act = (gcnew System::Windows::Forms::CheckBox());
|
233 |
|
|
this->checkBox0Act = (gcnew System::Windows::Forms::CheckBox());
|
234 |
|
|
this->label3 = (gcnew System::Windows::Forms::Label());
|
235 |
|
|
this->checkBox16 = (gcnew System::Windows::Forms::CheckBox());
|
236 |
|
|
this->checkBox15 = (gcnew System::Windows::Forms::CheckBox());
|
237 |
|
|
this->checkBox14 = (gcnew System::Windows::Forms::CheckBox());
|
238 |
|
|
this->checkBox13 = (gcnew System::Windows::Forms::CheckBox());
|
239 |
|
|
this->checkBox12 = (gcnew System::Windows::Forms::CheckBox());
|
240 |
|
|
this->checkBox11 = (gcnew System::Windows::Forms::CheckBox());
|
241 |
|
|
this->checkBox10 = (gcnew System::Windows::Forms::CheckBox());
|
242 |
|
|
this->checkBox9 = (gcnew System::Windows::Forms::CheckBox());
|
243 |
|
|
this->checkBox7En = (gcnew System::Windows::Forms::CheckBox());
|
244 |
|
|
this->checkBox7 = (gcnew System::Windows::Forms::CheckBox());
|
245 |
|
|
this->checkBox6 = (gcnew System::Windows::Forms::CheckBox());
|
246 |
|
|
this->checkBox4En = (gcnew System::Windows::Forms::CheckBox());
|
247 |
|
|
this->checkBox3En = (gcnew System::Windows::Forms::CheckBox());
|
248 |
|
|
this->checkBox2En = (gcnew System::Windows::Forms::CheckBox());
|
249 |
|
|
this->checkBox1En = (gcnew System::Windows::Forms::CheckBox());
|
250 |
|
|
this->checkBox0En = (gcnew System::Windows::Forms::CheckBox());
|
251 |
|
|
this->groupBox1->SuspendLayout();
|
252 |
|
|
this->SuspendLayout();
|
253 |
|
|
//
|
254 |
|
|
// btnOK
|
255 |
|
|
//
|
256 |
|
|
this->btnOK->DialogResult = System::Windows::Forms::DialogResult::OK;
|
257 |
35 |
robfinch |
this->btnOK->Location = System::Drawing::Point(247, 137);
|
258 |
32 |
robfinch |
this->btnOK->Name = L"btnOK";
|
259 |
|
|
this->btnOK->Size = System::Drawing::Size(75, 23);
|
260 |
|
|
this->btnOK->TabIndex = 19;
|
261 |
|
|
this->btnOK->Text = L"OK";
|
262 |
|
|
this->btnOK->UseVisualStyleBackColor = true;
|
263 |
|
|
this->btnOK->Click += gcnew System::EventHandler(this, &frmInterrupts::btnOK_Click);
|
264 |
|
|
//
|
265 |
|
|
// label2
|
266 |
|
|
//
|
267 |
|
|
this->label2->AutoSize = true;
|
268 |
35 |
robfinch |
this->label2->Location = System::Drawing::Point(107, 43);
|
269 |
32 |
robfinch |
this->label2->Name = L"label2";
|
270 |
|
|
this->label2->Size = System::Drawing::Size(57, 13);
|
271 |
|
|
this->label2->TabIndex = 18;
|
272 |
|
|
this->label2->Text = L"Frequency";
|
273 |
|
|
//
|
274 |
|
|
// label1
|
275 |
|
|
//
|
276 |
|
|
this->label1->AutoSize = true;
|
277 |
35 |
robfinch |
this->label1->Location = System::Drawing::Point(10, 43);
|
278 |
32 |
robfinch |
this->label1->Name = L"label1";
|
279 |
|
|
this->label1->Size = System::Drawing::Size(77, 13);
|
280 |
|
|
this->label1->TabIndex = 17;
|
281 |
|
|
this->label1->Text = L"Source Enable";
|
282 |
|
|
//
|
283 |
|
|
// btnTrigger30
|
284 |
|
|
//
|
285 |
35 |
robfinch |
this->btnTrigger30->Location = System::Drawing::Point(247, 92);
|
286 |
32 |
robfinch |
this->btnTrigger30->Name = L"btnTrigger30";
|
287 |
|
|
this->btnTrigger30->Size = System::Drawing::Size(75, 23);
|
288 |
|
|
this->btnTrigger30->TabIndex = 16;
|
289 |
|
|
this->btnTrigger30->Text = L"Trigger";
|
290 |
|
|
this->btnTrigger30->UseVisualStyleBackColor = true;
|
291 |
|
|
this->btnTrigger30->Click += gcnew System::EventHandler(this, &frmInterrupts::btnTrigger30_Click);
|
292 |
|
|
//
|
293 |
|
|
// comboBox30
|
294 |
|
|
//
|
295 |
|
|
this->comboBox30->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
|
296 |
|
|
this->comboBox30->FormattingEnabled = true;
|
297 |
|
|
this->comboBox30->Items->AddRange(gcnew cli::array< System::Object^ >(5) {L"30Hz", L"3 Hz", L"Every 3 seconds", L"Every 30 Seconds",
|
298 |
|
|
L"One shot"});
|
299 |
35 |
robfinch |
this->comboBox30->Location = System::Drawing::Point(110, 94);
|
300 |
32 |
robfinch |
this->comboBox30->Name = L"comboBox30";
|
301 |
|
|
this->comboBox30->Size = System::Drawing::Size(121, 21);
|
302 |
|
|
this->comboBox30->TabIndex = 15;
|
303 |
|
|
//
|
304 |
|
|
// btnTrigger1024
|
305 |
|
|
//
|
306 |
35 |
robfinch |
this->btnTrigger1024->Location = System::Drawing::Point(247, 63);
|
307 |
32 |
robfinch |
this->btnTrigger1024->Name = L"btnTrigger1024";
|
308 |
|
|
this->btnTrigger1024->Size = System::Drawing::Size(75, 23);
|
309 |
|
|
this->btnTrigger1024->TabIndex = 14;
|
310 |
|
|
this->btnTrigger1024->Text = L"Trigger";
|
311 |
|
|
this->btnTrigger1024->UseVisualStyleBackColor = true;
|
312 |
|
|
this->btnTrigger1024->Click += gcnew System::EventHandler(this, &frmInterrupts::btnTrigger1024_Click);
|
313 |
|
|
//
|
314 |
|
|
// comboBox1024
|
315 |
|
|
//
|
316 |
|
|
this->comboBox1024->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
|
317 |
|
|
this->comboBox1024->FormattingEnabled = true;
|
318 |
|
|
this->comboBox1024->Items->AddRange(gcnew cli::array< System::Object^ >(3) {L"102 Hz", L"1 Hz", L"One shot"});
|
319 |
35 |
robfinch |
this->comboBox1024->Location = System::Drawing::Point(110, 65);
|
320 |
32 |
robfinch |
this->comboBox1024->Name = L"comboBox1024";
|
321 |
|
|
this->comboBox1024->Size = System::Drawing::Size(121, 21);
|
322 |
|
|
this->comboBox1024->TabIndex = 13;
|
323 |
|
|
//
|
324 |
|
|
// checkBox1024
|
325 |
|
|
//
|
326 |
|
|
this->checkBox1024->AutoSize = true;
|
327 |
35 |
robfinch |
this->checkBox1024->Location = System::Drawing::Point(13, 69);
|
328 |
32 |
robfinch |
this->checkBox1024->Name = L"checkBox1024";
|
329 |
|
|
this->checkBox1024->Size = System::Drawing::Size(63, 17);
|
330 |
|
|
this->checkBox1024->TabIndex = 12;
|
331 |
|
|
this->checkBox1024->Text = L"1024Hz";
|
332 |
|
|
this->checkBox1024->UseVisualStyleBackColor = true;
|
333 |
|
|
//
|
334 |
|
|
// checkBoxKeyboard
|
335 |
|
|
//
|
336 |
|
|
this->checkBoxKeyboard->AutoSize = true;
|
337 |
|
|
this->checkBoxKeyboard->Enabled = false;
|
338 |
35 |
robfinch |
this->checkBoxKeyboard->Location = System::Drawing::Point(13, 115);
|
339 |
32 |
robfinch |
this->checkBoxKeyboard->Name = L"checkBoxKeyboard";
|
340 |
|
|
this->checkBoxKeyboard->Size = System::Drawing::Size(71, 17);
|
341 |
|
|
this->checkBoxKeyboard->TabIndex = 11;
|
342 |
|
|
this->checkBoxKeyboard->Text = L"Keyboard";
|
343 |
|
|
this->checkBoxKeyboard->UseVisualStyleBackColor = true;
|
344 |
|
|
//
|
345 |
|
|
// checkBox30
|
346 |
|
|
//
|
347 |
|
|
this->checkBox30->AutoSize = true;
|
348 |
35 |
robfinch |
this->checkBox30->Location = System::Drawing::Point(13, 92);
|
349 |
32 |
robfinch |
this->checkBox30->Name = L"checkBox30";
|
350 |
|
|
this->checkBox30->Size = System::Drawing::Size(51, 17);
|
351 |
|
|
this->checkBox30->TabIndex = 10;
|
352 |
|
|
this->checkBox30->Text = L"30Hz";
|
353 |
|
|
this->checkBox30->UseVisualStyleBackColor = true;
|
354 |
|
|
//
|
355 |
|
|
// checkBoxUart
|
356 |
|
|
//
|
357 |
|
|
this->checkBoxUart->AutoSize = true;
|
358 |
|
|
this->checkBoxUart->Enabled = false;
|
359 |
35 |
robfinch |
this->checkBoxUart->Location = System::Drawing::Point(13, 138);
|
360 |
32 |
robfinch |
this->checkBoxUart->Name = L"checkBoxUart";
|
361 |
|
|
this->checkBoxUart->Size = System::Drawing::Size(46, 17);
|
362 |
|
|
this->checkBoxUart->TabIndex = 20;
|
363 |
|
|
this->checkBoxUart->Text = L"Uart";
|
364 |
|
|
this->checkBoxUart->UseVisualStyleBackColor = true;
|
365 |
|
|
//
|
366 |
|
|
// groupBox1
|
367 |
|
|
//
|
368 |
35 |
robfinch |
this->groupBox1->Controls->Add(this->label7);
|
369 |
|
|
this->groupBox1->Controls->Add(this->checkBox1);
|
370 |
|
|
this->groupBox1->Controls->Add(this->checkBox2);
|
371 |
|
|
this->groupBox1->Controls->Add(this->checkBox3);
|
372 |
|
|
this->groupBox1->Controls->Add(this->checkBox4);
|
373 |
|
|
this->groupBox1->Controls->Add(this->checkBox5);
|
374 |
|
|
this->groupBox1->Controls->Add(this->checkBox8);
|
375 |
|
|
this->groupBox1->Controls->Add(this->checkBox25);
|
376 |
|
|
this->groupBox1->Controls->Add(this->checkBox29);
|
377 |
|
|
this->groupBox1->Controls->Add(this->checkBox7Edge);
|
378 |
|
|
this->groupBox1->Controls->Add(this->checkBox32);
|
379 |
|
|
this->groupBox1->Controls->Add(this->checkBox33);
|
380 |
|
|
this->groupBox1->Controls->Add(this->checkBox34);
|
381 |
|
|
this->groupBox1->Controls->Add(this->checkBox3Edge);
|
382 |
|
|
this->groupBox1->Controls->Add(this->checkBox2Edge);
|
383 |
|
|
this->groupBox1->Controls->Add(this->checkBox1Edge);
|
384 |
|
|
this->groupBox1->Controls->Add(this->checkBox0Edge);
|
385 |
32 |
robfinch |
this->groupBox1->Controls->Add(this->label6);
|
386 |
|
|
this->groupBox1->Controls->Add(this->label5);
|
387 |
|
|
this->groupBox1->Controls->Add(this->textBoxVecno);
|
388 |
|
|
this->groupBox1->Controls->Add(this->checkBoxIRQOut);
|
389 |
|
|
this->groupBox1->Controls->Add(this->checkBoxNMIOut);
|
390 |
|
|
this->groupBox1->Controls->Add(this->label4);
|
391 |
|
|
this->groupBox1->Controls->Add(this->checkBox17);
|
392 |
|
|
this->groupBox1->Controls->Add(this->checkBox18);
|
393 |
|
|
this->groupBox1->Controls->Add(this->checkBox19);
|
394 |
|
|
this->groupBox1->Controls->Add(this->checkBox20);
|
395 |
|
|
this->groupBox1->Controls->Add(this->checkBox21);
|
396 |
|
|
this->groupBox1->Controls->Add(this->checkBox22);
|
397 |
|
|
this->groupBox1->Controls->Add(this->checkBox23);
|
398 |
|
|
this->groupBox1->Controls->Add(this->checkBox24);
|
399 |
|
|
this->groupBox1->Controls->Add(this->checkBox7Act);
|
400 |
|
|
this->groupBox1->Controls->Add(this->checkBox26);
|
401 |
|
|
this->groupBox1->Controls->Add(this->checkBox27);
|
402 |
|
|
this->groupBox1->Controls->Add(this->checkBox28);
|
403 |
|
|
this->groupBox1->Controls->Add(this->checkBox3Act);
|
404 |
|
|
this->groupBox1->Controls->Add(this->checkBox2Act);
|
405 |
|
|
this->groupBox1->Controls->Add(this->checkBox1Act);
|
406 |
|
|
this->groupBox1->Controls->Add(this->checkBox0Act);
|
407 |
|
|
this->groupBox1->Controls->Add(this->label3);
|
408 |
|
|
this->groupBox1->Controls->Add(this->checkBox16);
|
409 |
|
|
this->groupBox1->Controls->Add(this->checkBox15);
|
410 |
|
|
this->groupBox1->Controls->Add(this->checkBox14);
|
411 |
|
|
this->groupBox1->Controls->Add(this->checkBox13);
|
412 |
|
|
this->groupBox1->Controls->Add(this->checkBox12);
|
413 |
|
|
this->groupBox1->Controls->Add(this->checkBox11);
|
414 |
|
|
this->groupBox1->Controls->Add(this->checkBox10);
|
415 |
|
|
this->groupBox1->Controls->Add(this->checkBox9);
|
416 |
|
|
this->groupBox1->Controls->Add(this->checkBox7En);
|
417 |
|
|
this->groupBox1->Controls->Add(this->checkBox7);
|
418 |
|
|
this->groupBox1->Controls->Add(this->checkBox6);
|
419 |
|
|
this->groupBox1->Controls->Add(this->checkBox4En);
|
420 |
|
|
this->groupBox1->Controls->Add(this->checkBox3En);
|
421 |
|
|
this->groupBox1->Controls->Add(this->checkBox2En);
|
422 |
|
|
this->groupBox1->Controls->Add(this->checkBox1En);
|
423 |
|
|
this->groupBox1->Controls->Add(this->checkBox0En);
|
424 |
35 |
robfinch |
this->groupBox1->Location = System::Drawing::Point(12, 166);
|
425 |
32 |
robfinch |
this->groupBox1->Name = L"groupBox1";
|
426 |
|
|
this->groupBox1->Size = System::Drawing::Size(310, 414);
|
427 |
|
|
this->groupBox1->TabIndex = 21;
|
428 |
|
|
this->groupBox1->TabStop = false;
|
429 |
|
|
this->groupBox1->Text = L"PIC State";
|
430 |
|
|
//
|
431 |
35 |
robfinch |
// label7
|
432 |
|
|
//
|
433 |
|
|
this->label7->AutoSize = true;
|
434 |
|
|
this->label7->Location = System::Drawing::Point(57, 26);
|
435 |
|
|
this->label7->Name = L"label7";
|
436 |
|
|
this->label7->Size = System::Drawing::Size(32, 13);
|
437 |
|
|
this->label7->TabIndex = 55;
|
438 |
|
|
this->label7->Text = L"Edge";
|
439 |
|
|
//
|
440 |
|
|
// checkBox1
|
441 |
|
|
//
|
442 |
|
|
this->checkBox1->AutoSize = true;
|
443 |
|
|
this->checkBox1->Enabled = false;
|
444 |
|
|
this->checkBox1->Location = System::Drawing::Point(60, 390);
|
445 |
|
|
this->checkBox1->Name = L"checkBox1";
|
446 |
|
|
this->checkBox1->Size = System::Drawing::Size(15, 14);
|
447 |
|
|
this->checkBox1->TabIndex = 54;
|
448 |
|
|
this->checkBox1->UseVisualStyleBackColor = true;
|
449 |
|
|
//
|
450 |
|
|
// checkBox2
|
451 |
|
|
//
|
452 |
|
|
this->checkBox2->AutoSize = true;
|
453 |
|
|
this->checkBox2->Enabled = false;
|
454 |
|
|
this->checkBox2->Location = System::Drawing::Point(60, 367);
|
455 |
|
|
this->checkBox2->Name = L"checkBox2";
|
456 |
|
|
this->checkBox2->Size = System::Drawing::Size(15, 14);
|
457 |
|
|
this->checkBox2->TabIndex = 53;
|
458 |
|
|
this->checkBox2->UseVisualStyleBackColor = true;
|
459 |
|
|
//
|
460 |
|
|
// checkBox3
|
461 |
|
|
//
|
462 |
|
|
this->checkBox3->AutoSize = true;
|
463 |
|
|
this->checkBox3->Enabled = false;
|
464 |
|
|
this->checkBox3->Location = System::Drawing::Point(60, 344);
|
465 |
|
|
this->checkBox3->Name = L"checkBox3";
|
466 |
|
|
this->checkBox3->Size = System::Drawing::Size(15, 14);
|
467 |
|
|
this->checkBox3->TabIndex = 52;
|
468 |
|
|
this->checkBox3->UseVisualStyleBackColor = true;
|
469 |
|
|
//
|
470 |
|
|
// checkBox4
|
471 |
|
|
//
|
472 |
|
|
this->checkBox4->AutoSize = true;
|
473 |
|
|
this->checkBox4->Enabled = false;
|
474 |
|
|
this->checkBox4->Location = System::Drawing::Point(60, 321);
|
475 |
|
|
this->checkBox4->Name = L"checkBox4";
|
476 |
|
|
this->checkBox4->Size = System::Drawing::Size(15, 14);
|
477 |
|
|
this->checkBox4->TabIndex = 51;
|
478 |
|
|
this->checkBox4->UseVisualStyleBackColor = true;
|
479 |
|
|
//
|
480 |
|
|
// checkBox5
|
481 |
|
|
//
|
482 |
|
|
this->checkBox5->AutoSize = true;
|
483 |
|
|
this->checkBox5->Enabled = false;
|
484 |
|
|
this->checkBox5->Location = System::Drawing::Point(60, 299);
|
485 |
|
|
this->checkBox5->Name = L"checkBox5";
|
486 |
|
|
this->checkBox5->Size = System::Drawing::Size(15, 14);
|
487 |
|
|
this->checkBox5->TabIndex = 50;
|
488 |
|
|
this->checkBox5->UseVisualStyleBackColor = true;
|
489 |
|
|
//
|
490 |
|
|
// checkBox8
|
491 |
|
|
//
|
492 |
|
|
this->checkBox8->AutoSize = true;
|
493 |
|
|
this->checkBox8->Enabled = false;
|
494 |
|
|
this->checkBox8->Location = System::Drawing::Point(60, 276);
|
495 |
|
|
this->checkBox8->Name = L"checkBox8";
|
496 |
|
|
this->checkBox8->Size = System::Drawing::Size(15, 14);
|
497 |
|
|
this->checkBox8->TabIndex = 49;
|
498 |
|
|
this->checkBox8->UseVisualStyleBackColor = true;
|
499 |
|
|
//
|
500 |
|
|
// checkBox25
|
501 |
|
|
//
|
502 |
|
|
this->checkBox25->AutoSize = true;
|
503 |
|
|
this->checkBox25->Enabled = false;
|
504 |
|
|
this->checkBox25->Location = System::Drawing::Point(60, 253);
|
505 |
|
|
this->checkBox25->Name = L"checkBox25";
|
506 |
|
|
this->checkBox25->Size = System::Drawing::Size(15, 14);
|
507 |
|
|
this->checkBox25->TabIndex = 48;
|
508 |
|
|
this->checkBox25->UseVisualStyleBackColor = true;
|
509 |
|
|
//
|
510 |
|
|
// checkBox29
|
511 |
|
|
//
|
512 |
|
|
this->checkBox29->AutoSize = true;
|
513 |
|
|
this->checkBox29->Enabled = false;
|
514 |
|
|
this->checkBox29->Location = System::Drawing::Point(60, 230);
|
515 |
|
|
this->checkBox29->Name = L"checkBox29";
|
516 |
|
|
this->checkBox29->Size = System::Drawing::Size(15, 14);
|
517 |
|
|
this->checkBox29->TabIndex = 47;
|
518 |
|
|
this->checkBox29->UseVisualStyleBackColor = true;
|
519 |
|
|
//
|
520 |
|
|
// checkBox7Edge
|
521 |
|
|
//
|
522 |
|
|
this->checkBox7Edge->AutoSize = true;
|
523 |
|
|
this->checkBox7Edge->Enabled = false;
|
524 |
|
|
this->checkBox7Edge->Location = System::Drawing::Point(60, 207);
|
525 |
|
|
this->checkBox7Edge->Name = L"checkBox7Edge";
|
526 |
|
|
this->checkBox7Edge->Size = System::Drawing::Size(15, 14);
|
527 |
|
|
this->checkBox7Edge->TabIndex = 46;
|
528 |
|
|
this->checkBox7Edge->UseVisualStyleBackColor = true;
|
529 |
|
|
//
|
530 |
|
|
// checkBox32
|
531 |
|
|
//
|
532 |
|
|
this->checkBox32->AutoSize = true;
|
533 |
|
|
this->checkBox32->Enabled = false;
|
534 |
|
|
this->checkBox32->Location = System::Drawing::Point(60, 184);
|
535 |
|
|
this->checkBox32->Name = L"checkBox32";
|
536 |
|
|
this->checkBox32->Size = System::Drawing::Size(15, 14);
|
537 |
|
|
this->checkBox32->TabIndex = 45;
|
538 |
|
|
this->checkBox32->UseVisualStyleBackColor = true;
|
539 |
|
|
//
|
540 |
|
|
// checkBox33
|
541 |
|
|
//
|
542 |
|
|
this->checkBox33->AutoSize = true;
|
543 |
|
|
this->checkBox33->Enabled = false;
|
544 |
|
|
this->checkBox33->Location = System::Drawing::Point(60, 161);
|
545 |
|
|
this->checkBox33->Name = L"checkBox33";
|
546 |
|
|
this->checkBox33->Size = System::Drawing::Size(15, 14);
|
547 |
|
|
this->checkBox33->TabIndex = 44;
|
548 |
|
|
this->checkBox33->UseVisualStyleBackColor = true;
|
549 |
|
|
//
|
550 |
|
|
// checkBox34
|
551 |
|
|
//
|
552 |
|
|
this->checkBox34->AutoSize = true;
|
553 |
|
|
this->checkBox34->Enabled = false;
|
554 |
|
|
this->checkBox34->Location = System::Drawing::Point(60, 138);
|
555 |
|
|
this->checkBox34->Name = L"checkBox34";
|
556 |
|
|
this->checkBox34->Size = System::Drawing::Size(15, 14);
|
557 |
|
|
this->checkBox34->TabIndex = 43;
|
558 |
|
|
this->checkBox34->UseVisualStyleBackColor = true;
|
559 |
|
|
//
|
560 |
|
|
// checkBox3Edge
|
561 |
|
|
//
|
562 |
|
|
this->checkBox3Edge->AutoSize = true;
|
563 |
|
|
this->checkBox3Edge->Enabled = false;
|
564 |
|
|
this->checkBox3Edge->Location = System::Drawing::Point(60, 115);
|
565 |
|
|
this->checkBox3Edge->Name = L"checkBox3Edge";
|
566 |
|
|
this->checkBox3Edge->Size = System::Drawing::Size(15, 14);
|
567 |
|
|
this->checkBox3Edge->TabIndex = 42;
|
568 |
|
|
this->checkBox3Edge->UseVisualStyleBackColor = true;
|
569 |
|
|
//
|
570 |
|
|
// checkBox2Edge
|
571 |
|
|
//
|
572 |
|
|
this->checkBox2Edge->AutoSize = true;
|
573 |
|
|
this->checkBox2Edge->Enabled = false;
|
574 |
|
|
this->checkBox2Edge->Location = System::Drawing::Point(60, 92);
|
575 |
|
|
this->checkBox2Edge->Name = L"checkBox2Edge";
|
576 |
|
|
this->checkBox2Edge->Size = System::Drawing::Size(15, 14);
|
577 |
|
|
this->checkBox2Edge->TabIndex = 41;
|
578 |
|
|
this->checkBox2Edge->UseVisualStyleBackColor = true;
|
579 |
|
|
//
|
580 |
|
|
// checkBox1Edge
|
581 |
|
|
//
|
582 |
|
|
this->checkBox1Edge->AutoSize = true;
|
583 |
|
|
this->checkBox1Edge->Enabled = false;
|
584 |
|
|
this->checkBox1Edge->Location = System::Drawing::Point(60, 69);
|
585 |
|
|
this->checkBox1Edge->Name = L"checkBox1Edge";
|
586 |
|
|
this->checkBox1Edge->Size = System::Drawing::Size(15, 14);
|
587 |
|
|
this->checkBox1Edge->TabIndex = 40;
|
588 |
|
|
this->checkBox1Edge->UseVisualStyleBackColor = true;
|
589 |
|
|
//
|
590 |
|
|
// checkBox0Edge
|
591 |
|
|
//
|
592 |
|
|
this->checkBox0Edge->AutoSize = true;
|
593 |
|
|
this->checkBox0Edge->Enabled = false;
|
594 |
|
|
this->checkBox0Edge->Location = System::Drawing::Point(60, 46);
|
595 |
|
|
this->checkBox0Edge->Name = L"checkBox0Edge";
|
596 |
|
|
this->checkBox0Edge->Size = System::Drawing::Size(15, 14);
|
597 |
|
|
this->checkBox0Edge->TabIndex = 39;
|
598 |
|
|
this->checkBox0Edge->UseVisualStyleBackColor = true;
|
599 |
|
|
//
|
600 |
32 |
robfinch |
// label6
|
601 |
|
|
//
|
602 |
|
|
this->label6->AutoSize = true;
|
603 |
|
|
this->label6->Location = System::Drawing::Point(232, 26);
|
604 |
|
|
this->label6->Name = L"label6";
|
605 |
|
|
this->label6->Size = System::Drawing::Size(59, 13);
|
606 |
|
|
this->label6->TabIndex = 38;
|
607 |
|
|
this->label6->Text = L"PIC Output";
|
608 |
|
|
//
|
609 |
|
|
// label5
|
610 |
|
|
//
|
611 |
|
|
this->label5->AutoSize = true;
|
612 |
|
|
this->label5->Enabled = false;
|
613 |
|
|
this->label5->Location = System::Drawing::Point(232, 93);
|
614 |
|
|
this->label5->Name = L"label5";
|
615 |
|
|
this->label5->Size = System::Drawing::Size(38, 13);
|
616 |
|
|
this->label5->TabIndex = 37;
|
617 |
|
|
this->label5->Text = L"Vecno";
|
618 |
|
|
//
|
619 |
|
|
// textBoxVecno
|
620 |
|
|
//
|
621 |
|
|
this->textBoxVecno->Enabled = false;
|
622 |
|
|
this->textBoxVecno->Location = System::Drawing::Point(235, 112);
|
623 |
|
|
this->textBoxVecno->Name = L"textBoxVecno";
|
624 |
|
|
this->textBoxVecno->Size = System::Drawing::Size(56, 20);
|
625 |
|
|
this->textBoxVecno->TabIndex = 36;
|
626 |
|
|
//
|
627 |
|
|
// checkBoxIRQOut
|
628 |
|
|
//
|
629 |
|
|
this->checkBoxIRQOut->AutoSize = true;
|
630 |
|
|
this->checkBoxIRQOut->Enabled = false;
|
631 |
|
|
this->checkBoxIRQOut->Location = System::Drawing::Point(235, 69);
|
632 |
|
|
this->checkBoxIRQOut->Name = L"checkBoxIRQOut";
|
633 |
|
|
this->checkBoxIRQOut->Size = System::Drawing::Size(45, 17);
|
634 |
|
|
this->checkBoxIRQOut->TabIndex = 35;
|
635 |
|
|
this->checkBoxIRQOut->Text = L"IRQ";
|
636 |
|
|
this->checkBoxIRQOut->UseVisualStyleBackColor = true;
|
637 |
|
|
//
|
638 |
|
|
// checkBoxNMIOut
|
639 |
|
|
//
|
640 |
|
|
this->checkBoxNMIOut->AutoSize = true;
|
641 |
|
|
this->checkBoxNMIOut->Enabled = false;
|
642 |
|
|
this->checkBoxNMIOut->Location = System::Drawing::Point(235, 46);
|
643 |
|
|
this->checkBoxNMIOut->Name = L"checkBoxNMIOut";
|
644 |
|
|
this->checkBoxNMIOut->Size = System::Drawing::Size(46, 17);
|
645 |
|
|
this->checkBoxNMIOut->TabIndex = 34;
|
646 |
|
|
this->checkBoxNMIOut->Text = L"NMI";
|
647 |
|
|
this->checkBoxNMIOut->UseVisualStyleBackColor = true;
|
648 |
|
|
//
|
649 |
|
|
// label4
|
650 |
|
|
//
|
651 |
|
|
this->label4->AutoSize = true;
|
652 |
|
|
this->label4->Location = System::Drawing::Point(119, 26);
|
653 |
|
|
this->label4->Name = L"label4";
|
654 |
|
|
this->label4->Size = System::Drawing::Size(64, 13);
|
655 |
|
|
this->label4->TabIndex = 33;
|
656 |
|
|
this->label4->Text = L"Input Active";
|
657 |
|
|
//
|
658 |
|
|
// checkBox17
|
659 |
|
|
//
|
660 |
|
|
this->checkBox17->AutoSize = true;
|
661 |
|
|
this->checkBox17->Enabled = false;
|
662 |
|
|
this->checkBox17->Location = System::Drawing::Point(119, 390);
|
663 |
|
|
this->checkBox17->Name = L"checkBox17";
|
664 |
|
|
this->checkBox17->Size = System::Drawing::Size(97, 17);
|
665 |
|
|
this->checkBox17->TabIndex = 32;
|
666 |
|
|
this->checkBox17->Text = L"15 Unassigned";
|
667 |
|
|
this->checkBox17->UseVisualStyleBackColor = true;
|
668 |
|
|
//
|
669 |
|
|
// checkBox18
|
670 |
|
|
//
|
671 |
|
|
this->checkBox18->AutoSize = true;
|
672 |
|
|
this->checkBox18->Enabled = false;
|
673 |
|
|
this->checkBox18->Location = System::Drawing::Point(119, 367);
|
674 |
|
|
this->checkBox18->Name = L"checkBox18";
|
675 |
|
|
this->checkBox18->Size = System::Drawing::Size(97, 17);
|
676 |
|
|
this->checkBox18->TabIndex = 31;
|
677 |
|
|
this->checkBox18->Text = L"14 Unassigned";
|
678 |
|
|
this->checkBox18->UseVisualStyleBackColor = true;
|
679 |
|
|
//
|
680 |
|
|
// checkBox19
|
681 |
|
|
//
|
682 |
|
|
this->checkBox19->AutoSize = true;
|
683 |
|
|
this->checkBox19->Enabled = false;
|
684 |
|
|
this->checkBox19->Location = System::Drawing::Point(119, 344);
|
685 |
|
|
this->checkBox19->Name = L"checkBox19";
|
686 |
|
|
this->checkBox19->Size = System::Drawing::Size(97, 17);
|
687 |
|
|
this->checkBox19->TabIndex = 30;
|
688 |
|
|
this->checkBox19->Text = L"13 Unassigned";
|
689 |
|
|
this->checkBox19->UseVisualStyleBackColor = true;
|
690 |
|
|
//
|
691 |
|
|
// checkBox20
|
692 |
|
|
//
|
693 |
|
|
this->checkBox20->AutoSize = true;
|
694 |
|
|
this->checkBox20->Enabled = false;
|
695 |
|
|
this->checkBox20->Location = System::Drawing::Point(119, 321);
|
696 |
|
|
this->checkBox20->Name = L"checkBox20";
|
697 |
|
|
this->checkBox20->Size = System::Drawing::Size(97, 17);
|
698 |
|
|
this->checkBox20->TabIndex = 29;
|
699 |
|
|
this->checkBox20->Text = L"12 Unassigned";
|
700 |
|
|
this->checkBox20->UseVisualStyleBackColor = true;
|
701 |
|
|
//
|
702 |
|
|
// checkBox21
|
703 |
|
|
//
|
704 |
|
|
this->checkBox21->AutoSize = true;
|
705 |
|
|
this->checkBox21->Enabled = false;
|
706 |
|
|
this->checkBox21->Location = System::Drawing::Point(119, 299);
|
707 |
|
|
this->checkBox21->Name = L"checkBox21";
|
708 |
|
|
this->checkBox21->Size = System::Drawing::Size(97, 17);
|
709 |
|
|
this->checkBox21->TabIndex = 28;
|
710 |
|
|
this->checkBox21->Text = L"11 Unassigned";
|
711 |
|
|
this->checkBox21->UseVisualStyleBackColor = true;
|
712 |
|
|
//
|
713 |
|
|
// checkBox22
|
714 |
|
|
//
|
715 |
|
|
this->checkBox22->AutoSize = true;
|
716 |
|
|
this->checkBox22->Enabled = false;
|
717 |
|
|
this->checkBox22->Location = System::Drawing::Point(119, 276);
|
718 |
|
|
this->checkBox22->Name = L"checkBox22";
|
719 |
|
|
this->checkBox22->Size = System::Drawing::Size(97, 17);
|
720 |
|
|
this->checkBox22->TabIndex = 27;
|
721 |
|
|
this->checkBox22->Text = L"10 Unassigned";
|
722 |
|
|
this->checkBox22->UseVisualStyleBackColor = true;
|
723 |
|
|
//
|
724 |
|
|
// checkBox23
|
725 |
|
|
//
|
726 |
|
|
this->checkBox23->AutoSize = true;
|
727 |
|
|
this->checkBox23->Enabled = false;
|
728 |
|
|
this->checkBox23->Location = System::Drawing::Point(119, 253);
|
729 |
|
|
this->checkBox23->Name = L"checkBox23";
|
730 |
|
|
this->checkBox23->Size = System::Drawing::Size(91, 17);
|
731 |
|
|
this->checkBox23->TabIndex = 26;
|
732 |
|
|
this->checkBox23->Text = L"9 Unassigned";
|
733 |
|
|
this->checkBox23->UseVisualStyleBackColor = true;
|
734 |
|
|
//
|
735 |
|
|
// checkBox24
|
736 |
|
|
//
|
737 |
|
|
this->checkBox24->AutoSize = true;
|
738 |
|
|
this->checkBox24->Enabled = false;
|
739 |
|
|
this->checkBox24->Location = System::Drawing::Point(119, 230);
|
740 |
|
|
this->checkBox24->Name = L"checkBox24";
|
741 |
|
|
this->checkBox24->Size = System::Drawing::Size(91, 17);
|
742 |
|
|
this->checkBox24->TabIndex = 25;
|
743 |
|
|
this->checkBox24->Text = L"8 Unassigned";
|
744 |
|
|
this->checkBox24->UseVisualStyleBackColor = true;
|
745 |
|
|
//
|
746 |
|
|
// checkBox7Act
|
747 |
|
|
//
|
748 |
|
|
this->checkBox7Act->AutoSize = true;
|
749 |
|
|
this->checkBox7Act->Enabled = false;
|
750 |
|
|
this->checkBox7Act->Location = System::Drawing::Point(119, 207);
|
751 |
|
|
this->checkBox7Act->Name = L"checkBox7Act";
|
752 |
|
|
this->checkBox7Act->Size = System::Drawing::Size(55, 17);
|
753 |
|
|
this->checkBox7Act->TabIndex = 24;
|
754 |
|
|
this->checkBox7Act->Text = L"7 Uart";
|
755 |
|
|
this->checkBox7Act->UseVisualStyleBackColor = true;
|
756 |
|
|
//
|
757 |
|
|
// checkBox26
|
758 |
|
|
//
|
759 |
|
|
this->checkBox26->AutoSize = true;
|
760 |
|
|
this->checkBox26->Enabled = false;
|
761 |
|
|
this->checkBox26->Location = System::Drawing::Point(119, 184);
|
762 |
|
|
this->checkBox26->Name = L"checkBox26";
|
763 |
|
|
this->checkBox26->Size = System::Drawing::Size(91, 17);
|
764 |
|
|
this->checkBox26->TabIndex = 23;
|
765 |
|
|
this->checkBox26->Text = L"6 Unassigned";
|
766 |
|
|
this->checkBox26->UseVisualStyleBackColor = true;
|
767 |
|
|
//
|
768 |
|
|
// checkBox27
|
769 |
|
|
//
|
770 |
|
|
this->checkBox27->AutoSize = true;
|
771 |
|
|
this->checkBox27->Enabled = false;
|
772 |
|
|
this->checkBox27->Location = System::Drawing::Point(119, 161);
|
773 |
|
|
this->checkBox27->Name = L"checkBox27";
|
774 |
|
|
this->checkBox27->Size = System::Drawing::Size(91, 17);
|
775 |
|
|
this->checkBox27->TabIndex = 22;
|
776 |
|
|
this->checkBox27->Text = L"5 Unassigned";
|
777 |
|
|
this->checkBox27->UseVisualStyleBackColor = true;
|
778 |
|
|
//
|
779 |
|
|
// checkBox28
|
780 |
|
|
//
|
781 |
|
|
this->checkBox28->AutoSize = true;
|
782 |
|
|
this->checkBox28->Enabled = false;
|
783 |
|
|
this->checkBox28->Location = System::Drawing::Point(119, 138);
|
784 |
|
|
this->checkBox28->Name = L"checkBox28";
|
785 |
|
|
this->checkBox28->Size = System::Drawing::Size(91, 17);
|
786 |
|
|
this->checkBox28->TabIndex = 21;
|
787 |
|
|
this->checkBox28->Text = L"4 Unassigned";
|
788 |
|
|
this->checkBox28->UseVisualStyleBackColor = true;
|
789 |
|
|
//
|
790 |
|
|
// checkBox3Act
|
791 |
|
|
//
|
792 |
|
|
this->checkBox3Act->AutoSize = true;
|
793 |
|
|
this->checkBox3Act->Enabled = false;
|
794 |
|
|
this->checkBox3Act->Location = System::Drawing::Point(119, 115);
|
795 |
|
|
this->checkBox3Act->Name = L"checkBox3Act";
|
796 |
|
|
this->checkBox3Act->Size = System::Drawing::Size(80, 17);
|
797 |
|
|
this->checkBox3Act->TabIndex = 20;
|
798 |
|
|
this->checkBox3Act->Text = L"3 Keyboard";
|
799 |
|
|
this->checkBox3Act->UseVisualStyleBackColor = true;
|
800 |
|
|
//
|
801 |
|
|
// checkBox2Act
|
802 |
|
|
//
|
803 |
|
|
this->checkBox2Act->AutoSize = true;
|
804 |
|
|
this->checkBox2Act->Enabled = false;
|
805 |
|
|
this->checkBox2Act->Location = System::Drawing::Point(119, 92);
|
806 |
|
|
this->checkBox2Act->Name = L"checkBox2Act";
|
807 |
|
|
this->checkBox2Act->Size = System::Drawing::Size(60, 17);
|
808 |
|
|
this->checkBox2Act->TabIndex = 19;
|
809 |
|
|
this->checkBox2Act->Text = L"2 30Hz";
|
810 |
|
|
this->checkBox2Act->UseVisualStyleBackColor = true;
|
811 |
|
|
//
|
812 |
|
|
// checkBox1Act
|
813 |
|
|
//
|
814 |
|
|
this->checkBox1Act->AutoSize = true;
|
815 |
|
|
this->checkBox1Act->Enabled = false;
|
816 |
|
|
this->checkBox1Act->Location = System::Drawing::Point(119, 69);
|
817 |
|
|
this->checkBox1Act->Name = L"checkBox1Act";
|
818 |
|
|
this->checkBox1Act->Size = System::Drawing::Size(72, 17);
|
819 |
|
|
this->checkBox1Act->TabIndex = 18;
|
820 |
|
|
this->checkBox1Act->Text = L"1 1024Hz";
|
821 |
|
|
this->checkBox1Act->UseVisualStyleBackColor = true;
|
822 |
|
|
//
|
823 |
|
|
// checkBox0Act
|
824 |
|
|
//
|
825 |
|
|
this->checkBox0Act->AutoSize = true;
|
826 |
|
|
this->checkBox0Act->Enabled = false;
|
827 |
|
|
this->checkBox0Act->Location = System::Drawing::Point(119, 46);
|
828 |
|
|
this->checkBox0Act->Name = L"checkBox0Act";
|
829 |
|
|
this->checkBox0Act->Size = System::Drawing::Size(55, 17);
|
830 |
|
|
this->checkBox0Act->TabIndex = 17;
|
831 |
|
|
this->checkBox0Act->Text = L"0 NMI";
|
832 |
|
|
this->checkBox0Act->UseVisualStyleBackColor = true;
|
833 |
|
|
//
|
834 |
|
|
// label3
|
835 |
|
|
//
|
836 |
|
|
this->label3->AutoSize = true;
|
837 |
|
|
this->label3->Location = System::Drawing::Point(6, 26);
|
838 |
|
|
this->label3->Name = L"label3";
|
839 |
|
|
this->label3->Size = System::Drawing::Size(46, 13);
|
840 |
|
|
this->label3->TabIndex = 16;
|
841 |
|
|
this->label3->Text = L"Enabled";
|
842 |
|
|
//
|
843 |
|
|
// checkBox16
|
844 |
|
|
//
|
845 |
|
|
this->checkBox16->AutoSize = true;
|
846 |
|
|
this->checkBox16->Enabled = false;
|
847 |
|
|
this->checkBox16->Location = System::Drawing::Point(6, 390);
|
848 |
|
|
this->checkBox16->Name = L"checkBox16";
|
849 |
35 |
robfinch |
this->checkBox16->Size = System::Drawing::Size(15, 14);
|
850 |
32 |
robfinch |
this->checkBox16->TabIndex = 15;
|
851 |
|
|
this->checkBox16->UseVisualStyleBackColor = true;
|
852 |
|
|
//
|
853 |
|
|
// checkBox15
|
854 |
|
|
//
|
855 |
|
|
this->checkBox15->AutoSize = true;
|
856 |
|
|
this->checkBox15->Enabled = false;
|
857 |
|
|
this->checkBox15->Location = System::Drawing::Point(6, 367);
|
858 |
|
|
this->checkBox15->Name = L"checkBox15";
|
859 |
35 |
robfinch |
this->checkBox15->Size = System::Drawing::Size(15, 14);
|
860 |
32 |
robfinch |
this->checkBox15->TabIndex = 14;
|
861 |
|
|
this->checkBox15->UseVisualStyleBackColor = true;
|
862 |
|
|
//
|
863 |
|
|
// checkBox14
|
864 |
|
|
//
|
865 |
|
|
this->checkBox14->AutoSize = true;
|
866 |
|
|
this->checkBox14->Enabled = false;
|
867 |
|
|
this->checkBox14->Location = System::Drawing::Point(6, 344);
|
868 |
|
|
this->checkBox14->Name = L"checkBox14";
|
869 |
35 |
robfinch |
this->checkBox14->Size = System::Drawing::Size(15, 14);
|
870 |
32 |
robfinch |
this->checkBox14->TabIndex = 13;
|
871 |
|
|
this->checkBox14->UseVisualStyleBackColor = true;
|
872 |
|
|
//
|
873 |
|
|
// checkBox13
|
874 |
|
|
//
|
875 |
|
|
this->checkBox13->AutoSize = true;
|
876 |
|
|
this->checkBox13->Enabled = false;
|
877 |
|
|
this->checkBox13->Location = System::Drawing::Point(6, 321);
|
878 |
|
|
this->checkBox13->Name = L"checkBox13";
|
879 |
35 |
robfinch |
this->checkBox13->Size = System::Drawing::Size(15, 14);
|
880 |
32 |
robfinch |
this->checkBox13->TabIndex = 12;
|
881 |
|
|
this->checkBox13->UseVisualStyleBackColor = true;
|
882 |
|
|
//
|
883 |
|
|
// checkBox12
|
884 |
|
|
//
|
885 |
|
|
this->checkBox12->AutoSize = true;
|
886 |
|
|
this->checkBox12->Enabled = false;
|
887 |
|
|
this->checkBox12->Location = System::Drawing::Point(6, 299);
|
888 |
|
|
this->checkBox12->Name = L"checkBox12";
|
889 |
35 |
robfinch |
this->checkBox12->Size = System::Drawing::Size(15, 14);
|
890 |
32 |
robfinch |
this->checkBox12->TabIndex = 11;
|
891 |
|
|
this->checkBox12->UseVisualStyleBackColor = true;
|
892 |
|
|
//
|
893 |
|
|
// checkBox11
|
894 |
|
|
//
|
895 |
|
|
this->checkBox11->AutoSize = true;
|
896 |
|
|
this->checkBox11->Enabled = false;
|
897 |
|
|
this->checkBox11->Location = System::Drawing::Point(6, 276);
|
898 |
|
|
this->checkBox11->Name = L"checkBox11";
|
899 |
35 |
robfinch |
this->checkBox11->Size = System::Drawing::Size(15, 14);
|
900 |
32 |
robfinch |
this->checkBox11->TabIndex = 10;
|
901 |
|
|
this->checkBox11->UseVisualStyleBackColor = true;
|
902 |
|
|
//
|
903 |
|
|
// checkBox10
|
904 |
|
|
//
|
905 |
|
|
this->checkBox10->AutoSize = true;
|
906 |
|
|
this->checkBox10->Enabled = false;
|
907 |
|
|
this->checkBox10->Location = System::Drawing::Point(6, 253);
|
908 |
|
|
this->checkBox10->Name = L"checkBox10";
|
909 |
35 |
robfinch |
this->checkBox10->Size = System::Drawing::Size(15, 14);
|
910 |
32 |
robfinch |
this->checkBox10->TabIndex = 9;
|
911 |
|
|
this->checkBox10->UseVisualStyleBackColor = true;
|
912 |
|
|
//
|
913 |
|
|
// checkBox9
|
914 |
|
|
//
|
915 |
|
|
this->checkBox9->AutoSize = true;
|
916 |
|
|
this->checkBox9->Enabled = false;
|
917 |
|
|
this->checkBox9->Location = System::Drawing::Point(6, 230);
|
918 |
|
|
this->checkBox9->Name = L"checkBox9";
|
919 |
35 |
robfinch |
this->checkBox9->Size = System::Drawing::Size(15, 14);
|
920 |
32 |
robfinch |
this->checkBox9->TabIndex = 8;
|
921 |
|
|
this->checkBox9->UseVisualStyleBackColor = true;
|
922 |
|
|
//
|
923 |
|
|
// checkBox7En
|
924 |
|
|
//
|
925 |
|
|
this->checkBox7En->AutoSize = true;
|
926 |
|
|
this->checkBox7En->Enabled = false;
|
927 |
|
|
this->checkBox7En->Location = System::Drawing::Point(6, 207);
|
928 |
|
|
this->checkBox7En->Name = L"checkBox7En";
|
929 |
35 |
robfinch |
this->checkBox7En->Size = System::Drawing::Size(15, 14);
|
930 |
32 |
robfinch |
this->checkBox7En->TabIndex = 7;
|
931 |
|
|
this->checkBox7En->UseVisualStyleBackColor = true;
|
932 |
|
|
//
|
933 |
|
|
// checkBox7
|
934 |
|
|
//
|
935 |
|
|
this->checkBox7->AutoSize = true;
|
936 |
|
|
this->checkBox7->Enabled = false;
|
937 |
|
|
this->checkBox7->Location = System::Drawing::Point(6, 184);
|
938 |
|
|
this->checkBox7->Name = L"checkBox7";
|
939 |
35 |
robfinch |
this->checkBox7->Size = System::Drawing::Size(15, 14);
|
940 |
32 |
robfinch |
this->checkBox7->TabIndex = 6;
|
941 |
|
|
this->checkBox7->UseVisualStyleBackColor = true;
|
942 |
|
|
//
|
943 |
|
|
// checkBox6
|
944 |
|
|
//
|
945 |
|
|
this->checkBox6->AutoSize = true;
|
946 |
|
|
this->checkBox6->Enabled = false;
|
947 |
|
|
this->checkBox6->Location = System::Drawing::Point(6, 161);
|
948 |
|
|
this->checkBox6->Name = L"checkBox6";
|
949 |
35 |
robfinch |
this->checkBox6->Size = System::Drawing::Size(15, 14);
|
950 |
32 |
robfinch |
this->checkBox6->TabIndex = 5;
|
951 |
|
|
this->checkBox6->UseVisualStyleBackColor = true;
|
952 |
|
|
//
|
953 |
|
|
// checkBox4En
|
954 |
|
|
//
|
955 |
|
|
this->checkBox4En->AutoSize = true;
|
956 |
|
|
this->checkBox4En->Enabled = false;
|
957 |
|
|
this->checkBox4En->Location = System::Drawing::Point(6, 138);
|
958 |
|
|
this->checkBox4En->Name = L"checkBox4En";
|
959 |
35 |
robfinch |
this->checkBox4En->Size = System::Drawing::Size(15, 14);
|
960 |
32 |
robfinch |
this->checkBox4En->TabIndex = 4;
|
961 |
|
|
this->checkBox4En->UseVisualStyleBackColor = true;
|
962 |
|
|
//
|
963 |
|
|
// checkBox3En
|
964 |
|
|
//
|
965 |
|
|
this->checkBox3En->AutoSize = true;
|
966 |
|
|
this->checkBox3En->Enabled = false;
|
967 |
|
|
this->checkBox3En->Location = System::Drawing::Point(6, 115);
|
968 |
|
|
this->checkBox3En->Name = L"checkBox3En";
|
969 |
35 |
robfinch |
this->checkBox3En->Size = System::Drawing::Size(15, 14);
|
970 |
32 |
robfinch |
this->checkBox3En->TabIndex = 3;
|
971 |
|
|
this->checkBox3En->UseVisualStyleBackColor = true;
|
972 |
|
|
//
|
973 |
|
|
// checkBox2En
|
974 |
|
|
//
|
975 |
|
|
this->checkBox2En->AutoSize = true;
|
976 |
|
|
this->checkBox2En->Enabled = false;
|
977 |
|
|
this->checkBox2En->Location = System::Drawing::Point(6, 92);
|
978 |
|
|
this->checkBox2En->Name = L"checkBox2En";
|
979 |
35 |
robfinch |
this->checkBox2En->Size = System::Drawing::Size(15, 14);
|
980 |
32 |
robfinch |
this->checkBox2En->TabIndex = 2;
|
981 |
|
|
this->checkBox2En->UseVisualStyleBackColor = true;
|
982 |
|
|
//
|
983 |
|
|
// checkBox1En
|
984 |
|
|
//
|
985 |
|
|
this->checkBox1En->AutoSize = true;
|
986 |
|
|
this->checkBox1En->Enabled = false;
|
987 |
|
|
this->checkBox1En->Location = System::Drawing::Point(6, 69);
|
988 |
|
|
this->checkBox1En->Name = L"checkBox1En";
|
989 |
35 |
robfinch |
this->checkBox1En->Size = System::Drawing::Size(15, 14);
|
990 |
32 |
robfinch |
this->checkBox1En->TabIndex = 1;
|
991 |
|
|
this->checkBox1En->UseVisualStyleBackColor = true;
|
992 |
|
|
//
|
993 |
|
|
// checkBox0En
|
994 |
|
|
//
|
995 |
|
|
this->checkBox0En->AutoSize = true;
|
996 |
|
|
this->checkBox0En->Enabled = false;
|
997 |
|
|
this->checkBox0En->Location = System::Drawing::Point(6, 46);
|
998 |
|
|
this->checkBox0En->Name = L"checkBox0En";
|
999 |
35 |
robfinch |
this->checkBox0En->Size = System::Drawing::Size(15, 14);
|
1000 |
32 |
robfinch |
this->checkBox0En->TabIndex = 0;
|
1001 |
|
|
this->checkBox0En->UseVisualStyleBackColor = true;
|
1002 |
|
|
//
|
1003 |
|
|
// frmInterrupts
|
1004 |
|
|
//
|
1005 |
|
|
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
1006 |
|
|
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
1007 |
35 |
robfinch |
this->ClientSize = System::Drawing::Size(331, 592);
|
1008 |
32 |
robfinch |
this->Controls->Add(this->groupBox1);
|
1009 |
|
|
this->Controls->Add(this->checkBoxUart);
|
1010 |
|
|
this->Controls->Add(this->btnOK);
|
1011 |
|
|
this->Controls->Add(this->label2);
|
1012 |
|
|
this->Controls->Add(this->label1);
|
1013 |
|
|
this->Controls->Add(this->btnTrigger30);
|
1014 |
|
|
this->Controls->Add(this->comboBox30);
|
1015 |
|
|
this->Controls->Add(this->btnTrigger1024);
|
1016 |
|
|
this->Controls->Add(this->comboBox1024);
|
1017 |
|
|
this->Controls->Add(this->checkBox1024);
|
1018 |
|
|
this->Controls->Add(this->checkBoxKeyboard);
|
1019 |
|
|
this->Controls->Add(this->checkBox30);
|
1020 |
|
|
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedSingle;
|
1021 |
|
|
this->Name = L"frmInterrupts";
|
1022 |
|
|
this->SizeGripStyle = System::Windows::Forms::SizeGripStyle::Hide;
|
1023 |
|
|
this->Text = L"emuThor - Interrupts";
|
1024 |
35 |
robfinch |
this->FormClosing += gcnew System::Windows::Forms::FormClosingEventHandler(this, &frmInterrupts::frmInterrupts_FormClosing);
|
1025 |
32 |
robfinch |
this->Load += gcnew System::EventHandler(this, &frmInterrupts::frmInterrupts_Load);
|
1026 |
|
|
this->groupBox1->ResumeLayout(false);
|
1027 |
|
|
this->groupBox1->PerformLayout();
|
1028 |
|
|
this->ResumeLayout(false);
|
1029 |
|
|
this->PerformLayout();
|
1030 |
|
|
|
1031 |
|
|
}
|
1032 |
|
|
#pragma endregion
|
1033 |
|
|
private: System::Void btnOK_Click(System::Object^ sender, System::EventArgs^ e) {
|
1034 |
|
|
}
|
1035 |
|
|
private: System::Void btnTrigger1024_Click(System::Object^ sender, System::EventArgs^ e) {
|
1036 |
|
|
if (this->checkBox1024->Checked) {
|
1037 |
|
|
mut->WaitOne();
|
1038 |
|
|
switch(this->comboBox30->SelectedIndex) {
|
1039 |
|
|
case 0: interval1024 = 98; break;
|
1040 |
|
|
case 1: interval1024 = 977; break;
|
1041 |
|
|
case 2: interval1024 = -1; break;
|
1042 |
35 |
robfinch |
default: interval1024 = 977; break;
|
1043 |
32 |
robfinch |
}
|
1044 |
|
|
trigger1024 = true;
|
1045 |
|
|
mut->ReleaseMutex();
|
1046 |
|
|
}
|
1047 |
|
|
}
|
1048 |
|
|
private: System::Void btnTrigger30_Click(System::Object^ sender, System::EventArgs^ e) {
|
1049 |
|
|
if (this->checkBox30->Checked) {
|
1050 |
|
|
mut->WaitOne();
|
1051 |
|
|
switch(this->comboBox30->SelectedIndex) {
|
1052 |
|
|
case 0: interval30 = 33; break;
|
1053 |
|
|
case 1: interval30 = 333; break;
|
1054 |
|
|
case 2: interval30 = 3333; break;
|
1055 |
|
|
case 3: interval30 = 33333; break;
|
1056 |
|
|
case 4: interval30 = -1; break;
|
1057 |
35 |
robfinch |
default: interval30 = 33333; break;
|
1058 |
32 |
robfinch |
}
|
1059 |
|
|
trigger30 = true;
|
1060 |
|
|
mut->ReleaseMutex();
|
1061 |
|
|
}
|
1062 |
|
|
}
|
1063 |
35 |
robfinch |
public: void UpdateForm()
|
1064 |
|
|
{
|
1065 |
|
|
char buf[20];
|
1066 |
|
|
|
1067 |
|
|
mut->WaitOne();
|
1068 |
|
|
system1.pic1.Step();
|
1069 |
|
|
trigger30 = false;
|
1070 |
|
|
trigger1024 = false;
|
1071 |
|
|
checkBox0En->Checked = system1.pic1.enables[0];
|
1072 |
|
|
checkBox1En->Checked = system1.pic1.enables[1];
|
1073 |
|
|
checkBox2En->Checked = system1.pic1.enables[2];
|
1074 |
|
|
checkBox3En->Checked = system1.pic1.enables[3];
|
1075 |
|
|
checkBox7En->Checked = system1.pic1.enables[7];
|
1076 |
|
|
checkBox0Edge->Checked = system1.pic1.edges[0];
|
1077 |
|
|
checkBox1Edge->Checked = system1.pic1.edges[1];
|
1078 |
|
|
checkBox2Edge->Checked = system1.pic1.edges[2];
|
1079 |
|
|
checkBox3Edge->Checked = system1.pic1.edges[3];
|
1080 |
|
|
checkBox7Edge->Checked = system1.pic1.edges[7];
|
1081 |
|
|
checkBox1Act->Checked = system1.pic1.irq1024Hz;
|
1082 |
|
|
checkBox2Act->Checked = system1.pic1.irq30Hz;
|
1083 |
|
|
checkBox3Act->Checked = system1.pic1.irqKeyboard;
|
1084 |
|
|
checkBox7Act->Checked = system1.pic1.irqUart;
|
1085 |
|
|
checkBoxIRQOut->Checked = system1.pic1.irq;
|
1086 |
|
|
sprintf(buf, "%d (%02X)", system1.pic1.vecno, system1.pic1.vecno);
|
1087 |
|
|
mut->ReleaseMutex();
|
1088 |
|
|
textBoxVecno->Text = gcnew String(buf);
|
1089 |
|
|
}
|
1090 |
32 |
robfinch |
private: System::Void frmInterrupts_Load(System::Object^ sender, System::EventArgs^ e) {
|
1091 |
|
|
}
|
1092 |
35 |
robfinch |
private: System::Void frmInterrupts_FormClosing(System::Object^ sender, System::Windows::Forms::FormClosingEventArgs^ e) {
|
1093 |
|
|
if (e->CloseReason==CloseReason::UserClosing)
|
1094 |
|
|
e->Cancel = true;
|
1095 |
|
|
}
|
1096 |
32 |
robfinch |
};
|
1097 |
|
|
}
|