Debian Codegraph @

src/VDPRegViewer.cpp

raw symbols SCIP
1 #cxx . . $ `<file>/src/VDPRegViewer.cpp`/include "VDPRegViewer.h"cxx . . $ `<file>/src/VDPRegViewer.h`/
2 #include "VDPDataStore.h"cxx . . $ `<file>/src/VDPDataStore.h`/
3 #include "InteractiveButton.h"cxx . . $ `<file>/src/InteractiveButton.h`/
4 #include "CommClient.h"cxx . . $ `<file>/src/CommClient.h`/
5
6 static const int VDP_TMS99X8cxx . . $ VDP_TMS99X8. = 1;
7 static const int VDP_V9938cxx . . $ VDP_V9938. = 0;
8 static const int VDP_V9958cxx . . $ VDP_V9958. = 4;
9
10
11 // class buttonHighlightDispatcher
12
13 buttonHighlightDispatchercxx . . $ buttonHighlightDispatcher#::buttonHighlightDispatchercxx . . $ buttonHighlightDispatcher#buttonHighlightDispatcher(49f6e7a06ebc5aa8).()
14 : countercxx . . $ buttonHighlightDispatcher#counter.(0)
15 {
16 }
17
18 void buttonHighlightDispatchercxx . . $ buttonHighlightDispatcher#::receiveStatecxx . . $ buttonHighlightDispatcher#receiveState(b45ddcbc8423892c).(bool state)
19 {
20 if (state) {
21 if (countercxx . . $ buttonHighlightDispatcher#counter. == 0) {
22 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! stateDispatchedcxx . . $ buttonHighlightDispatcher#stateDispatched(b45ddcbc8423892c).(true);
23 }
24 ++countercxx . . $ buttonHighlightDispatcher#counter.;
25 } else {
26 --countercxx . . $ buttonHighlightDispatcher#counter.;
27 if (countercxx . . $ buttonHighlightDispatcher#counter. == 0) {
28 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! stateDispatchedcxx . . $ buttonHighlightDispatcher#stateDispatched(b45ddcbc8423892c).(false);
29 }
30 }
31 }
32
33
34 // class VDPRegViewer
35
36 VDPRegViewercxx . . $ VDPRegViewer#::VDPRegViewercxx . . $ VDPRegViewer#VDPRegViewer(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent)
37 : QDialogcxx . . $ QDialog#QDialog(872e7b0c281abd8d).(parent)
38 {
39 setupUicxx . . $ Ui_VDPRegisters#setupUi(d194de0c0f68c28b).(this);
40 connectcxx . . $ QObject#connect(835f87066c895669).(VDPcomboBoxcxx . . $ Ui_VDPRegisters#VDPcomboBox., qOverloadcxx . . $ qOverload.<int>(cxx . . $ QNonConstOverload#`operator()`(a8f97e06674de5d1).&QComboBoxcxx . . $ QComboBox#::currentIndexChangedcxx . . $ QComboBox#currentIndexChanged(d4f767463ce0a6b3).), this, &VDPRegViewercxx . . $ VDPRegViewer#::on_VDPcomboBox_currentIndexChangedcxx . . $ VDPRegViewer#on_VDPcomboBox_currentIndexChanged(d4f767463ce0a6b3).);
41
42 vdpIdcxx . . $ VDPRegViewer#vdpId. = 99; // make sure that we parse the first time the status registers are read
43 vdpIdcxx . . $ VDPRegViewer#vdpId. = VDP_V9958cxx . . $ VDP_V9958.; // quick hack for now
44
45 // now hook up some signals and slots
46 connectHighLightscxx . . $ VDPRegViewer#connectHighLights(49f6e7a06ebc5aa8).();
47
48 // Now hook up some signals and slots.
49 // This allows the VDPDatastore to start asking for data as quickly as possible.
50 auto& dataStore = VDPDataStorecxx . . $ VDPDataStore#::instancecxx . . $ VDPDataStore#instance(6179f7cf4255f5b).();
51 connectcxx . . $ QObject#connect(835f87066c895669).(&dataStore, &VDPDataStorecxx . . $ VDPDataStore#::dataRefreshedcxx . . $ VDPDataStore#dataRefreshed(49f6e7a06ebc5aa8)., this, &VDPRegViewercxx . . $ VDPRegViewer#::refreshcxx . . $ VDPRegViewer#refresh(49f6e7a06ebc5aa8).);
52 dataStore.refreshcxx . . $ VDPDataStore#refresh(49f6e7a06ebc5aa8).();
53 }
54
55 void VDPRegViewercxx . . $ VDPRegViewer#::setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(int r, bool visible)
56 {
57 QStringcxx . . $ QString# name1 = QStringcxx . . $ QString#QString(85c52e162fed56f9).("label_R%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(r);
58 auto* l1 = findChildcxx . . $ QObject#findChild(d560e1421e3a90b4).<QLabelcxx . . $ QLabel#*>(name1);
59 l1->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
60
61 QStringcxx . . $ QString# name2 = QStringcxx . . $ QString#QString(85c52e162fed56f9).("label_val_%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(r);
62 auto* l2 = findChildcxx . . $ QObject#findChild(d560e1421e3a90b4).<QLabelcxx . . $ QLabel#*>(name2);
63 l2->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
64
65 for (int b = 7; b >= 0; --b) {
66 QStringcxx . . $ QString# name3 = QStringcxx . . $ QString#QString(85c52e162fed56f9).("pushButton_%1_%2").argcxx . . $ QString#arg(64ab2ed17cc11715).(r).argcxx . . $ QString#arg(64ab2ed17cc11715).(b);
67 auto *i = findChildcxx . . $ QObject#findChild(d560e1421e3a90b4).<InteractiveButtoncxx . . $ InteractiveButton#*>(name3);
68 i->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
69 }
70
71 // now hide/show the explications of the give register
72 switch (r) {
73 case 8:
74 label_dec_tpcxx . . $ Ui_VDPRegisters#label_dec_tp.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
75 label_dec_spdcxx . . $ Ui_VDPRegisters#label_dec_spd.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
76 break;
77 case 9:
78 label_dec_ntcxx . . $ Ui_VDPRegisters#label_dec_nt.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
79 label_dec_nt2cxx . . $ Ui_VDPRegisters#label_dec_nt2.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
80 label_dec_ilcxx . . $ Ui_VDPRegisters#label_dec_il.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
81 label_dec_eocxx . . $ Ui_VDPRegisters#label_dec_eo.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
82 label_dec_lncxx . . $ Ui_VDPRegisters#label_dec_ln.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
83 label_dec_ln2cxx . . $ Ui_VDPRegisters#label_dec_ln2.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
84 break;
85 case 12:
86 label_t2cxx . . $ Ui_VDPRegisters#label_t2.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
87 label_bccxx . . $ Ui_VDPRegisters#label_bc.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
88 label_dec_t2cxx . . $ Ui_VDPRegisters#label_dec_t2.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
89 label_dec_bccxx . . $ Ui_VDPRegisters#label_dec_bc.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
90 break;
91 case 13:
92 label_oncxx . . $ Ui_VDPRegisters#label_on.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
93 label_offcxx . . $ Ui_VDPRegisters#label_off.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
94 label_dec_oncxx . . $ Ui_VDPRegisters#label_dec_on.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
95 label_dec_offcxx . . $ Ui_VDPRegisters#label_dec_off.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(visible);
96 break;
97 }
98 }
99
100 void VDPRegViewercxx . . $ VDPRegViewer#::decodeStatusVDPRegscxx . . $ VDPRegViewer#decodeStatusVDPRegs(49f6e7a06ebc5aa8).()
101 {
102 //const uint8_t* statusregs = regs + 64;
103 //int id = statusregs[1] & 62; // + (machine_has_TMS99x8 ? 1 : 0)
104 // test MSX1 id = 1;
105 //if (vdpId != id) {
106 // vdpId = id;
107 if (vdpIdcxx . . $ VDPRegViewer#vdpId. == VDP_TMS99X8cxx . . $ VDP_TMS99X8.) {
108 // TMS9918 = MSX1 VDP
109 groupBox_V9958cxx . . $ Ui_VDPRegisters#groupBox_V9958.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false);
110 groupBox_TableBasecxx . . $ Ui_VDPRegisters#groupBox_TableBase.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
111 groupBox_Colorcxx . . $ Ui_VDPRegisters#groupBox_Color.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
112 groupBox_Displaycxx . . $ Ui_VDPRegisters#groupBox_Display.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false);
113 groupBox_Accesscxx . . $ Ui_VDPRegisters#groupBox_Access.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false);
114 groupBox_dec_V9958cxx . . $ Ui_VDPRegisters#groupBox_dec_V9958.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false);
115 groupBox_dec_TableBasecxx . . $ Ui_VDPRegisters#groupBox_dec_TableBase.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
116 groupBox_dec_Colorcxx . . $ Ui_VDPRegisters#groupBox_dec_Color.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
117 groupBox_dec_Displaycxx . . $ Ui_VDPRegisters#groupBox_dec_Display.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false);
118 groupBox_dec_Accesscxx . . $ Ui_VDPRegisters#groupBox_dec_Access.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false);
119 label_dec_416Kcxx . . $ Ui_VDPRegisters#label_dec_416K.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
120 label_dec_ie1cxx . . $ Ui_VDPRegisters#label_dec_ie1.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false);
121 label_dec_ie2cxx . . $ Ui_VDPRegisters#label_dec_ie2.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false);
122 label_dec_dgcxx . . $ Ui_VDPRegisters#label_dec_dg.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false);
123 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).( 8, false);
124 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).( 9, false);
125 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(10, false);
126 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(11, false);
127 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(12, false);
128 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(13, false);
129 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(20, false);
130 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(21, false);
131 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(22, false);
132 pushButton_0_2cxx . . $ Ui_VDPRegisters#pushButton_0_2.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
133 pushButton_0_2cxx . . $ Ui_VDPRegisters#pushButton_0_2.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(""cxx . . $ QString#QString(85c52e162fed56f9).);
134 pushButton_0_3cxx . . $ Ui_VDPRegisters#pushButton_0_3.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
135 pushButton_0_3cxx . . $ Ui_VDPRegisters#pushButton_0_3.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(""cxx . . $ QString#QString(85c52e162fed56f9).);
136 pushButton_0_4cxx . . $ Ui_VDPRegisters#pushButton_0_4.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
137 pushButton_0_4cxx . . $ Ui_VDPRegisters#pushButton_0_4.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(""cxx . . $ QString#QString(85c52e162fed56f9).);
138 pushButton_0_5cxx . . $ Ui_VDPRegisters#pushButton_0_5.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
139 pushButton_0_5cxx . . $ Ui_VDPRegisters#pushButton_0_5.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(""cxx . . $ QString#QString(85c52e162fed56f9).);
140 pushButton_0_6cxx . . $ Ui_VDPRegisters#pushButton_0_6.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
141 pushButton_0_6cxx . . $ Ui_VDPRegisters#pushButton_0_6.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(""cxx . . $ QString#QString(85c52e162fed56f9).);
142 pushButton_1_7cxx . . $ Ui_VDPRegisters#pushButton_1_7.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("4/16"cxx . . $ QString#QString(85c52e162fed56f9).);
143 pushButton_1_7cxx . . $ Ui_VDPRegisters#pushButton_1_7.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(
144 "4/16K selection\n"cxx . . $ QString#QString(85c52e162fed56f9).
145 "0 selects 4027 RAM operation\n"
146 "1 selects 4108/4116 RAM operation");
147 // mask all A16 bits of regs < 7
148 pushButton_2_6cxx . . $ Ui_VDPRegisters#pushButton_2_6.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
149 pushButton_4_5cxx . . $ Ui_VDPRegisters#pushButton_4_5.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
150 pushButton_6_5cxx . . $ Ui_VDPRegisters#pushButton_6_5.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
151 // mask all A15
152 pushButton_2_5cxx . . $ Ui_VDPRegisters#pushButton_2_5.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
153 pushButton_4_4cxx . . $ Ui_VDPRegisters#pushButton_4_4.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
154 pushButton_6_4cxx . . $ Ui_VDPRegisters#pushButton_6_4.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
155 // mask all A14 bits of regs < 7
156 pushButton_2_4cxx . . $ Ui_VDPRegisters#pushButton_2_4.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
157 pushButton_4_3cxx . . $ Ui_VDPRegisters#pushButton_4_3.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
158 pushButton_6_3cxx . . $ Ui_VDPRegisters#pushButton_6_3.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
159 disconnectcxx . . $ QObject#disconnect(cc30ff19c637f8ed).(modeBitsDispatcxx . . $ VDPRegViewer#modeBitsDispat., nullptr, pushButton_0_2cxx . . $ Ui_VDPRegisters#pushButton_0_2., nullptr);
160 disconnectcxx . . $ QObject#disconnect(cc30ff19c637f8ed).(modeBitsDispatcxx . . $ VDPRegViewer#modeBitsDispat., nullptr, pushButton_0_3cxx . . $ Ui_VDPRegisters#pushButton_0_3., nullptr);
161 disconnectcxx . . $ QObject#disconnect(cc30ff19c637f8ed).(pushButton_0_2cxx . . $ Ui_VDPRegisters#pushButton_0_2., nullptr, nullptr, nullptr);
162 disconnectcxx . . $ QObject#disconnect(cc30ff19c637f8ed).(pushButton_0_3cxx . . $ Ui_VDPRegisters#pushButton_0_3., nullptr, nullptr, nullptr);
163 disconnectcxx . . $ QObject#disconnect(cc30ff19c637f8ed).(pushButton_0_4cxx . . $ Ui_VDPRegisters#pushButton_0_4., nullptr, nullptr, nullptr);
164 disconnectcxx . . $ QObject#disconnect(cc30ff19c637f8ed).(pushButton_0_5cxx . . $ Ui_VDPRegisters#pushButton_0_5., nullptr, nullptr, nullptr);
165 disconnectcxx . . $ QObject#disconnect(cc30ff19c637f8ed).(pushButton_0_6cxx . . $ Ui_VDPRegisters#pushButton_0_6., nullptr, nullptr, nullptr);
166 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_1_7cxx . . $ Ui_VDPRegisters#pushButton_1_7., label_dec_416Kcxx . . $ Ui_VDPRegisters#label_dec_416K.);
167 } else {
168 // V9938 = MSX2 VDP
169 // or
170 // V9958 = MSX2+ VDP
171 groupBox_TableBasecxx . . $ Ui_VDPRegisters#groupBox_TableBase.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
172 groupBox_Colorcxx . . $ Ui_VDPRegisters#groupBox_Color.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
173 groupBox_Displaycxx . . $ Ui_VDPRegisters#groupBox_Display.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
174 groupBox_Accesscxx . . $ Ui_VDPRegisters#groupBox_Access.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
175 groupBox_dec_TableBasecxx . . $ Ui_VDPRegisters#groupBox_dec_TableBase.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
176 groupBox_dec_Colorcxx . . $ Ui_VDPRegisters#groupBox_dec_Color.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
177 groupBox_dec_Displaycxx . . $ Ui_VDPRegisters#groupBox_dec_Display.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
178 groupBox_dec_Accesscxx . . $ Ui_VDPRegisters#groupBox_dec_Access.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
179 label_dec_416Kcxx . . $ Ui_VDPRegisters#label_dec_416K.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false);
180 label_dec_ie1cxx . . $ Ui_VDPRegisters#label_dec_ie1.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
181 label_dec_dgcxx . . $ Ui_VDPRegisters#label_dec_dg.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
182 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).( 8, true);
183 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).( 9, true);
184 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(10, true);
185 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(11, true);
186 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(12, true);
187 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(13, true);
188 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(20, true);
189 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(21, true);
190 setRegisterVisiblecxx . . $ VDPRegViewer#setRegisterVisible(918ebd27a9ddbad3).(22, true);
191 pushButton_0_2cxx . . $ Ui_VDPRegisters#pushButton_0_2.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("M4"cxx . . $ QString#QString(85c52e162fed56f9).);
192 pushButton_0_3cxx . . $ Ui_VDPRegisters#pushButton_0_3.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("M5"cxx . . $ QString#QString(85c52e162fed56f9).);
193 pushButton_0_4cxx . . $ Ui_VDPRegisters#pushButton_0_4.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("IE1"cxx . . $ QString#QString(85c52e162fed56f9).);
194 pushButton_0_6cxx . . $ Ui_VDPRegisters#pushButton_0_6.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("DG"cxx . . $ QString#QString(85c52e162fed56f9).);
195 pushButton_1_7cxx . . $ Ui_VDPRegisters#pushButton_1_7.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
196 pushButton_0_2cxx . . $ Ui_VDPRegisters#pushButton_0_2.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).("Used to change the display mode."cxx . . $ QString#QString(85c52e162fed56f9).);
197 pushButton_0_3cxx . . $ Ui_VDPRegisters#pushButton_0_3.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).("Used to change the display mode."cxx . . $ QString#QString(85c52e162fed56f9).);
198 pushButton_0_4cxx . . $ Ui_VDPRegisters#pushButton_0_4.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).("Enables interrupt from Horizontal scanning line by Interrupt Enable 1."cxx . . $ QString#QString(85c52e162fed56f9).);
199 pushButton_0_6cxx . . $ Ui_VDPRegisters#pushButton_0_6.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).("Sets the color bus to input mode, and inputs data into the VRAM."cxx . . $ QString#QString(85c52e162fed56f9).);
200 pushButton_1_7cxx . . $ Ui_VDPRegisters#pushButton_1_7.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(""cxx . . $ QString#QString(85c52e162fed56f9).);
201
202 // all A16 bits of regs < 7
203 pushButton_4_5cxx . . $ Ui_VDPRegisters#pushButton_4_5.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A16"cxx . . $ QString#QString(85c52e162fed56f9).);
204 pushButton_6_5cxx . . $ Ui_VDPRegisters#pushButton_6_5.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A16"cxx . . $ QString#QString(85c52e162fed56f9).);
205 // all A15
206 pushButton_4_4cxx . . $ Ui_VDPRegisters#pushButton_4_4.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A15"cxx . . $ QString#QString(85c52e162fed56f9).);
207 pushButton_6_4cxx . . $ Ui_VDPRegisters#pushButton_6_4.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A15"cxx . . $ QString#QString(85c52e162fed56f9).);
208 // all A14
209 pushButton_4_3cxx . . $ Ui_VDPRegisters#pushButton_4_3.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A14"cxx . . $ QString#QString(85c52e162fed56f9).);
210 pushButton_6_3cxx . . $ Ui_VDPRegisters#pushButton_6_3.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A14"cxx . . $ QString#QString(85c52e162fed56f9).);
211 ////pushButton_0_5->setText("IE2");
212
213 ////disconnect(pushButton_0_7, 0, 0, 0);
214 ////disconnect(label_dec_416K, 0, 0, 0);
215
216 ////reGroup(pushButton_0_2, modeBitsDispat);
217 ////reGroup(pushButton_0_3, modeBitsDispat);
218
219 ////monoGroup(pushButton_0_4, label_dec_ie1);
220 ////monoGroup(pushButton_0_5, label_dec_ie2);
221 ////monoGroup(pushButton_0_6, label_dec_dg);
222
223 //break;
224 // V9958 = MSX2+ VDP
225 ////groupBox_TableBase->setVisible(true);
226 ////groupBox_Color->setVisible(true);
227 ////groupBox_Display->setVisible(true);
228 ////groupBox_Access->setVisible(true);
229 ////groupBox_dec_TableBase->setVisible(true);
230 ////groupBox_dec_Color->setVisible(true);
231 ////groupBox_dec_Display->setVisible(true);
232 ////groupBox_dec_Access->setVisible(true);
233 ////label_dec_416K->setVisible(false);
234 ////label_dec_ie1->setVisible(true);
235 ////label_dec_dg->setVisible(true);
236 ////setRegisterVisible( 8, true);
237 ////setRegisterVisible( 9, true);
238 ////setRegisterVisible(10, true);
239 ////setRegisterVisible(11, true);
240 ////setRegisterVisible(12, true);
241 ////setRegisterVisible(13, true);
242 ////setRegisterVisible(20, true);
243 ////setRegisterVisible(21, true);
244 ////setRegisterVisible(22, true);
245 ////pushButton_0_2->setText("M4");
246 ////pushButton_0_3->setText("M5");
247 ////pushButton_0_4->setText("IE1");
248 ////pushButton_0_6->setText("DG");
249 ////pushButton_1_7->setText("0");
250 ////pushButton_0_2->setToolTip("Used to change the display mode.");
251 ////pushButton_0_3->setToolTip("Used to change the display mode.");
252 ////pushButton_0_4->setToolTip("Enables interrupt from Horizontal scanning line by Interrupt Enable 1.");
253 ////pushButton_0_6->setToolTip("Sets the color bus to input mode, and inputs data into the VRAM.");
254 ////pushButton_1_7->setToolTip("");
255
256 pushButton_1_7cxx . . $ Ui_VDPRegisters#pushButton_1_7.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(""cxx . . $ QString#QString(85c52e162fed56f9).);
257 disconnectcxx . . $ QObject#disconnect(cc30ff19c637f8ed).(pushButton_0_7cxx . . $ Ui_VDPRegisters#pushButton_0_7., nullptr, nullptr, nullptr);
258 disconnectcxx . . $ QObject#disconnect(cc30ff19c637f8ed).(label_dec_416Kcxx . . $ Ui_VDPRegisters#label_dec_416K., nullptr, nullptr, nullptr);
259
260 reGroupcxx . . $ VDPRegViewer#reGroup(c6a765fbac2a8e3a).(pushButton_0_2cxx . . $ Ui_VDPRegisters#pushButton_0_2., modeBitsDispatcxx . . $ VDPRegViewer#modeBitsDispat.);
261 reGroupcxx . . $ VDPRegViewer#reGroup(c6a765fbac2a8e3a).(pushButton_0_3cxx . . $ Ui_VDPRegisters#pushButton_0_3., modeBitsDispatcxx . . $ VDPRegViewer#modeBitsDispat.);
262
263 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_0_4cxx . . $ Ui_VDPRegisters#pushButton_0_4., label_dec_ie1cxx . . $ Ui_VDPRegisters#label_dec_ie1.);
264 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_0_5cxx . . $ Ui_VDPRegisters#pushButton_0_5., label_dec_ie2cxx . . $ Ui_VDPRegisters#label_dec_ie2.);
265 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_0_6cxx . . $ Ui_VDPRegisters#pushButton_0_6., label_dec_dgcxx . . $ Ui_VDPRegisters#label_dec_dg.);
266
267 if (vdpIdcxx . . $ VDPRegViewer#vdpId. == VDP_V9938cxx . . $ VDP_V9938.) {
268 groupBox_V9958cxx . . $ Ui_VDPRegisters#groupBox_V9958.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false);
269 groupBox_dec_V9958cxx . . $ Ui_VDPRegisters#groupBox_dec_V9958.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false);
270 label_dec_ie2cxx . . $ Ui_VDPRegisters#label_dec_ie2.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
271 pushButton_0_5cxx . . $ Ui_VDPRegisters#pushButton_0_5.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("IE2"cxx . . $ QString#QString(85c52e162fed56f9).);
272 pushButton_0_5cxx . . $ Ui_VDPRegisters#pushButton_0_5.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).("Enables interrupt from light pen by Interrupt Enable 2."cxx . . $ QString#QString(85c52e162fed56f9).);
273 pushButton_8_6cxx . . $ Ui_VDPRegisters#pushButton_8_6.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("LP"cxx . . $ QString#QString(85c52e162fed56f9).);
274 pushButton_8_6cxx . . $ Ui_VDPRegisters#pushButton_8_6.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).("When 1, enables light pen. When 0, disables light pen."cxx . . $ QString#QString(85c52e162fed56f9).);
275 pushButton_8_7cxx . . $ Ui_VDPRegisters#pushButton_8_7.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("MS"cxx . . $ QString#QString(85c52e162fed56f9).);
276 pushButton_8_7cxx . . $ Ui_VDPRegisters#pushButton_8_7.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).("When 1, sets the color bus to input mode and enables mouse. When 0, sets the color bus to output mode and disables mouse."cxx . . $ QString#QString(85c52e162fed56f9).);
277 } else {
278 groupBox_V9958cxx . . $ Ui_VDPRegisters#groupBox_V9958.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
279 groupBox_dec_V9958cxx . . $ Ui_VDPRegisters#groupBox_dec_V9958.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(true);
280 label_dec_ie2cxx . . $ Ui_VDPRegisters#label_dec_ie2.->setVisiblecxx . . $ QWidget#setVisible(b45ddcbc8423892c).(false);
281 pushButton_0_5cxx . . $ Ui_VDPRegisters#pushButton_0_5.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
282 pushButton_0_5cxx . . $ Ui_VDPRegisters#pushButton_0_5.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(""cxx . . $ QString#QString(85c52e162fed56f9).);
283 pushButton_8_7cxx . . $ Ui_VDPRegisters#pushButton_8_7.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
284 pushButton_8_7cxx . . $ Ui_VDPRegisters#pushButton_8_7.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(""cxx . . $ QString#QString(85c52e162fed56f9).);
285 pushButton_8_6cxx . . $ Ui_VDPRegisters#pushButton_8_6.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
286 pushButton_8_6cxx . . $ Ui_VDPRegisters#pushButton_8_6.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(""cxx . . $ QString#QString(85c52e162fed56f9).);
287 /* Since mouse/lightpen are disabled this will affect
288 * status reg1 bit 7 (LPS) and
289 * status reg1 bit 6 (FL)
290 */
291 }
292 //break;
293 }
294 //}
295 }
296
297 static QStringcxx . . $ QString# dec2cxx . . $ dec2(ce915ed341d4a7f0).(int val)
298 {
299 return QStringcxx . . $ QString#QString(85c52e162fed56f9).("%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(val, 2, 10, QCharcxx . . $ QChar#('0'));
300 }
301 static QStringcxx . . $ QString# dec3cxx . . $ dec3(ce915ed341d4a7f0).(int val)
302 {
303 return QStringcxx . . $ QString#QString(85c52e162fed56f9).("%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(val, 3, 10, QCharcxx . . $ QChar#('0'));
304 }
305 static QStringcxx . . $ QString# hex2cxx . . $ hex2(ce915ed341d4a7f0).(int val)
306 {
307 return QStringcxx . . $ QString#QString(85c52e162fed56f9).("%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(val, 2, 16, QCharcxx . . $ QChar#('0')).toUppercxx . . $ QString#toUpper(30b3b70527b1c61a).();
308 }
309 static QStringcxx . . $ QString# hex5cxx . . $ hex5(ce915ed341d4a7f0).(int val)
310 {
311 return QStringcxx . . $ QString#QString(85c52e162fed56f9).("%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(val, 5, 16, QCharcxx . . $ QChar#('0')).toUppercxx . . $ QString#toUpper(30b3b70527b1c61a).();
312 }
313 void VDPRegViewercxx . . $ VDPRegViewer#::decodeVDPRegscxx . . $ VDPRegViewer#decodeVDPRegs(49f6e7a06ebc5aa8).()
314 {
315 // first update all hex values
316 label_val_0cxx . . $ Ui_VDPRegisters#label_val_0.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[0]));
317 label_val_1cxx . . $ Ui_VDPRegisters#label_val_1.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[1]));
318 label_val_2cxx . . $ Ui_VDPRegisters#label_val_2.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[2]));
319 label_val_3cxx . . $ Ui_VDPRegisters#label_val_3.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[3]));
320 label_val_4cxx . . $ Ui_VDPRegisters#label_val_4.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[4]));
321 label_val_5cxx . . $ Ui_VDPRegisters#label_val_5.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[5]));
322 label_val_6cxx . . $ Ui_VDPRegisters#label_val_6.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[6]));
323 label_val_7cxx . . $ Ui_VDPRegisters#label_val_7.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[7]));
324
325 // Only on V9938 and V9958 this makes sence
326 if (vdpIdcxx . . $ VDPRegViewer#vdpId. != VDP_TMS99X8cxx . . $ VDP_TMS99X8.) {
327 label_val_8cxx . . $ Ui_VDPRegisters#label_val_8. ->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[ 8]));
328 label_val_9cxx . . $ Ui_VDPRegisters#label_val_9. ->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[ 9]));
329 label_val_10cxx . . $ Ui_VDPRegisters#label_val_10.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[10]));
330 label_val_11cxx . . $ Ui_VDPRegisters#label_val_11.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[11]));
331 label_val_12cxx . . $ Ui_VDPRegisters#label_val_12.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[12]));
332 label_val_13cxx . . $ Ui_VDPRegisters#label_val_13.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[13]));
333 label_val_14cxx . . $ Ui_VDPRegisters#label_val_14.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[14]));
334 label_val_15cxx . . $ Ui_VDPRegisters#label_val_15.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[15]));
335 label_val_16cxx . . $ Ui_VDPRegisters#label_val_16.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[16]));
336 label_val_17cxx . . $ Ui_VDPRegisters#label_val_17.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[17]));
337 label_val_18cxx . . $ Ui_VDPRegisters#label_val_18.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[18]));
338 label_val_19cxx . . $ Ui_VDPRegisters#label_val_19.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[19]));
339 label_val_20cxx . . $ Ui_VDPRegisters#label_val_20.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[20]));
340 label_val_21cxx . . $ Ui_VDPRegisters#label_val_21.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[21]));
341 label_val_22cxx . . $ Ui_VDPRegisters#label_val_22.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[22]));
342 label_val_23cxx . . $ Ui_VDPRegisters#label_val_23.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[23]));
343 }
344 // Only on V9958 this makes sence
345 if (vdpIdcxx . . $ VDPRegViewer#vdpId. == VDP_V9958cxx . . $ VDP_V9958.) {
346 label_val_25cxx . . $ Ui_VDPRegisters#label_val_25.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[25]));
347 label_val_26cxx . . $ Ui_VDPRegisters#label_val_26.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[26]));
348 label_val_27cxx . . $ Ui_VDPRegisters#label_val_27.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[27]));
349 }
350
351 // determine screenmode
352 int m = ((regscxx . . $ VDPRegViewer#regs.[0] & 0x0E) << 1) | ((regscxx . . $ VDPRegViewer#regs.[1] & 0x18) >> 3);
353 const char* const screen[32] = {
354 "SCREEN 1", "SCREEN 3", "SCREEN 0",
355 "let's find out 3", "SCREEN 2", "let's find out 5",
356 "let's find out 6", "let's find out 7", "SCREEN 4",
357 "let's find out 9", "SCREEN 0 width 80", "let's find out 11",
358 "SCREEN 5", "let's find out 13", "let's find out 14",
359 "let's find out 15", "SCREEN 6", "let's find out 17",
360 "let's find out 18", "let's find out 19", "SCREEN 7",
361 "let's find out 21", "let's find out 22", "let's find out 23",
362 "let's find out 24", "let's find out 25", "let's find out 26",
363 "let's find out 27", "SCREEN 8", "let's find out 29",
364 "let's find out 30", "let's find out 31"
365 };
366 int basicscreen;
367 switch (m) {
368 case 2: basicscreen=0;break;
369 case 0: basicscreen=1;break;
370 case 4: basicscreen=2;break;
371 case 1: basicscreen=3;break;
372 case 8: basicscreen=4;break;
373 case 12: basicscreen=5;break;
374 case 16: basicscreen=6;break;
375 case 20: basicscreen=7;break;
376 case 28: basicscreen=8;break;
377 case 10: basicscreen=9;break; //screen 0 width 80
378 default: basicscreen=10; //not a valid basic screen mode
379 };
380
381 // 2 vdps, 11 basic screenmodes, 12 registers
382 static const int mustbeone[][11][12] = {
383 { // TMS99x8 MSX1 VDP chip
384 {0, 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 0;
385 {0, 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 1;
386 {0, 0, 0x00, 0x7f, 0x03, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 2;
387 {0, 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 3;
388 {0, 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 4;
389 {0, 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 5;
390 {0, 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 6;
391 {0, 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 7;
392 {0, 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 8;
393 {0, 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 0 width 80;
394 {0, 0, 0, 0, 0, 0, 0, 0, 0,0, 0, 0} // undefined basic screen;
395 },
396 { // V9938 and V9958 MSX2/2+ VDP chip
397 // Note that there is a hardcoded check for reg5 bit 2 (A9) in spritemode 2
398 // which deliberatly isn't set here in the table!
399 {0, 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 0;
400 {0, 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 1;
401 {0, 0, 0x00, 0x7f, 0x03, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 2;
402 {0, 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 3;
403 {0, 0, 0x00, 0x7f, 0x03, 0x03, 0x00, 0x00, 0,0,0,0}, // screen 4;
404 {0, 0, 0x1f, 0x00, 0x00, 0x03, 0x00, 0x00, 0,0,0,0}, // screen 5;
405 {0, 0, 0x1f, 0x00, 0x00, 0x03, 0x00, 0x00, 0,0,0,0}, // screen 6;
406 {0, 0, 0x1f, 0x00, 0x00, 0x03, 0x00, 0x00, 0,0,0,0}, // screen 7;
407 {0, 0, 0x1f, 0x00, 0x00, 0x03, 0x00, 0x00, 0,0,0,0}, // screen 8;
408 {0, 0, 0x03, 0x07, 0x00, 0x00, 0x00, 0x00, 0,0,0,0}, // screen 0 width 80;
409 {0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0} // undefined basic screen;
410 }
411
412 };
413 static const int bitsused[][11][12] = {
414 {// MSX1 = static const int VDP_TMS99X8 = 1
415 {0,1, 0x0f, 0xff, 0x07, 0x7f, 0x07, 7,8,9, 0x00, 0x00}, // screen 0;
416 {0,1, 0x0f, 0xff, 0x07, 0x7f, 0x07, 7,8,9, 0x00, 0x00}, // screen 1;
417 {0,1, 0x0f, 0xff, 0x07, 0x7f, 0x07, 7,8,9, 0x00, 0x00}, // screen 2;
418 {0,1, 0x0f, 0xff, 0x07, 0x7f, 0x07, 7,8,9, 0x00, 0x00}, // screen 3;
419 {0,1, 0x00, 0x00, 0x00, 0x00, 0x00, 7,8,9, 0x00, 0x00}, // screen 4;
420 {0,1, 0x00, 0x00, 0x00, 0x00, 0x00, 7,8,9, 0x00, 0x00}, // screen 5;
421 {0,1, 0x00, 0x00, 0x00, 0x00, 0x00, 7,8,9, 0x00, 0x00}, // screen 6;
422 {0,1, 0x00, 0x00, 0x00, 0x00, 0x00, 7,8,9, 0x00, 0x00}, // screen 7;
423 {0,1, 0x00, 0x00, 0x00, 0x00, 0x00, 7,8,9, 0x00, 0x00}, // screen 8;
424 {0,1, 0x00, 0x00, 0x00, 0x00, 0x00, 7,8,9, 0x00, 0x00}, // screen 0 width 80;
425 {255,255,255,255,255,255,255,255,255,255,255,255} // undefined basic screen;
426 },
427 { // MSX2 = static const int VDP_V9938 = 0;
428 {0,1, 0x7f, 0xff, 0x3f, 0xff, 0x3f, 7,8,9, 0x07, 0x03}, // screen 0;
429 {0,1, 0x7f, 0xff, 0x3f, 0xff, 0x3f, 7,8,9, 0x07, 0x03}, // screen 1;
430 {0,1, 0x7f, 0xff, 0x3f, 0xff, 0x3f, 7,8,9, 0x07, 0x03}, // screen 2;
431 {0,1, 0x7f, 0xff, 0x3f, 0xff, 0x3f, 7,8,9, 0x07, 0x03}, // screen 3;
432 {0,1, 0x7f, 0xff, 0x3f, 0xfc, 0x3f, 7,8,9, 0x07, 0x03}, // screen 4;
433 {0,1, 0x7f, 0xff, 0x3f, 0xfc, 0x3f, 7,8,9, 0x07, 0x03}, // screen 5;
434 {0,1, 0x7f, 0xff, 0x3f, 0xfc, 0x3f, 7,8,9, 0x07, 0x03}, // screen 6;
435 {0,1, 0x7f, 0xff, 0x3f, 0xfc, 0x3f, 7,8,9, 0x07, 0x03}, // screen 7;
436 {0,1, 0x7f, 0xff, 0x3f, 0xfc, 0x3f, 7,8,9, 0x07, 0x03}, // screen 8;
437 {0,1, 0x7f, 0xff, 0x3f, 0xff, 0x3f, 7,8,9, 0x07, 0x03}, // screen 0 width 80;
438 {255,255,255,255,255,255,255,255,255,255,255,255} // undefined basic screen;
439 }
440 };
441
442 // update all the individual bits
443 int upper_r = (vdpIdcxx . . $ VDPRegViewer#vdpId. == VDP_TMS99X8cxx . . $ VDP_TMS99X8.) ? 7 : (vdpIdcxx . . $ VDPRegViewer#vdpId. == VDP_V9938cxx . . $ VDP_V9938.) ? 23 : 27;
444 for (int r = 0; r <= upper_r; ++r) {
445 if (r == 24) continue;
446 for (int b = 7; b >= 0; --b) {
447 QStringcxx . . $ QString# name = QStringcxx . . $ QString#QString(85c52e162fed56f9).("pushButton_%1_%2").argcxx . . $ QString#arg(64ab2ed17cc11715).(r).argcxx . . $ QString#arg(64ab2ed17cc11715).(b);
448 auto* i = findChildcxx . . $ QObject#findChild(d560e1421e3a90b4).<InteractiveButtoncxx . . $ InteractiveButton#*>(name);
449 i->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(regscxx . . $ VDPRegViewer#regs.[r] & (1 << b));
450 if (r < 12) {
451 i->mustBeSetcxx . . $ InteractiveButton#mustBeSet(b45ddcbc8423892c).(mustbeone[(vdpIdcxx . . $ VDPRegViewer#vdpId. == VDP_TMS99X8cxx . . $ VDP_TMS99X8.) ? 0 : 1][basicscreen][r] & (1 << b));
452 // if A8 of R5 is a 'must-be-one' then we indicate this for A9 also
453 // This bit is cleared in the table since it isn't used in the Sprite
454 // Attribute Table address calculation otherwise, but will only impact the
455 // Sprite Color Table
456 if (r == 5 && b == 2 && vdpIdcxx . . $ VDPRegViewer#vdpId. != VDP_TMS99X8cxx . . $ VDP_TMS99X8. && mustbeone[1][basicscreen][5]) {
457 i->mustBeSetcxx . . $ InteractiveButton#mustBeSet(b45ddcbc8423892c).(true);
458 }
459 }
460 }
461 }
462
463 // Start the interpretation
464 label_dec_ie2cxx . . $ Ui_VDPRegisters#label_dec_ie2.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[0] & 32)
465 ? "Interrupt from lightpen enabled"
466 : "Interrupt from lightpen disabled");
467 label_dec_ie1cxx . . $ Ui_VDPRegisters#label_dec_ie1.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[0] & 16)
468 ? "Reg 19 scanline interrupt enabled"
469 : "Reg 19 scanline interrupt disabled");
470
471 if (vdpIdcxx . . $ VDPRegViewer#vdpId. != VDP_TMS99X8cxx . . $ VDP_TMS99X8.) {
472 if (m == 20 || m == 28) {
473 pushButton_2_6cxx . . $ Ui_VDPRegisters#pushButton_2_6.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("0"cxx . . $ QString#QString(85c52e162fed56f9).);
474 pushButton_2_5cxx . . $ Ui_VDPRegisters#pushButton_2_5.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A16"cxx . . $ QString#QString(85c52e162fed56f9).);
475 pushButton_2_4cxx . . $ Ui_VDPRegisters#pushButton_2_4.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A15"cxx . . $ QString#QString(85c52e162fed56f9).);
476 pushButton_2_3cxx . . $ Ui_VDPRegisters#pushButton_2_3.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A14"cxx . . $ QString#QString(85c52e162fed56f9).);
477 pushButton_2_2cxx . . $ Ui_VDPRegisters#pushButton_2_2.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A13"cxx . . $ QString#QString(85c52e162fed56f9).);
478 pushButton_2_1cxx . . $ Ui_VDPRegisters#pushButton_2_1.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A12"cxx . . $ QString#QString(85c52e162fed56f9).);
479 pushButton_2_0cxx . . $ Ui_VDPRegisters#pushButton_2_0.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A11"cxx . . $ QString#QString(85c52e162fed56f9).);
480 } else {
481 pushButton_2_6cxx . . $ Ui_VDPRegisters#pushButton_2_6.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A16"cxx . . $ QString#QString(85c52e162fed56f9).);
482 pushButton_2_5cxx . . $ Ui_VDPRegisters#pushButton_2_5.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A15"cxx . . $ QString#QString(85c52e162fed56f9).);
483 pushButton_2_4cxx . . $ Ui_VDPRegisters#pushButton_2_4.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A14"cxx . . $ QString#QString(85c52e162fed56f9).);
484 pushButton_2_3cxx . . $ Ui_VDPRegisters#pushButton_2_3.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A13"cxx . . $ QString#QString(85c52e162fed56f9).);
485 pushButton_2_2cxx . . $ Ui_VDPRegisters#pushButton_2_2.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A12"cxx . . $ QString#QString(85c52e162fed56f9).);
486 pushButton_2_1cxx . . $ Ui_VDPRegisters#pushButton_2_1.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A11"cxx . . $ QString#QString(85c52e162fed56f9).);
487 pushButton_2_0cxx . . $ Ui_VDPRegisters#pushButton_2_0.->setTextcxx . . $ QAbstractButton#setText(3520e46b33348bf6).("A10"cxx . . $ QString#QString(85c52e162fed56f9).);
488 }
489 }
490
491 if (m == 28 && vdpIdcxx . . $ VDPRegViewer#vdpId. == VDP_V9958cxx . . $ VDP_V9958.) {
492 bool yjk = (regscxx . . $ VDPRegViewer#regs.[25] & 8);
493 bool yae = (regscxx . . $ VDPRegViewer#regs.[25] & 16);
494 int scr = yjk ? (yae ? 10 : 12) : 8;
495 label_dec_mcxx . . $ Ui_VDPRegisters#label_dec_m.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("M=%1%2%3 : SCREEN %4")
496 .argcxx . . $ QString#arg(64ab2ed17cc11715).(m)
497 .argcxx . . $ QString#arg(bc823072288cbbb5).(yjkcxx . . $ QString#QString(85c52e162fed56f9). ? "+YJK" : "")
498 .argcxx . . $ QString#arg(bc823072288cbbb5).(yaecxx . . $ QString#QString(85c52e162fed56f9). ? "+YAE" : "")
499 .argcxx . . $ QString#arg(64ab2ed17cc11715).(scr));
500 } else {
501 label_dec_mcxx . . $ Ui_VDPRegisters#label_dec_m.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("M=%1 : %2")
502 .argcxx . . $ QString#arg(64ab2ed17cc11715).(m)
503 .argcxx . . $ QString#arg(bc823072288cbbb5).(screencxx . . $ QString#QString(85c52e162fed56f9).[m]));
504 }
505
506 label_dec_blcxx . . $ Ui_VDPRegisters#label_dec_bl.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[1] & 64)
507 ? "Display enabled"
508 : "Display disabled");
509 label_dec_ie0cxx . . $ Ui_VDPRegisters#label_dec_ie0.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[1] & 32)
510 ? "V-Blank interrupt enabled"
511 : "V-Blank interrupt disabled");
512
513 label_dec_sicxx . . $ Ui_VDPRegisters#label_dec_si.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[1] & 2)
514 ? "16x16 sprites"
515 : "8x8 sprites");
516 label_dec_magcxx . . $ Ui_VDPRegisters#label_dec_mag.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[1] & 1)
517 ? "magnified sprites"
518 : "regular sized");
519
520
521
522 // Now calculate the addresses of all tables
523 // TODO : clean up code and get rid of all the mustbeset bits for regs>5 since there are never must bits.
524
525
526 // some variables used for readability of the code below
527 int row = vdpIdcxx . . $ VDPRegViewer#vdpId. == VDP_TMS99X8cxx . . $ VDP_TMS99X8. ? 0 : 1;
528 QStringcxx . . $ QString# regtexttextcxx . . $ QString#QString(ced63f7c635d850d).;
529 int must,must2;
530
531 // the pattern name table address
532 must=mustbeone[row][basicscreen][2] ;
533 long nameTable = ((255^must) & bitsused[row][basicscreen][2] & regscxx . . $ VDPRegViewer#regs.[2]) << 10;
534 if ((m == 20 || m == 28) && vdpIdcxx . . $ VDPRegViewer#vdpId. != VDP_TMS99X8cxx . . $ VDP_TMS99X8.)
535 nameTable = ((nameTable & 0xffff) << 1) | ((nameTable & 0x10000) >> 16);
536 regtexttext =cxx . . $ QString#`operator=`(4f35bf974e7f8568). hex5cxx . . $ hex5(ce915ed341d4a7f0).(nameTable);
537
538 if ((must & regscxx . . $ VDPRegViewer#regs.[2]) != must) {
539 label_dec_r2cxx . . $ Ui_VDPRegisters#label_dec_r2.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).("<font color=red>" +cxx . . $ operator+(c75c3ae4eb9af1a8). regtexttext +cxx . . $ operator+(3d22f08efddf8107)."</font>");
540 label_dec_r2cxx . . $ Ui_VDPRegisters#label_dec_r2.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).("Some of the obligatory 1 bits are reset!"cxx . . $ QString#QString(85c52e162fed56f9).);
541 } else {
542 label_dec_r2cxx . . $ Ui_VDPRegisters#label_dec_r2.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(regtexttext);
543 label_dec_r2cxx . . $ Ui_VDPRegisters#label_dec_r2.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(nullptrcxx . . $ QString#QString(85c52e162fed56f9).);
544 }
545
546 // the color table address
547 must=mustbeone[row][basicscreen][3] ;
548 must2=mustbeone[row][basicscreen][10] ;
549 regtexttext=cxx . . $ QString#`operator=`(4f35bf974e7f8568).hex5cxx . . $ hex5(ce915ed341d4a7f0).(
550 (
551 ((255 ^ must ) & bitsused[row][basicscreen][ 3] & regscxx . . $ VDPRegViewer#regs.[ 3]) << 6
552 ) | (
553 ((255 ^ must2) & bitsused[row][basicscreen][10] & regscxx . . $ VDPRegViewer#regs.[10]) << 14
554 )
555 );
556 if (((must & regscxx . . $ VDPRegViewer#regs.[3]) != must) || ((must2 & regscxx . . $ VDPRegViewer#regs.[10]) != must2)) {
557 label_dec_r3cxx . . $ Ui_VDPRegisters#label_dec_r3.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).("<font color=red>" +cxx . . $ operator+(c75c3ae4eb9af1a8). regtexttext +cxx . . $ operator+(3d22f08efddf8107)."</font>");
558 label_dec_r3cxx . . $ Ui_VDPRegisters#label_dec_r3.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).("Some of the obligatory 1 bits are reset!"cxx . . $ QString#QString(85c52e162fed56f9).);
559 } else {
560 label_dec_r3cxx . . $ Ui_VDPRegisters#label_dec_r3.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(regtexttext);
561 label_dec_r3cxx . . $ Ui_VDPRegisters#label_dec_r3.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(nullptrcxx . . $ QString#QString(85c52e162fed56f9).);
562 }
563
564 // the pattern generator address
565 must=mustbeone[row][basicscreen][4] ;
566 regtexttext=cxx . . $ QString#`operator=`(4f35bf974e7f8568).hex5cxx . . $ hex5(ce915ed341d4a7f0).(
567 (
568 (255 ^ must) & bitsused[row][basicscreen][4] & regscxx . . $ VDPRegViewer#regs.[4]) << 11
569 );
570 if ((must & regscxx . . $ VDPRegViewer#regs.[4]) != must) {
571 label_dec_r4cxx . . $ Ui_VDPRegisters#label_dec_r4.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).("<font color=red>" +cxx . . $ operator+(c75c3ae4eb9af1a8). regtexttext +cxx . . $ operator+(3d22f08efddf8107)."</font>");
572 label_dec_r4cxx . . $ Ui_VDPRegisters#label_dec_r4.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).("Some of the obligatory 1 bits are reset!"cxx . . $ QString#QString(85c52e162fed56f9).);
573 } else {
574 label_dec_r4cxx . . $ Ui_VDPRegisters#label_dec_r4.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(regtexttext);
575 label_dec_r4cxx . . $ Ui_VDPRegisters#label_dec_r4.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(nullptrcxx . . $ QString#QString(85c52e162fed56f9).);
576 }
577
578 // the sprite attribute tabel address
579 must = mustbeone[row][basicscreen][ 5];
580 must2 = mustbeone[row][basicscreen][11];
581 regtexttext =cxx . . $ QString#`operator=`(4f35bf974e7f8568). hex5cxx . . $ hex5(ce915ed341d4a7f0).(
582 (
583 (((255^must) & bitsused[row][basicscreen][ 5] & regscxx . . $ VDPRegViewer#regs.[ 5]) << 7) |
584 (((255^must2) & bitsused[row][basicscreen][11] & regscxx . . $ VDPRegViewer#regs.[11]) << 15))
585 );
586 if (((must & regscxx . . $ VDPRegViewer#regs.[5]) != must) || ((must2 & regscxx . . $ VDPRegViewer#regs.[11]) != must2)) {
587 label_dec_r5cxx . . $ Ui_VDPRegisters#label_dec_r5.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).("<font color=red>" +cxx . . $ operator+(c75c3ae4eb9af1a8). regtexttext +cxx . . $ operator+(3d22f08efddf8107)."</font>");
588 label_dec_r5cxx . . $ Ui_VDPRegisters#label_dec_r5.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).("Some of the obligatory 1 bits are reset!"cxx . . $ QString#QString(85c52e162fed56f9).);
589 } else {
590 label_dec_r5cxx . . $ Ui_VDPRegisters#label_dec_r5.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(regtexttext);
591 label_dec_r5cxx . . $ Ui_VDPRegisters#label_dec_r5.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).(nullptrcxx . . $ QString#QString(85c52e162fed56f9).);
592 };
593 // special case for sprite mode 2
594 if (must && !(4 & regscxx . . $ VDPRegViewer#regs.[ 5])) { // only in mode2 there are some 'must'-bits :-)
595 label_dec_r5cxx . . $ Ui_VDPRegisters#label_dec_r5.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).("<font color=red>" +cxx . . $ operator+(c75c3ae4eb9af1a8). regtexttext +cxx . . $ operator+(3d22f08efddf8107)."</font>");
596 label_dec_r5cxx . . $ Ui_VDPRegisters#label_dec_r5.->setToolTipcxx . . $ QWidget#setToolTip(3520e46b33348bf6).("Bit A9 should be set, to obtain the Sprite Color Table address this bit is masked<br>With the current bit reset the Color Tabel will use the same address as the Sprite Attribute Table!"cxx . . $ QString#QString(85c52e162fed56f9).);
597 };
598
599
600 // the sprite pattern generator address
601 label_dec_r6cxx . . $ Ui_VDPRegisters#label_dec_r6.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex5cxx . . $ hex5(ce915ed341d4a7f0).(
602 ((255^mustbeone[row][basicscreen][6]) & bitsused[row][basicscreen][6] & regscxx . . $ VDPRegViewer#regs.[6]) << 11));
603
604 // end of address calculations
605
606 label_dec_tccxx . . $ Ui_VDPRegisters#label_dec_tc.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(dec2cxx . . $ dec2(ce915ed341d4a7f0).((regscxx . . $ VDPRegViewer#regs.[7] >> 4) & 15));
607 label_dec_bdcxx . . $ Ui_VDPRegisters#label_dec_bd.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(dec2cxx . . $ dec2(ce915ed341d4a7f0).((regscxx . . $ VDPRegViewer#regs.[7] >> 0) & 15));
608
609 if (vdpIdcxx . . $ VDPRegViewer#vdpId. != VDP_TMS99X8cxx . . $ VDP_TMS99X8.) {
610 label_dec_dgcxx . . $ Ui_VDPRegisters#label_dec_dg.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[0] & 64)
611 ? "Color bus set for input"
612 : "Color bus set for output");
613 label_dec_tpcxx . . $ Ui_VDPRegisters#label_dec_tp.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[8] & 32)
614 ? "Color 0 uses the color registers"
615 : "Color 0 is transparent (=shows border)");
616 label_dec_spdcxx . . $ Ui_VDPRegisters#label_dec_spd.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[8] & 2)
617 ? "Sprites disabled"
618 : "Sprites enabled");
619
620 label_dec_lncxx . . $ Ui_VDPRegisters#label_dec_ln.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[9] & 128) ? "212" : "192");
621 label_dec_ilcxx . . $ Ui_VDPRegisters#label_dec_il.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[9] & 8) ? "interlaced" : "non-interlaced");
622 label_dec_eocxx . . $ Ui_VDPRegisters#label_dec_eo.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[9] & 4) ? "alternate pages" : "same page");
623 label_dec_ntcxx . . $ Ui_VDPRegisters#label_dec_nt.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[9] & 2) ? "PAL" : "NTSC");
624
625 label_dec_t2cxx . . $ Ui_VDPRegisters#label_dec_t2. ->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(dec2cxx . . $ dec2(ce915ed341d4a7f0).((regscxx . . $ VDPRegViewer#regs.[12] >> 4) & 15));
626 label_dec_bccxx . . $ Ui_VDPRegisters#label_dec_bc. ->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(dec2cxx . . $ dec2(ce915ed341d4a7f0).((regscxx . . $ VDPRegViewer#regs.[12] >> 0) & 15));
627 label_dec_oncxx . . $ Ui_VDPRegisters#label_dec_on. ->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(dec2cxx . . $ dec2(ce915ed341d4a7f0).((regscxx . . $ VDPRegViewer#regs.[13] >> 4) & 15));
628 label_dec_offcxx . . $ Ui_VDPRegisters#label_dec_off.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(dec2cxx . . $ dec2(ce915ed341d4a7f0).((regscxx . . $ VDPRegViewer#regs.[13] >> 0) & 15));
629
630 int x = ((regscxx . . $ VDPRegViewer#regs.[18] >> 0) & 15);
631 int y = ((regscxx . . $ VDPRegViewer#regs.[18] >> 4) & 15);
632 x = x > 7 ? 16 - x : -x;
633 y = y > 7 ? 16 - y : -y;
634 label_dec_r18cxx . . $ Ui_VDPRegisters#label_dec_r18.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("(%1,%2)").argcxx . . $ QString#arg(64ab2ed17cc11715).(x).argcxx . . $ QString#arg(64ab2ed17cc11715).(y));
635
636 label_dec_r19cxx . . $ Ui_VDPRegisters#label_dec_r19.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(dec3cxx . . $ dec3(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[19]));
637 label_dec_r23cxx . . $ Ui_VDPRegisters#label_dec_r23.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(dec3cxx . . $ dec3(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[23]));
638
639 auto& dataStore = VDPDataStorecxx . . $ VDPDataStore#::instancecxx . . $ VDPDataStore#instance(6179f7cf4255f5b).();
640 label_dec_r14cxx . . $ Ui_VDPRegisters#label_dec_r14.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(hex5cxx . . $ hex5(ce915ed341d4a7f0).(((regscxx . . $ VDPRegViewer#regs.[14] & 7) << 14) | ((regscxx . . $ VDPRegViewer#regs.[81] & 63) << 8) | regscxx . . $ VDPRegViewer#regs.[80])
641 .appendcxx . . $ QString#append(d02845eef0c33901).(dataStore.getVramAccessStatusAvailablecxx . . $ VDPDataStore#getVramAccessStatusAvailable(50ce9a9e25b4a850).() ? (regscxx . . $ VDPRegViewer#regs.[85] ? ", write" : ", read") : ""));
642
643 label_dec_r15cxx . . $ Ui_VDPRegisters#label_dec_r15.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(dec2cxx . . $ dec2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[15] & 15));
644 label_dec_r16cxx . . $ Ui_VDPRegisters#label_dec_r16.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(dec2cxx . . $ dec2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[16] & 15));
645 label_dec_r17cxx . . $ Ui_VDPRegisters#label_dec_r17.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(dec3cxx . . $ dec3(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[17] & 63).appendcxx . . $ QString#append(d02845eef0c33901).((regscxx . . $ VDPRegViewer#regs.[17] & 128) ? "" : ", auto incr"));
646
647 label_dec_latchcxx . . $ Ui_VDPRegisters#label_dec_latch.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(dataStore.getRegisterLatchAvailablecxx . . $ VDPDataStore#getRegisterLatchAvailable(50ce9a9e25b4a850).() ?
648 QStringcxx . . $ QString#QString(85c52e162fed56f9).("%1/%2")
649 .argcxx . . $ QString#arg(bc823072288cbbb5).(hex2cxx . . $ hex2(ce915ed341d4a7f0).(regscxx . . $ VDPRegViewer#regs.[84]))
650 .argcxx . . $ QString#arg(bc823072288cbbb5).(regscxx . . $ QString#QString(85c52e162fed56f9).[82] ? "register" : "value") : "---/---"cxx . . $ QString#QString(85c52e162fed56f9).);
651 }
652
653 //V9958 registers
654 if (vdpIdcxx . . $ VDPRegViewer#vdpId. == VDP_V9958cxx . . $ VDP_V9958.) {
655 label_dec_r26cxx . . $ Ui_VDPRegisters#label_dec_r26.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("horizontal scroll %1")
656 .argcxx . . $ QString#arg(64ab2ed17cc11715).((regscxx . . $ VDPRegViewer#regs.[26] & 63) * 8 - (7 & regscxx . . $ VDPRegViewer#regs.[27])));
657 label_dec_sp2cxx . . $ Ui_VDPRegisters#label_dec_sp2.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[25] & 1)
658 ? "Scroll uses 2 pages"
659 : "Scroll same page");
660 label_dec_mskcxx . . $ Ui_VDPRegisters#label_dec_msk.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[25] & 2)
661 ? "Hide 8 leftmost pixels"
662 : "No masking");
663 label_dec_wtecxx . . $ Ui_VDPRegisters#label_dec_wte.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[25] & 4)
664 ? "CPU Waitstate enabled"
665 : "CPU Waitstate disabled");
666 if (regscxx . . $ VDPRegViewer#regs.[25] & 8) {
667 label_dec_yjkcxx . . $ Ui_VDPRegisters#label_dec_yjk.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).("YJK System"cxx . . $ QString#QString(85c52e162fed56f9).);
668 label_dec_yaecxx . . $ Ui_VDPRegisters#label_dec_yae.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[25] & 16)
669 ? "Attribute enabled (Y=4bits)"
670 : "regular YJK (Y=5bits)");
671 } else {
672 label_dec_yjkcxx . . $ Ui_VDPRegisters#label_dec_yjk.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).("Normal RGB"cxx . . $ QString#QString(85c52e162fed56f9).);
673 label_dec_yaecxx . . $ Ui_VDPRegisters#label_dec_yae.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).("Ignored (YJK disabled)"cxx . . $ QString#QString(85c52e162fed56f9).);
674 }
675 label_dec_vdscxx . . $ Ui_VDPRegisters#label_dec_vds.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[25] & 32)
676 ? "Pin8 is /VDS"
677 : "Pin8 is CPUCLK");
678 label_dec_cmdcxx . . $ Ui_VDPRegisters#label_dec_cmd.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).((cxx . . $ QString#QString(85c52e162fed56f9).regscxx . . $ VDPRegViewer#regs.[25] & 64)
679 ? "CMD engine in char modes"
680 : "V9938 VDP CMD engine");
681 }
682 }
683
684 void VDPRegViewercxx . . $ VDPRegViewer#::doConnectcxx . . $ VDPRegViewer#doConnect(c6a765fbac2a8e3a).(InteractiveButtoncxx . . $ InteractiveButton#* but, buttonHighlightDispatchercxx . . $ buttonHighlightDispatcher#* dis)
685 {
686 connectcxx . . $ QObject#connect(835f87066c895669).(but, &InteractiveButtoncxx . . $ InteractiveButton#::mouseOvercxx . . $ InteractiveButton#mouseOver(b45ddcbc8423892c).,
687 dis, &buttonHighlightDispatchercxx . . $ buttonHighlightDispatcher#::receiveStatecxx . . $ buttonHighlightDispatcher#receiveState(b45ddcbc8423892c).);
688 connectcxx . . $ QObject#connect(835f87066c895669).(dis, &buttonHighlightDispatchercxx . . $ buttonHighlightDispatcher#::stateDispatchedcxx . . $ buttonHighlightDispatcher#stateDispatched(b45ddcbc8423892c).,
689 but, &InteractiveButtoncxx . . $ InteractiveButton#::highlightcxx . . $ InteractiveButton#highlight(b45ddcbc8423892c).);
690 }
691
692 void VDPRegViewercxx . . $ VDPRegViewer#::monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(InteractiveButtoncxx . . $ InteractiveButton#* but, InteractiveLabelcxx . . $ InteractiveLabel#* lab)
693 {
694 connectcxx . . $ QObject#connect(835f87066c895669).(lab, &InteractiveLabelcxx . . $ InteractiveLabel# ::mouseOvercxx . . $ InteractiveLabel#mouseOver(b45ddcbc8423892c)., but, &InteractiveButtoncxx . . $ InteractiveButton#::highlightcxx . . $ InteractiveButton#highlight(b45ddcbc8423892c).);
695 connectcxx . . $ QObject#connect(835f87066c895669).(but, &InteractiveButtoncxx . . $ InteractiveButton#::mouseOvercxx . . $ InteractiveButton#mouseOver(b45ddcbc8423892c)., lab, &InteractiveLabelcxx . . $ InteractiveLabel# ::highlightcxx . . $ InteractiveLabel#highlight(b45ddcbc8423892c).);
696 connectcxx . . $ QObject#connect(835f87066c895669).(lab, &InteractiveLabelcxx . . $ InteractiveLabel# ::mouseOvercxx . . $ InteractiveLabel#mouseOver(b45ddcbc8423892c)., lab, &InteractiveLabelcxx . . $ InteractiveLabel# ::highlightcxx . . $ InteractiveLabel#highlight(b45ddcbc8423892c).);
697 connectcxx . . $ QObject#connect(835f87066c895669).(but, &InteractiveButtoncxx . . $ InteractiveButton#::mouseOvercxx . . $ InteractiveButton#mouseOver(b45ddcbc8423892c)., but, &InteractiveButtoncxx . . $ InteractiveButton#::highlightcxx . . $ InteractiveButton#highlight(b45ddcbc8423892c).);
698 }
699
700 void VDPRegViewercxx . . $ VDPRegViewer#::reGroupcxx . . $ VDPRegViewer#reGroup(c6a765fbac2a8e3a).(InteractiveButtoncxx . . $ InteractiveButton#* item, buttonHighlightDispatchercxx . . $ buttonHighlightDispatcher#* dispat)
701 {
702 //button must re-highlight itself
703 connectcxx . . $ QObject#connect(835f87066c895669).(item, &InteractiveButtoncxx . . $ InteractiveButton#::mouseOvercxx . . $ InteractiveButton#mouseOver(b45ddcbc8423892c)., item, &InteractiveButtoncxx . . $ InteractiveButton#::highlightcxx . . $ InteractiveButton#highlight(b45ddcbc8423892c).);
704 // and then talk to dispatcher
705 doConnectcxx . . $ VDPRegViewer#doConnect(c6a765fbac2a8e3a).(item, dispat);
706 }
707
708 buttonHighlightDispatchercxx . . $ buttonHighlightDispatcher#* VDPRegViewercxx . . $ VDPRegViewer#::makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(
709 const QListcxx . . $ QList#<InteractiveButtoncxx . . $ InteractiveButton#*>& list, InteractiveLabelcxx . . $ InteractiveLabel#* explained)
710 {
711 // First "steal" the Tooltip of the explained widget.
712 //for (auto* item : list) {
713 // item->setToolTip(explained->toolTip());
714 //}
715
716 // Create a dispatcher and connect all to them
717 auto* dispat = new buttonHighlightDispatchercxx . . $ buttonHighlightDispatcher#();
718 connectcxx . . $ QObject#connect(835f87066c895669).(explained, &InteractiveLabelcxx . . $ InteractiveLabel#::mouseOvercxx . . $ InteractiveLabel#mouseOver(b45ddcbc8423892c).,
719 dispat, &buttonHighlightDispatchercxx . . $ buttonHighlightDispatcher#::receiveStatecxx . . $ buttonHighlightDispatcher#receiveState(b45ddcbc8423892c).);
720 connectcxx . . $ QObject#connect(835f87066c895669).(dispat, &buttonHighlightDispatchercxx . . $ buttonHighlightDispatcher#::stateDispatchedcxx . . $ buttonHighlightDispatcher#stateDispatched(b45ddcbc8423892c).,
721 explained, &InteractiveLabelcxx . . $ InteractiveLabel#::highlightcxx . . $ InteractiveLabel#highlight(b45ddcbc8423892c).);
722 for (auto* item : list) {
723 doConnectcxx . . $ VDPRegViewer#doConnect(c6a765fbac2a8e3a).(item, dispat);
724 }
725 return dispat;
726 }
727
728 void VDPRegViewercxx . . $ VDPRegViewer#::connectHighLightscxx . . $ VDPRegViewer#connectHighLights(49f6e7a06ebc5aa8).()
729 {
730 // Before connecting the highlights we connect the special
731 // 'Toggled Bit' event
732 // Warning: This function is not available with MSVC 6!! Not that it
733 // matters to me on my Linux environment :-)
734 QListcxx . . $ QList#<InteractiveButtoncxx . . $ InteractiveButton#*> list = findChildrencxx . . $ QObject#findChildren(ebc97c843616cfa2).<InteractiveButtoncxx . . $ InteractiveButton#*>();
735 for (auto* item : list) {
736 connectcxx . . $ QObject#connect(835f87066c895669).(item, &InteractiveButtoncxx . . $ InteractiveButton#::newBitValuecxx . . $ InteractiveButton#newBitValue(6908015b96d379c0).,
737 this, &VDPRegViewercxx . . $ VDPRegViewer#::registerBitChangedcxx . . $ VDPRegViewer#registerBitChanged(6908015b96d379c0).);
738 }
739
740 // register 0 (+M1,M2)
741 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_0_5cxx . . $ Ui_VDPRegisters#pushButton_0_5., label_dec_ie2cxx . . $ Ui_VDPRegisters#label_dec_ie2.);
742 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_0_4cxx . . $ Ui_VDPRegisters#pushButton_0_4., label_dec_ie1cxx . . $ Ui_VDPRegisters#label_dec_ie1.);
743
744 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
745 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_0_3cxx . . $ Ui_VDPRegisters#pushButton_0_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_0_2cxx . . $ Ui_VDPRegisters#pushButton_0_2. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_0_1cxx . . $ Ui_VDPRegisters#pushButton_0_1.;
746 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_1_4cxx . . $ Ui_VDPRegisters#pushButton_1_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_1_3cxx . . $ Ui_VDPRegisters#pushButton_1_3.;
747 modeBitsDispatcxx . . $ VDPRegViewer#modeBitsDispat. = makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_mcxx . . $ Ui_VDPRegisters#label_dec_m.);
748
749 // register 1
750 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_1_6cxx . . $ Ui_VDPRegisters#pushButton_1_6., label_dec_blcxx . . $ Ui_VDPRegisters#label_dec_bl.);
751 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_1_5cxx . . $ Ui_VDPRegisters#pushButton_1_5., label_dec_ie0cxx . . $ Ui_VDPRegisters#label_dec_ie0.);
752 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_1_1cxx . . $ Ui_VDPRegisters#pushButton_1_1., label_dec_sicxx . . $ Ui_VDPRegisters#label_dec_si.);
753 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_1_0cxx . . $ Ui_VDPRegisters#pushButton_1_0., label_dec_magcxx . . $ Ui_VDPRegisters#label_dec_mag.);
754
755 // register 8
756 //monoGroup(pushButton_8_7, label_dec_ms);
757 //monoGroup(pushButton_8_6, label_dec_lp);
758 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_8_5cxx . . $ Ui_VDPRegisters#pushButton_8_5., label_dec_tpcxx . . $ Ui_VDPRegisters#label_dec_tp.);
759 //monoGroup(pushButton_8_4, label_dec_cb);
760 //monoGroup(pushButton_8_3, label_dec_vr);
761 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_8_1cxx . . $ Ui_VDPRegisters#pushButton_8_1., label_dec_spdcxx . . $ Ui_VDPRegisters#label_dec_spd.);
762 //monoGroup(pushButton_8_0, label_dec_bw);
763
764 // register 9
765 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_9_7cxx . . $ Ui_VDPRegisters#pushButton_9_7., label_dec_lncxx . . $ Ui_VDPRegisters#label_dec_ln.);
766 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
767 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_9_5cxx . . $ Ui_VDPRegisters#pushButton_9_5. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_9_4cxx . . $ Ui_VDPRegisters#pushButton_9_4.;
768 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_mcxx . . $ Ui_VDPRegisters#label_dec_m.); //TODO fix label
769 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_9_3cxx . . $ Ui_VDPRegisters#pushButton_9_3., label_dec_ilcxx . . $ Ui_VDPRegisters#label_dec_il.);
770 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_9_2cxx . . $ Ui_VDPRegisters#pushButton_9_2., label_dec_eocxx . . $ Ui_VDPRegisters#label_dec_eo.);
771 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_9_1cxx . . $ Ui_VDPRegisters#pushButton_9_1., label_dec_ntcxx . . $ Ui_VDPRegisters#label_dec_nt.);
772 //monoGroup(pushButton_9_0, label_dec_dc);
773
774 // register 2
775 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
776 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_2_7cxx . . $ Ui_VDPRegisters#pushButton_2_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_2_6cxx . . $ Ui_VDPRegisters#pushButton_2_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_2_5cxx . . $ Ui_VDPRegisters#pushButton_2_5.;
777 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_2_4cxx . . $ Ui_VDPRegisters#pushButton_2_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_2_3cxx . . $ Ui_VDPRegisters#pushButton_2_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_2_2cxx . . $ Ui_VDPRegisters#pushButton_2_2.;
778 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_2_1cxx . . $ Ui_VDPRegisters#pushButton_2_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_2_0cxx . . $ Ui_VDPRegisters#pushButton_2_0.;
779 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_r2cxx . . $ Ui_VDPRegisters#label_dec_r2.);
780
781 // register 3 + 10
782 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
783 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_3_7cxx . . $ Ui_VDPRegisters#pushButton_3_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_3_6cxx . . $ Ui_VDPRegisters#pushButton_3_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_3_5cxx . . $ Ui_VDPRegisters#pushButton_3_5.;
784 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_3_4cxx . . $ Ui_VDPRegisters#pushButton_3_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_3_3cxx . . $ Ui_VDPRegisters#pushButton_3_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_3_2cxx . . $ Ui_VDPRegisters#pushButton_3_2.;
785 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_3_1cxx . . $ Ui_VDPRegisters#pushButton_3_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_3_0cxx . . $ Ui_VDPRegisters#pushButton_3_0.;
786 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_10_7cxx . . $ Ui_VDPRegisters#pushButton_10_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_10_6cxx . . $ Ui_VDPRegisters#pushButton_10_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_10_5cxx . . $ Ui_VDPRegisters#pushButton_10_5.;
787 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_10_4cxx . . $ Ui_VDPRegisters#pushButton_10_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_10_3cxx . . $ Ui_VDPRegisters#pushButton_10_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_10_2cxx . . $ Ui_VDPRegisters#pushButton_10_2.;
788 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_10_1cxx . . $ Ui_VDPRegisters#pushButton_10_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_10_0cxx . . $ Ui_VDPRegisters#pushButton_10_0.;
789 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_r3cxx . . $ Ui_VDPRegisters#label_dec_r3.);
790
791 // register 4
792 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
793 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_4_7cxx . . $ Ui_VDPRegisters#pushButton_4_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_4_6cxx . . $ Ui_VDPRegisters#pushButton_4_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_4_5cxx . . $ Ui_VDPRegisters#pushButton_4_5.;
794 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_4_4cxx . . $ Ui_VDPRegisters#pushButton_4_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_4_3cxx . . $ Ui_VDPRegisters#pushButton_4_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_4_2cxx . . $ Ui_VDPRegisters#pushButton_4_2.;
795 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_4_1cxx . . $ Ui_VDPRegisters#pushButton_4_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_4_0cxx . . $ Ui_VDPRegisters#pushButton_4_0.;
796 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_r4cxx . . $ Ui_VDPRegisters#label_dec_r4.);
797
798 // register 5 + 11
799 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
800 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_5_7cxx . . $ Ui_VDPRegisters#pushButton_5_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_5_6cxx . . $ Ui_VDPRegisters#pushButton_5_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_5_5cxx . . $ Ui_VDPRegisters#pushButton_5_5.;
801 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_5_4cxx . . $ Ui_VDPRegisters#pushButton_5_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_5_3cxx . . $ Ui_VDPRegisters#pushButton_5_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_5_2cxx . . $ Ui_VDPRegisters#pushButton_5_2.;
802 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_5_1cxx . . $ Ui_VDPRegisters#pushButton_5_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_5_0cxx . . $ Ui_VDPRegisters#pushButton_5_0.;
803 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_11_7cxx . . $ Ui_VDPRegisters#pushButton_11_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_11_6cxx . . $ Ui_VDPRegisters#pushButton_11_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_11_5cxx . . $ Ui_VDPRegisters#pushButton_11_5.;
804 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_11_4cxx . . $ Ui_VDPRegisters#pushButton_11_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_11_3cxx . . $ Ui_VDPRegisters#pushButton_11_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_11_2cxx . . $ Ui_VDPRegisters#pushButton_11_2.;
805 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_11_1cxx . . $ Ui_VDPRegisters#pushButton_11_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_11_0cxx . . $ Ui_VDPRegisters#pushButton_11_0.;
806 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_r5cxx . . $ Ui_VDPRegisters#label_dec_r5.);
807
808 // register 6
809 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
810 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_6_7cxx . . $ Ui_VDPRegisters#pushButton_6_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_6_6cxx . . $ Ui_VDPRegisters#pushButton_6_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_6_5cxx . . $ Ui_VDPRegisters#pushButton_6_5.;
811 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_6_4cxx . . $ Ui_VDPRegisters#pushButton_6_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_6_3cxx . . $ Ui_VDPRegisters#pushButton_6_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_6_2cxx . . $ Ui_VDPRegisters#pushButton_6_2.;
812 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_6_1cxx . . $ Ui_VDPRegisters#pushButton_6_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_6_0cxx . . $ Ui_VDPRegisters#pushButton_6_0.;
813 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_r6cxx . . $ Ui_VDPRegisters#label_dec_r6.);
814
815 // register 7
816 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
817 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_7_7cxx . . $ Ui_VDPRegisters#pushButton_7_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_7_6cxx . . $ Ui_VDPRegisters#pushButton_7_6.;
818 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_7_5cxx . . $ Ui_VDPRegisters#pushButton_7_5. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_7_4cxx . . $ Ui_VDPRegisters#pushButton_7_4.;
819 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_tccxx . . $ Ui_VDPRegisters#label_dec_tc.);
820
821 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
822 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_7_3cxx . . $ Ui_VDPRegisters#pushButton_7_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_7_2cxx . . $ Ui_VDPRegisters#pushButton_7_2.;
823 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_7_1cxx . . $ Ui_VDPRegisters#pushButton_7_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_7_0cxx . . $ Ui_VDPRegisters#pushButton_7_0.;
824 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_bdcxx . . $ Ui_VDPRegisters#label_dec_bd.);
825
826 // register 12
827 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
828 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_12_7cxx . . $ Ui_VDPRegisters#pushButton_12_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_12_6cxx . . $ Ui_VDPRegisters#pushButton_12_6.;
829 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_12_5cxx . . $ Ui_VDPRegisters#pushButton_12_5. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_12_4cxx . . $ Ui_VDPRegisters#pushButton_12_4.;
830 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_t2cxx . . $ Ui_VDPRegisters#label_dec_t2.);
831
832 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
833 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_12_3cxx . . $ Ui_VDPRegisters#pushButton_12_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_12_2cxx . . $ Ui_VDPRegisters#pushButton_12_2.;
834 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_12_1cxx . . $ Ui_VDPRegisters#pushButton_12_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_12_0cxx . . $ Ui_VDPRegisters#pushButton_12_0.;
835 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_bccxx . . $ Ui_VDPRegisters#label_dec_bc.);
836
837 // register 13
838 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
839 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_13_7cxx . . $ Ui_VDPRegisters#pushButton_13_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_13_6cxx . . $ Ui_VDPRegisters#pushButton_13_6.;
840 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_13_5cxx . . $ Ui_VDPRegisters#pushButton_13_5. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_13_4cxx . . $ Ui_VDPRegisters#pushButton_13_4.;
841 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_oncxx . . $ Ui_VDPRegisters#label_dec_on.);
842
843 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
844 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_13_3cxx . . $ Ui_VDPRegisters#pushButton_13_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_13_2cxx . . $ Ui_VDPRegisters#pushButton_13_2.;
845 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_13_1cxx . . $ Ui_VDPRegisters#pushButton_13_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_13_0cxx . . $ Ui_VDPRegisters#pushButton_13_0.;
846 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_offcxx . . $ Ui_VDPRegisters#label_dec_off.);
847
848 // register 14
849 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
850 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_14_7cxx . . $ Ui_VDPRegisters#pushButton_14_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_14_6cxx . . $ Ui_VDPRegisters#pushButton_14_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_14_5cxx . . $ Ui_VDPRegisters#pushButton_14_5.;
851 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_14_4cxx . . $ Ui_VDPRegisters#pushButton_14_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_14_3cxx . . $ Ui_VDPRegisters#pushButton_14_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_14_2cxx . . $ Ui_VDPRegisters#pushButton_14_2.;
852 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_14_1cxx . . $ Ui_VDPRegisters#pushButton_14_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_14_0cxx . . $ Ui_VDPRegisters#pushButton_14_0.;
853 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_r14cxx . . $ Ui_VDPRegisters#label_dec_r14.);
854
855 // register 15
856 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
857 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_15_7cxx . . $ Ui_VDPRegisters#pushButton_15_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_15_6cxx . . $ Ui_VDPRegisters#pushButton_15_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_15_5cxx . . $ Ui_VDPRegisters#pushButton_15_5.;
858 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_15_4cxx . . $ Ui_VDPRegisters#pushButton_15_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_15_3cxx . . $ Ui_VDPRegisters#pushButton_15_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_15_2cxx . . $ Ui_VDPRegisters#pushButton_15_2.;
859 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_15_1cxx . . $ Ui_VDPRegisters#pushButton_15_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_15_0cxx . . $ Ui_VDPRegisters#pushButton_15_0.;
860 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_r15cxx . . $ Ui_VDPRegisters#label_dec_r15.);
861
862 // register 16
863 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
864 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_16_7cxx . . $ Ui_VDPRegisters#pushButton_16_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_16_6cxx . . $ Ui_VDPRegisters#pushButton_16_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_16_5cxx . . $ Ui_VDPRegisters#pushButton_16_5.;
865 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_16_4cxx . . $ Ui_VDPRegisters#pushButton_16_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_16_3cxx . . $ Ui_VDPRegisters#pushButton_16_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_16_2cxx . . $ Ui_VDPRegisters#pushButton_16_2.;
866 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_16_1cxx . . $ Ui_VDPRegisters#pushButton_16_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_16_0cxx . . $ Ui_VDPRegisters#pushButton_16_0.;
867 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_r16cxx . . $ Ui_VDPRegisters#label_dec_r16.);
868
869 // register 17
870 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
871 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_17_7cxx . . $ Ui_VDPRegisters#pushButton_17_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_17_6cxx . . $ Ui_VDPRegisters#pushButton_17_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_17_5cxx . . $ Ui_VDPRegisters#pushButton_17_5.;
872 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_17_4cxx . . $ Ui_VDPRegisters#pushButton_17_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_17_3cxx . . $ Ui_VDPRegisters#pushButton_17_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_17_2cxx . . $ Ui_VDPRegisters#pushButton_17_2.;
873 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_17_1cxx . . $ Ui_VDPRegisters#pushButton_17_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_17_0cxx . . $ Ui_VDPRegisters#pushButton_17_0.;
874 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_r17cxx . . $ Ui_VDPRegisters#label_dec_r17.);
875
876 // register 18
877 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
878 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_18_7cxx . . $ Ui_VDPRegisters#pushButton_18_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_18_6cxx . . $ Ui_VDPRegisters#pushButton_18_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_18_5cxx . . $ Ui_VDPRegisters#pushButton_18_5.;
879 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_18_4cxx . . $ Ui_VDPRegisters#pushButton_18_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_18_3cxx . . $ Ui_VDPRegisters#pushButton_18_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_18_2cxx . . $ Ui_VDPRegisters#pushButton_18_2.;
880 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_18_1cxx . . $ Ui_VDPRegisters#pushButton_18_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_18_0cxx . . $ Ui_VDPRegisters#pushButton_18_0.;
881 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_r18cxx . . $ Ui_VDPRegisters#label_dec_r18.);
882
883 // register 19
884 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
885 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_19_7cxx . . $ Ui_VDPRegisters#pushButton_19_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_19_6cxx . . $ Ui_VDPRegisters#pushButton_19_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_19_5cxx . . $ Ui_VDPRegisters#pushButton_19_5.;
886 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_19_4cxx . . $ Ui_VDPRegisters#pushButton_19_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_19_3cxx . . $ Ui_VDPRegisters#pushButton_19_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_19_2cxx . . $ Ui_VDPRegisters#pushButton_19_2.;
887 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_19_1cxx . . $ Ui_VDPRegisters#pushButton_19_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_19_0cxx . . $ Ui_VDPRegisters#pushButton_19_0.;
888 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_r19cxx . . $ Ui_VDPRegisters#label_dec_r19.);
889
890 // register 23
891 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
892 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_23_7cxx . . $ Ui_VDPRegisters#pushButton_23_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_23_6cxx . . $ Ui_VDPRegisters#pushButton_23_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_23_5cxx . . $ Ui_VDPRegisters#pushButton_23_5.;
893 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_23_4cxx . . $ Ui_VDPRegisters#pushButton_23_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_23_3cxx . . $ Ui_VDPRegisters#pushButton_23_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_23_2cxx . . $ Ui_VDPRegisters#pushButton_23_2.;
894 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_23_1cxx . . $ Ui_VDPRegisters#pushButton_23_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_23_0cxx . . $ Ui_VDPRegisters#pushButton_23_0.;
895 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_r23cxx . . $ Ui_VDPRegisters#label_dec_r23.);
896
897 // register 25
898 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_25_0cxx . . $ Ui_VDPRegisters#pushButton_25_0., label_dec_sp2cxx . . $ Ui_VDPRegisters#label_dec_sp2.);
899 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_25_1cxx . . $ Ui_VDPRegisters#pushButton_25_1., label_dec_mskcxx . . $ Ui_VDPRegisters#label_dec_msk.);
900 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_25_2cxx . . $ Ui_VDPRegisters#pushButton_25_2., label_dec_wtecxx . . $ Ui_VDPRegisters#label_dec_wte.);
901 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_25_3cxx . . $ Ui_VDPRegisters#pushButton_25_3., label_dec_yjkcxx . . $ Ui_VDPRegisters#label_dec_yjk.);
902 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_25_4cxx . . $ Ui_VDPRegisters#pushButton_25_4., label_dec_yaecxx . . $ Ui_VDPRegisters#label_dec_yae.);
903 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_25_5cxx . . $ Ui_VDPRegisters#pushButton_25_5., label_dec_vdscxx . . $ Ui_VDPRegisters#label_dec_vds.);
904 monoGroupcxx . . $ VDPRegViewer#monoGroup(ce43f77d041b96fb).(pushButton_25_6cxx . . $ Ui_VDPRegisters#pushButton_25_6., label_dec_cmdcxx . . $ Ui_VDPRegisters#label_dec_cmd.);
905
906 // register 26
907 list.clearcxx . . $ QList#clear(49f6e7a06ebc5aa8).();
908 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_26_7cxx . . $ Ui_VDPRegisters#pushButton_26_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_26_6cxx . . $ Ui_VDPRegisters#pushButton_26_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_26_5cxx . . $ Ui_VDPRegisters#pushButton_26_5.;
909 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_26_4cxx . . $ Ui_VDPRegisters#pushButton_26_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_26_3cxx . . $ Ui_VDPRegisters#pushButton_26_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_26_2cxx . . $ Ui_VDPRegisters#pushButton_26_2.;
910 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_26_1cxx . . $ Ui_VDPRegisters#pushButton_26_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_26_0cxx . . $ Ui_VDPRegisters#pushButton_26_0.;
911 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_27_7cxx . . $ Ui_VDPRegisters#pushButton_27_7. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_27_6cxx . . $ Ui_VDPRegisters#pushButton_27_6. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_27_5cxx . . $ Ui_VDPRegisters#pushButton_27_5.;
912 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_27_4cxx . . $ Ui_VDPRegisters#pushButton_27_4. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_27_3cxx . . $ Ui_VDPRegisters#pushButton_27_3. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_27_2cxx . . $ Ui_VDPRegisters#pushButton_27_2.;
913 list <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_27_1cxx . . $ Ui_VDPRegisters#pushButton_27_1. <<cxx . . $ QList#`operator<<`(309d1580d8f5dc58). pushButton_27_0cxx . . $ Ui_VDPRegisters#pushButton_27_0.;
914 makeGroupcxx . . $ VDPRegViewer#makeGroup(a5c58e82782125d3).(list, label_dec_r26cxx . . $ Ui_VDPRegisters#label_dec_r26.);
915 }
916
917 void VDPRegViewercxx . . $ VDPRegViewer#::refreshcxx . . $ VDPRegViewer#refresh(49f6e7a06ebc5aa8).()
918 {
919 auto& dataStore = VDPDataStorecxx . . $ VDPDataStore#::instancecxx . . $ VDPDataStore#instance(6179f7cf4255f5b).();
920 bool registerLatchAvailable = dataStore.getRegisterLatchAvailablecxx . . $ VDPDataStore#getRegisterLatchAvailable(50ce9a9e25b4a850).();
921 bool paletteLatchAvailable = dataStore.getPaletteLatchAvailablecxx . . $ VDPDataStore#getPaletteLatchAvailable(50ce9a9e25b4a850).();
922 bool dataLatchAvailable = dataStore.getDataLatchAvailablecxx . . $ VDPDataStore#getDataLatchAvailable(50ce9a9e25b4a850).();
923 bool vramAccessStatusAvailable = dataStore.getVramAccessStatusAvailablecxx . . $ VDPDataStore#getVramAccessStatusAvailable(50ce9a9e25b4a850).();
924
925 // three to six different requests now combined in a single one:
926 QStringcxx . . $ QString# req = QStringcxx . . $ QString#QString(85c52e162fed56f9).(
927 "debug_bin2hex "
928 "[ debug read_block {VDP regs} 0 64 ]"
929 "[ debug read_block {VDP status regs} 0 16 ]"
930 "[ debug read_block {VRAM pointer} 0 2 ]%1%2%3%4")
931 .argcxx . . $ QString#arg(bc823072288cbbb5).(registerLatchAvailablecxx . . $ QString#QString(85c52e162fed56f9). ? "[debug read_block {VDP register latch status} 0 1]" : "")
932 .argcxx . . $ QString#arg(bc823072288cbbb5).(paletteLatchAvailablecxx . . $ QString#QString(85c52e162fed56f9). ? "[debug read_block {VDP palette latch status} 0 1]" : "")
933 .argcxx . . $ QString#arg(bc823072288cbbb5).(dataLatchAvailablecxx . . $ QString#QString(85c52e162fed56f9). ? "[debug read_block {VDP data latch value} 0 1]" : "")
934 .argcxx . . $ QString#arg(bc823072288cbbb5).(vramAccessStatusAvailablecxx . . $ QString#QString(85c52e162fed56f9). ? "[debug read_block {VRAM access status} 0 1]" : "");
935
936 int total = sizeof(regscxx . . $ VDPRegViewer#regs.) - !registerLatchAvailable - !paletteLatchAvailable - !dataLatchAvailable
937 - !vramAccessStatusAvailable;
938 new SimpleHexRequestcxx . . $ SimpleHexRequest#SimpleHexRequest(4f6612937cba2cbb).(req, total, regscxx . . $ VDPRegViewer#regs., *this);
939 }
940
941 void VDPRegViewercxx . . $ VDPRegViewer#::DataHexRequestReceivedcxx . . $ VDPRegViewer#DataHexRequestReceived(49f6e7a06ebc5aa8).()
942 {
943 decodeStatusVDPRegscxx . . $ VDPRegViewer#decodeStatusVDPRegs(49f6e7a06ebc5aa8).();
944 decodeVDPRegscxx . . $ VDPRegViewer#decodeVDPRegs(49f6e7a06ebc5aa8).();
945 }
946
947 void VDPRegViewercxx . . $ VDPRegViewer#::registerBitChangedcxx . . $ VDPRegViewer#registerBitChanged(6908015b96d379c0).(int reg, int bit, bool state)
948 {
949 // maybe this call is the result of our own SetChecked (VDPDataStorte
950 // update event)
951 if ((state ? 1 : 0) == (regscxx . . $ VDPRegViewer#regs.[reg] & (1 << bit))) {
952 return;
953 }
954
955 // state does not correspond to the current register setting so we send
956 // an update command
957 if (state) {
958 regscxx . . $ VDPRegViewer#regs.[reg] |= (1 << bit);
959 } else {
960 regscxx . . $ VDPRegViewer#regs.[reg] &= ~(1 << bit);
961 }
962 CommClientcxx . . $ CommClient#::instancecxx . . $ CommClient#instance(8cca9d0b1334f685).().sendCommandcxx . . $ CommClient#sendCommand(6fe5d9dff2ed3a64).(
963 new SimpleCommandcxx . . $ SimpleCommand#(
964 QStringcxx . . $ QString#QString(85c52e162fed56f9).("debug write {VDP regs} %1 %2").argcxx . . $ QString#arg(64ab2ed17cc11715).(reg).argcxx . . $ QString#arg(64ab2ed17cc11715).(regscxx . . $ VDPRegViewer#regs.[reg])));
965
966 // Update display without waiting for the VDPDataStore update
967 decodeVDPRegscxx . . $ VDPRegViewer#decodeVDPRegs(49f6e7a06ebc5aa8).();
968 // and then we could request an update nevertheless since some other
969 // objects might want to see this change through the VDPDataStore also
970 // :-)
971 // VDPDataStore::instance().refresh();
972 }
973
974 void VDPRegViewercxx . . $ VDPRegViewer#::on_VDPcomboBox_currentIndexChangedcxx . . $ VDPRegViewer#on_VDPcomboBox_currentIndexChanged(d4f767463ce0a6b3).(int index)
975 {
976 switch (index) {
977 case 0:
978 vdpIdcxx . . $ VDPRegViewer#vdpId. = VDP_V9958cxx . . $ VDP_V9958.;
979 break;
980 case 1:
981 vdpIdcxx . . $ VDPRegViewer#vdpId. = VDP_V9938cxx . . $ VDP_V9938.;
982 break;
983 case 2:
984 vdpIdcxx . . $ VDPRegViewer#vdpId. = VDP_TMS99X8cxx . . $ VDP_TMS99X8.;
985 break;
986 }
987 decodeStatusVDPRegscxx . . $ VDPRegViewer#decodeStatusVDPRegs(49f6e7a06ebc5aa8).();
988 decodeVDPRegscxx . . $ VDPRegViewer#decodeVDPRegs(49f6e7a06ebc5aa8).();
989 }