added disasembly and better demo program

This commit is contained in:
zanostro 2025-11-15 17:00:57 +01:00
parent 280a3b62fc
commit ad3078ba48
3 changed files with 651 additions and 105 deletions

View file

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1137</width>
<width>1172</width>
<height>649</height>
</rect>
</property>
@ -17,7 +17,7 @@
<widget class="QWidget" name="widget" native="true">
<property name="geometry">
<rect>
<x>0</x>
<x>10</x>
<y>0</y>
<width>431</width>
<height>601</height>
@ -27,7 +27,7 @@
<property name="geometry">
<rect>
<x>0</x>
<y>280</y>
<y>80</y>
<width>431</width>
<height>321</height>
</rect>
@ -48,8 +48,8 @@
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>20</x>
<y>41</y>
<x>10</x>
<y>40</y>
<width>57</width>
<height>20</height>
</rect>
@ -150,8 +150,8 @@
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>20</x>
<y>71</y>
<x>10</x>
<y>70</y>
<width>57</width>
<height>20</height>
</rect>
@ -198,8 +198,8 @@
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>20</x>
<y>101</y>
<x>10</x>
<y>100</y>
<width>57</width>
<height>20</height>
</rect>
@ -246,8 +246,8 @@
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>20</x>
<y>131</y>
<x>10</x>
<y>130</y>
<width>57</width>
<height>20</height>
</rect>
@ -294,8 +294,8 @@
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>20</x>
<y>161</y>
<x>10</x>
<y>160</y>
<width>57</width>
<height>20</height>
</rect>
@ -352,8 +352,8 @@
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>20</x>
<y>191</y>
<x>10</x>
<y>190</y>
<width>57</width>
<height>20</height>
</rect>
@ -380,8 +380,8 @@
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>20</x>
<y>221</y>
<x>10</x>
<y>220</y>
<width>57</width>
<height>20</height>
</rect>
@ -428,8 +428,8 @@
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>20</x>
<y>250</y>
<x>10</x>
<y>249</y>
<width>57</width>
<height>20</height>
</rect>
@ -476,8 +476,8 @@
<widget class="QLabel" name="label_12">
<property name="geometry">
<rect>
<x>20</x>
<y>281</y>
<x>10</x>
<y>280</y>
<width>57</width>
<height>20</height>
</rect>
@ -528,7 +528,7 @@
<x>0</x>
<y>0</y>
<width>431</width>
<height>161</height>
<height>81</height>
</rect>
</property>
<property name="title">
@ -537,8 +537,8 @@
<widget class="QPushButton" name="StartBtn">
<property name="geometry">
<rect>
<x>40</x>
<y>70</y>
<x>30</x>
<y>40</y>
<width>80</width>
<height>23</height>
</rect>
@ -550,8 +550,8 @@
<widget class="QPushButton" name="StopBtn">
<property name="geometry">
<rect>
<x>180</x>
<y>70</y>
<x>170</x>
<y>40</y>
<width>80</width>
<height>23</height>
</rect>
@ -563,8 +563,8 @@
<widget class="QPushButton" name="StepBtn">
<property name="geometry">
<rect>
<x>320</x>
<y>70</y>
<x>310</x>
<y>40</y>
<width>80</width>
<height>23</height>
</rect>
@ -578,9 +578,9 @@
<widget class="QWidget" name="widget_2" native="true">
<property name="geometry">
<rect>
<x>430</x>
<x>450</x>
<y>0</y>
<width>711</width>
<width>721</width>
<height>601</height>
</rect>
</property>
@ -590,11 +590,11 @@
<x>0</x>
<y>0</y>
<width>711</width>
<height>251</height>
<height>291</height>
</rect>
</property>
<property name="title">
<string>GroupBox</string>
<string>Memory</string>
</property>
<widget class="QScrollArea" name="MemoryScrollArea">
<property name="geometry">
@ -602,7 +602,7 @@
<x>0</x>
<y>20</y>
<width>711</width>
<height>171</height>
<height>221</height>
</rect>
</property>
<property name="widgetResizable">
@ -614,7 +614,7 @@
<x>0</x>
<y>0</y>
<width>709</width>
<height>169</height>
<height>219</height>
</rect>
</property>
</widget>
@ -622,79 +622,245 @@
<widget class="QPushButton" name="MemoryInc4096Btn">
<property name="geometry">
<rect>
<x>460</x>
<y>200</y>
<width>121</width>
<x>450</x>
<y>250</y>
<width>71</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&gt;&gt; M[+0x01000]</string>
<string>&gt;&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="MemoryInc256Btn">
<property name="geometry">
<rect>
<x>360</x>
<y>200</y>
<width>101</width>
<x>370</x>
<y>250</y>
<width>71</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&gt; M[+0x00100]</string>
<string>&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="MemoryInc65536Btn">
<property name="geometry">
<rect>
<x>580</x>
<y>200</y>
<width>121</width>
<x>530</x>
<y>250</y>
<width>71</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&gt;&gt;&gt; M[+0x10000]</string>
<string>&gt;&gt;&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="MemoryDec256Btn">
<property name="geometry">
<rect>
<x>250</x>
<y>200</y>
<width>101</width>
<x>290</x>
<y>250</y>
<width>71</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&lt; M[-0x00100]</string>
<string>&lt;</string>
</property>
</widget>
<widget class="QPushButton" name="MemoryDec4096Btn">
<property name="geometry">
<rect>
<x>130</x>
<y>200</y>
<width>121</width>
<x>210</x>
<y>250</y>
<width>71</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&lt;&lt; M[-0x01000]</string>
<string>&lt;&lt;</string>
</property>
</widget>
<widget class="QPushButton" name="MemoryDec65536Btn">
<property name="geometry">
<rect>
<x>10</x>
<y>200</y>
<width>121</width>
<x>130</x>
<y>250</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>&lt;&lt;&lt; M[-0x10000]</string>
<string>&lt;&lt;&lt;</string>
</property>
</widget>
<widget class="QPushButton" name="MemoryGoToStart_2">
<property name="geometry">
<rect>
<x>50</x>
<y>250</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>O</string>
</property>
</widget>
<widget class="QPushButton" name="MemoryGoToEnd">
<property name="geometry">
<rect>
<x>610</x>
<y>250</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>|</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="MemorygroupBox_3">
<property name="geometry">
<rect>
<x>0</x>
<y>300</y>
<width>711</width>
<height>301</height>
</rect>
</property>
<property name="title">
<string>Disasembly</string>
</property>
<widget class="QScrollArea" name="DisasemblyScrollArea">
<property name="geometry">
<rect>
<x>0</x>
<y>20</y>
<width>711</width>
<height>221</height>
</rect>
</property>
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents_3">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>709</width>
<height>219</height>
</rect>
</property>
</widget>
</widget>
<widget class="QPushButton" name="DisasmInc4096Btn">
<property name="geometry">
<rect>
<x>440</x>
<y>250</y>
<width>71</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&gt;&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="DisasmInc256Btn">
<property name="geometry">
<rect>
<x>360</x>
<y>250</y>
<width>71</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="DisasmInc65536Btn">
<property name="geometry">
<rect>
<x>520</x>
<y>250</y>
<width>71</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&gt;&gt;&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="DisasmDec256Btn">
<property name="geometry">
<rect>
<x>280</x>
<y>250</y>
<width>71</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&lt;</string>
</property>
</widget>
<widget class="QPushButton" name="DisasmDec4096Btn">
<property name="geometry">
<rect>
<x>200</x>
<y>250</y>
<width>71</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&lt;&lt;</string>
</property>
</widget>
<widget class="QPushButton" name="DisasmDec65536Btn">
<property name="geometry">
<rect>
<x>120</x>
<y>250</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>&lt;&lt;&lt;</string>
</property>
</widget>
<widget class="QPushButton" name="DisasmGoToStart">
<property name="geometry">
<rect>
<x>40</x>
<y>250</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>O</string>
</property>
</widget>
<widget class="QPushButton" name="DisasmGoToEnd">
<property name="geometry">
<rect>
<x>600</x>
<y>250</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>|</string>
</property>
</widget>
</widget>
@ -705,7 +871,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1137</width>
<width>1172</width>
<height>20</height>
</rect>
</property>