├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── LICENSE.md ├── PowerTableMonitor.Designer.cs ├── PowerTableMonitor.cs ├── PowerTableMonitor.resx ├── Prebuilt └── ZenStates-Core.dll ├── Program.cs ├── Properties ├── AssemblyInfo.cs ├── Resources.Designer.cs └── Resources.resx ├── README.md ├── Resources ├── ZenStatesDebug.ico └── new-icon │ ├── drawing.svg │ ├── drawing_128.png │ ├── drawing_16.png │ ├── drawing_24.png │ ├── drawing_256.png │ ├── drawing_32.png │ ├── drawing_48.png │ ├── drawing_512.png │ ├── drawing_64.png │ └── drawing_96.png ├── ResultForm.Designer.cs ├── ResultForm.cs ├── ResultForm.resx ├── SMUDebugTool.exe.manifest ├── SMUMonitor.Designer.cs ├── SMUMonitor.cs ├── SMUMonitor.resx ├── SettingsForm.Designer.cs ├── SettingsForm.cs ├── SettingsForm.resx ├── Utils ├── CoreListItem.cs ├── FrequencyListItem.cs ├── MailboxListItem.cs ├── NUMAUtil.cs ├── SmuAddressSet.cs └── WmiCmdListItem.cs ├── ZenStatesDebug.ico ├── ZenStatesDebugTool.csproj ├── ZenStatesDebugTool.sln ├── app.config ├── app.manifest ├── packages.config └── screenshot.png /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: irusanov 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. Windows 7] 28 | - CPU Model [e.g. AMD Ryzen 9 3900X] 29 | - Motherboard Model [e.g. Asus Crosshair VI Hero] 30 | - Version [e.g. 22] 31 | 32 | **Additional context** 33 | Add any other context about the problem here. 34 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.rsuser 8 | *.suo 9 | *.user 10 | *.userosscache 11 | *.sln.docstates 12 | 13 | # User-specific files (MonoDevelop/Xamarin Studio) 14 | *.userprefs 15 | 16 | # Mono auto generated files 17 | mono_crash.* 18 | 19 | # Build results 20 | [Dd]ebug/ 21 | [Dd]ebugPublic/ 22 | [Rr]elease/ 23 | [Rr]eleases/ 24 | x64/ 25 | x86/ 26 | [Aa][Rr][Mm]/ 27 | [Aa][Rr][Mm]64/ 28 | bld/ 29 | [Bb]in/ 30 | [Oo]bj/ 31 | [Ll]og/ 32 | 33 | # Visual Studio 2015/2017 cache/options directory 34 | .vs/ 35 | # Uncomment if you have tasks that create the project's static files in wwwroot 36 | #wwwroot/ 37 | 38 | # Visual Studio 2017 auto generated files 39 | Generated\ Files/ 40 | 41 | # MSTest test Results 42 | [Tt]est[Rr]esult*/ 43 | [Bb]uild[Ll]og.* 44 | 45 | # NUnit 46 | *.VisualState.xml 47 | TestResult.xml 48 | nunit-*.xml 49 | 50 | # Build Results of an ATL Project 51 | [Dd]ebugPS/ 52 | [Rr]eleasePS/ 53 | dlldata.c 54 | 55 | # Benchmark Results 56 | BenchmarkDotNet.Artifacts/ 57 | 58 | # .NET Core 59 | project.lock.json 60 | project.fragment.lock.json 61 | artifacts/ 62 | 63 | # StyleCop 64 | StyleCopReport.xml 65 | 66 | # Files built by Visual Studio 67 | *_i.c 68 | *_p.c 69 | *_h.h 70 | *.ilk 71 | *.meta 72 | *.obj 73 | *.iobj 74 | *.pch 75 | *.pdb 76 | *.ipdb 77 | *.pgc 78 | *.pgd 79 | *.rsp 80 | *.sbr 81 | *.tlb 82 | *.tli 83 | *.tlh 84 | *.tmp 85 | *.tmp_proj 86 | *_wpftmp.csproj 87 | *.log 88 | *.vspscc 89 | *.vssscc 90 | .builds 91 | *.pidb 92 | *.svclog 93 | *.scc 94 | 95 | # Chutzpah Test files 96 | _Chutzpah* 97 | 98 | # Visual C++ cache files 99 | ipch/ 100 | *.aps 101 | *.ncb 102 | *.opendb 103 | *.opensdf 104 | *.sdf 105 | *.cachefile 106 | *.VC.db 107 | *.VC.VC.opendb 108 | 109 | # Visual Studio profiler 110 | *.psess 111 | *.vsp 112 | *.vspx 113 | *.sap 114 | 115 | # Visual Studio Trace Files 116 | *.e2e 117 | 118 | # TFS 2012 Local Workspace 119 | $tf/ 120 | 121 | # Guidance Automation Toolkit 122 | *.gpState 123 | 124 | # ReSharper is a .NET coding add-in 125 | _ReSharper*/ 126 | *.[Rr]e[Ss]harper 127 | *.DotSettings.user 128 | 129 | # JustCode is a .NET coding add-in 130 | .JustCode 131 | 132 | # TeamCity is a build add-in 133 | _TeamCity* 134 | 135 | # DotCover is a Code Coverage Tool 136 | *.dotCover 137 | 138 | # AxoCover is a Code Coverage Tool 139 | .axoCover/* 140 | !.axoCover/settings.json 141 | 142 | # Visual Studio code coverage results 143 | *.coverage 144 | *.coveragexml 145 | 146 | # NCrunch 147 | _NCrunch_* 148 | .*crunch*.local.xml 149 | nCrunchTemp_* 150 | 151 | # MightyMoose 152 | *.mm.* 153 | AutoTest.Net/ 154 | 155 | # Web workbench (sass) 156 | .sass-cache/ 157 | 158 | # Installshield output folder 159 | [Ee]xpress/ 160 | 161 | # DocProject is a documentation generator add-in 162 | DocProject/buildhelp/ 163 | DocProject/Help/*.HxT 164 | DocProject/Help/*.HxC 165 | DocProject/Help/*.hhc 166 | DocProject/Help/*.hhk 167 | DocProject/Help/*.hhp 168 | DocProject/Help/Html2 169 | DocProject/Help/html 170 | 171 | # Click-Once directory 172 | publish/ 173 | 174 | # Publish Web Output 175 | *.[Pp]ublish.xml 176 | *.azurePubxml 177 | # Note: Comment the next line if you want to checkin your web deploy settings, 178 | # but database connection strings (with potential passwords) will be unencrypted 179 | *.pubxml 180 | *.publishproj 181 | 182 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 183 | # checkin your Azure Web App publish settings, but sensitive information contained 184 | # in these scripts will be unencrypted 185 | PublishScripts/ 186 | 187 | # NuGet Packages 188 | *.nupkg 189 | # NuGet Symbol Packages 190 | *.snupkg 191 | # The packages folder can be ignored because of Package Restore 192 | **/[Pp]ackages/* 193 | # except build/, which is used as an MSBuild target. 194 | !**/[Pp]ackages/build/ 195 | # Uncomment if necessary however generally it will be regenerated when needed 196 | #!**/[Pp]ackages/repositories.config 197 | # NuGet v3's project.json files produces more ignorable files 198 | *.nuget.props 199 | *.nuget.targets 200 | 201 | # Microsoft Azure Build Output 202 | csx/ 203 | *.build.csdef 204 | 205 | # Microsoft Azure Emulator 206 | ecf/ 207 | rcf/ 208 | 209 | # Windows Store app package directories and files 210 | AppPackages/ 211 | BundleArtifacts/ 212 | Package.StoreAssociation.xml 213 | _pkginfo.txt 214 | *.appx 215 | *.appxbundle 216 | *.appxupload 217 | 218 | # Visual Studio cache files 219 | # files ending in .cache can be ignored 220 | *.[Cc]ache 221 | # but keep track of directories ending in .cache 222 | !?*.[Cc]ache/ 223 | 224 | # Others 225 | ClientBin/ 226 | ~$* 227 | *~ 228 | *.dbmdl 229 | *.dbproj.schemaview 230 | *.jfm 231 | *.pfx 232 | *.publishsettings 233 | orleans.codegen.cs 234 | 235 | # Including strong name files can present a security risk 236 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 237 | #*.snk 238 | 239 | # Since there are multiple workflows, uncomment next line to ignore bower_components 240 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 241 | #bower_components/ 242 | 243 | # RIA/Silverlight projects 244 | Generated_Code/ 245 | 246 | # Backup & report files from converting an old project file 247 | # to a newer Visual Studio version. Backup files are not needed, 248 | # because we have git ;-) 249 | _UpgradeReport_Files/ 250 | Backup*/ 251 | UpgradeLog*.XML 252 | UpgradeLog*.htm 253 | ServiceFabricBackup/ 254 | *.rptproj.bak 255 | 256 | # SQL Server files 257 | *.mdf 258 | *.ldf 259 | *.ndf 260 | 261 | # Business Intelligence projects 262 | *.rdl.data 263 | *.bim.layout 264 | *.bim_*.settings 265 | *.rptproj.rsuser 266 | *- [Bb]ackup.rdl 267 | *- [Bb]ackup ([0-9]).rdl 268 | *- [Bb]ackup ([0-9][0-9]).rdl 269 | 270 | # Microsoft Fakes 271 | FakesAssemblies/ 272 | 273 | # GhostDoc plugin setting file 274 | *.GhostDoc.xml 275 | 276 | # Node.js Tools for Visual Studio 277 | .ntvs_analysis.dat 278 | node_modules/ 279 | 280 | # Visual Studio 6 build log 281 | *.plg 282 | 283 | # Visual Studio 6 workspace options file 284 | *.opt 285 | 286 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 287 | *.vbw 288 | 289 | # Visual Studio LightSwitch build output 290 | **/*.HTMLClient/GeneratedArtifacts 291 | **/*.DesktopClient/GeneratedArtifacts 292 | **/*.DesktopClient/ModelManifest.xml 293 | **/*.Server/GeneratedArtifacts 294 | **/*.Server/ModelManifest.xml 295 | _Pvt_Extensions 296 | 297 | # Paket dependency manager 298 | .paket/paket.exe 299 | paket-files/ 300 | 301 | # FAKE - F# Make 302 | .fake/ 303 | 304 | # CodeRush personal settings 305 | .cr/personal 306 | 307 | # Python Tools for Visual Studio (PTVS) 308 | __pycache__/ 309 | *.pyc 310 | 311 | # Cake - Uncomment if you are using it 312 | # tools/** 313 | # !tools/packages.config 314 | 315 | # Tabs Studio 316 | *.tss 317 | 318 | # Telerik's JustMock configuration file 319 | *.jmconfig 320 | 321 | # BizTalk build output 322 | *.btp.cs 323 | *.btm.cs 324 | *.odx.cs 325 | *.xsd.cs 326 | 327 | # OpenCover UI analysis results 328 | OpenCover/ 329 | 330 | # Azure Stream Analytics local run output 331 | ASALocalRun/ 332 | 333 | # MSBuild Binary and Structured Log 334 | *.binlog 335 | 336 | # NVidia Nsight GPU debugger configuration file 337 | *.nvuser 338 | 339 | # MFractors (Xamarin productivity tool) working folder 340 | .mfractor/ 341 | 342 | # Local History for Visual Studio 343 | .localhistory/ 344 | 345 | # BeatPulse healthcheck temp database 346 | healthchecksdb 347 | 348 | # Backup folder for Package Reference Convert tool in Visual Studio 2017 349 | MigrationBackup/ 350 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /PowerTableMonitor.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ZenStatesDebugTool 2 | { 3 | partial class PowerTableMonitor 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); 32 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); 33 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PowerTableMonitor)); 34 | this.dataGridView1 = new System.Windows.Forms.DataGridView(); 35 | this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn(); 36 | this.Offset = new System.Windows.Forms.DataGridViewTextBoxColumn(); 37 | this.Value = new System.Windows.Forms.DataGridViewTextBoxColumn(); 38 | this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); 39 | this.labelRefreshInterval = new System.Windows.Forms.Label(); 40 | this.buttonApply = new System.Windows.Forms.Button(); 41 | this.numericUpDownInterval = new System.Windows.Forms.NumericUpDown(); 42 | ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); 43 | this.tableLayoutPanel1.SuspendLayout(); 44 | ((System.ComponentModel.ISupportInitialize)(this.numericUpDownInterval)).BeginInit(); 45 | this.SuspendLayout(); 46 | // 47 | // dataGridView1 48 | // 49 | this.dataGridView1.AllowUserToAddRows = false; 50 | this.dataGridView1.AllowUserToDeleteRows = false; 51 | this.dataGridView1.AllowUserToResizeRows = false; 52 | dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke; 53 | this.dataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; 54 | this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; 55 | this.dataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None; 56 | this.dataGridView1.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical; 57 | this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; 58 | this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; 59 | this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { 60 | this.Index, 61 | this.Offset, 62 | this.Value}); 63 | this.tableLayoutPanel1.SetColumnSpan(this.dataGridView1, 4); 64 | this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; 65 | this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; 66 | this.dataGridView1.GridColor = System.Drawing.SystemColors.ControlLight; 67 | this.dataGridView1.Location = new System.Drawing.Point(3, 3); 68 | this.dataGridView1.Name = "dataGridView1"; 69 | this.dataGridView1.ReadOnly = true; 70 | this.dataGridView1.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; 71 | this.dataGridView1.RowHeadersVisible = false; 72 | this.dataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; 73 | this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; 74 | this.dataGridView1.ShowCellToolTips = false; 75 | this.dataGridView1.ShowEditingIcon = false; 76 | this.dataGridView1.ShowRowErrors = false; 77 | this.dataGridView1.Size = new System.Drawing.Size(224, 479); 78 | this.dataGridView1.TabIndex = 0; 79 | // 80 | // Index 81 | // 82 | this.Index.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; 83 | this.Index.DataPropertyName = "Index"; 84 | this.Index.HeaderText = "Index"; 85 | this.Index.Name = "Index"; 86 | this.Index.ReadOnly = true; 87 | this.Index.Resizable = System.Windows.Forms.DataGridViewTriState.False; 88 | this.Index.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; 89 | this.Index.Width = 39; 90 | // 91 | // Offset 92 | // 93 | this.Offset.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; 94 | this.Offset.DataPropertyName = "Offset"; 95 | this.Offset.HeaderText = "Offset"; 96 | this.Offset.Name = "Offset"; 97 | this.Offset.ReadOnly = true; 98 | this.Offset.Resizable = System.Windows.Forms.DataGridViewTriState.False; 99 | this.Offset.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; 100 | this.Offset.Width = 41; 101 | // 102 | // Value 103 | // 104 | this.Value.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; 105 | this.Value.DataPropertyName = "Value"; 106 | dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 107 | this.Value.DefaultCellStyle = dataGridViewCellStyle2; 108 | this.Value.HeaderText = "Value"; 109 | this.Value.Name = "Value"; 110 | this.Value.ReadOnly = true; 111 | this.Value.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; 112 | // 113 | // tableLayoutPanel1 114 | // 115 | this.tableLayoutPanel1.AutoSize = true; 116 | this.tableLayoutPanel1.ColumnCount = 4; 117 | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 118 | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 119 | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 120 | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); 121 | this.tableLayoutPanel1.Controls.Add(this.labelRefreshInterval, 0, 1); 122 | this.tableLayoutPanel1.Controls.Add(this.dataGridView1, 0, 0); 123 | this.tableLayoutPanel1.Controls.Add(this.buttonApply, 2, 1); 124 | this.tableLayoutPanel1.Controls.Add(this.numericUpDownInterval, 1, 1); 125 | this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; 126 | this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); 127 | this.tableLayoutPanel1.Name = "tableLayoutPanel1"; 128 | this.tableLayoutPanel1.RowCount = 2; 129 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); 130 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 131 | this.tableLayoutPanel1.Size = new System.Drawing.Size(230, 514); 132 | this.tableLayoutPanel1.TabIndex = 1; 133 | // 134 | // labelRefreshInterval 135 | // 136 | this.labelRefreshInterval.AutoSize = true; 137 | this.labelRefreshInterval.Dock = System.Windows.Forms.DockStyle.Fill; 138 | this.labelRefreshInterval.Location = new System.Drawing.Point(3, 485); 139 | this.labelRefreshInterval.Name = "labelRefreshInterval"; 140 | this.labelRefreshInterval.Size = new System.Drawing.Size(82, 29); 141 | this.labelRefreshInterval.TabIndex = 0; 142 | this.labelRefreshInterval.Text = "Refresh Interval"; 143 | this.labelRefreshInterval.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; 144 | // 145 | // buttonApply 146 | // 147 | this.buttonApply.Dock = System.Windows.Forms.DockStyle.Fill; 148 | this.buttonApply.Location = new System.Drawing.Point(150, 488); 149 | this.buttonApply.Name = "buttonApply"; 150 | this.buttonApply.Size = new System.Drawing.Size(75, 23); 151 | this.buttonApply.TabIndex = 1; 152 | this.buttonApply.Text = "Apply"; 153 | this.buttonApply.UseVisualStyleBackColor = true; 154 | this.buttonApply.Click += new System.EventHandler(this.ButtonApply_Click); 155 | // 156 | // numericUpDownInterval 157 | // 158 | this.numericUpDownInterval.AutoSize = true; 159 | this.numericUpDownInterval.Dock = System.Windows.Forms.DockStyle.Fill; 160 | this.numericUpDownInterval.Increment = new decimal(new int[] { 161 | 20, 162 | 0, 163 | 0, 164 | 0}); 165 | this.numericUpDownInterval.Location = new System.Drawing.Point(91, 490); 166 | this.numericUpDownInterval.Margin = new System.Windows.Forms.Padding(3, 5, 3, 3); 167 | this.numericUpDownInterval.Maximum = new decimal(new int[] { 168 | 20000, 169 | 0, 170 | 0, 171 | 0}); 172 | this.numericUpDownInterval.Minimum = new decimal(new int[] { 173 | 10, 174 | 0, 175 | 0, 176 | 0}); 177 | this.numericUpDownInterval.Name = "numericUpDownInterval"; 178 | this.numericUpDownInterval.Size = new System.Drawing.Size(53, 20); 179 | this.numericUpDownInterval.TabIndex = 2; 180 | this.numericUpDownInterval.Value = new decimal(new int[] { 181 | 2000, 182 | 0, 183 | 0, 184 | 0}); 185 | // 186 | // PowerTableMonitor 187 | // 188 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 189 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 190 | this.ClientSize = new System.Drawing.Size(230, 514); 191 | this.Controls.Add(this.tableLayoutPanel1); 192 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); 193 | this.Name = "PowerTableMonitor"; 194 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; 195 | this.Text = "PowerTableMonitor"; 196 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PowerTableMonitor_FormClosing); 197 | this.Shown += new System.EventHandler(this.PowerTableMonitor_Shown); 198 | ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); 199 | this.tableLayoutPanel1.ResumeLayout(false); 200 | this.tableLayoutPanel1.PerformLayout(); 201 | ((System.ComponentModel.ISupportInitialize)(this.numericUpDownInterval)).EndInit(); 202 | this.ResumeLayout(false); 203 | this.PerformLayout(); 204 | 205 | } 206 | 207 | #endregion 208 | 209 | private System.Windows.Forms.DataGridView dataGridView1; 210 | private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; 211 | private System.Windows.Forms.Label labelRefreshInterval; 212 | private System.Windows.Forms.Button buttonApply; 213 | private System.Windows.Forms.NumericUpDown numericUpDownInterval; 214 | private System.Windows.Forms.DataGridViewTextBoxColumn Index; 215 | private System.Windows.Forms.DataGridViewTextBoxColumn Offset; 216 | private System.Windows.Forms.DataGridViewTextBoxColumn Value; 217 | } 218 | } -------------------------------------------------------------------------------- /PowerTableMonitor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Data; 5 | using System.Drawing; 6 | using System.Linq; 7 | using System.Text; 8 | using System.Windows.Forms; 9 | using ZenStates.Core; 10 | 11 | namespace ZenStatesDebugTool 12 | { 13 | public partial class PowerTableMonitor : Form 14 | { 15 | private readonly Cpu CPU; 16 | readonly Timer PowerCfgTimer = new Timer(); 17 | private readonly BindingList list = new BindingList(); 18 | private class PowerMonitorItem 19 | { 20 | public string Index { get; set; } 21 | public string Offset { get; set; } 22 | public string Value { get; set; } 23 | } 24 | 25 | private void FillInData(float[] table) 26 | { 27 | list.Clear(); 28 | 29 | for (var i = 0; i < table.Length; i++) 30 | { 31 | list.Add(new PowerMonitorItem { 32 | Index = $"{i:D4}", 33 | Offset = $"0x{(i*4):X4}", 34 | Value = $"{table[i]:F6}" 35 | });; 36 | } 37 | } 38 | 39 | private void RefreshData(float[] table) 40 | { 41 | int index = 0; 42 | 43 | foreach (var item in list) 44 | { 45 | item.Value = $"{table[index]:F6}"; 46 | index++; 47 | } 48 | 49 | dataGridView1.Refresh(); 50 | } 51 | 52 | private void PowerCfgTimer_Tick(object sender, EventArgs e) 53 | { 54 | Console.WriteLine("refreshing"); 55 | if (CPU.RefreshPowerTable() == SMU.Status.OK) 56 | RefreshData(CPU.powerTable.Table); 57 | } 58 | 59 | public PowerTableMonitor(Cpu cpu) 60 | { 61 | CPU = cpu; 62 | cpu.RefreshPowerTable(); 63 | 64 | PowerCfgTimer.Interval = 2000; 65 | PowerCfgTimer.Tick += new EventHandler(PowerCfgTimer_Tick); 66 | 67 | InitializeComponent(); 68 | 69 | dataGridView1.DataSource = list; 70 | 71 | FillInData(cpu.powerTable.Table); 72 | } 73 | 74 | private void PowerTableMonitor_FormClosing(object sender, FormClosingEventArgs e) 75 | { 76 | PowerCfgTimer.Stop(); 77 | //CPU.powerTable.Dispose(); 78 | } 79 | 80 | private void PowerTableMonitor_Shown(object sender, EventArgs e) 81 | { 82 | PowerCfgTimer.Start(); 83 | } 84 | 85 | private void ButtonApply_Click(object sender, EventArgs e) 86 | { 87 | PowerCfgTimer.Interval = Convert.ToInt32(numericUpDownInterval.Value); 88 | } 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /Prebuilt/ZenStates-Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irusanov/SMUDebugTool/3b8b94cdebe3f76d199197121c41e8240dc4fd77/Prebuilt/ZenStates-Core.dll -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | 4 | namespace ZenStatesDebugTool 5 | { 6 | static class Program 7 | { 8 | /// 9 | /// The main entry point for the application. 10 | /// 11 | [STAThread] 12 | static void Main() 13 | { 14 | Application.EnableVisualStyles(); 15 | Application.SetCompatibleTextRenderingDefault(false); 16 | Application.ThreadException += ApplicationThreadException; 17 | try 18 | { 19 | Form MainForm = new SettingsForm(); 20 | string appString = $"{Application.ProductName} {Application.ProductVersion.Substring(0, Application.ProductVersion.LastIndexOf('.'))}"; 21 | #if DEBUG 22 | appString += " (debug)"; 23 | #endif 24 | MainForm.Text = appString; 25 | Application.Run(MainForm); 26 | } 27 | catch (ApplicationException ex) 28 | { 29 | Console.WriteLine(ex.Message); 30 | Application.Exit(); 31 | } 32 | } 33 | 34 | static void ApplicationThreadException(object sender, System.Threading.ThreadExceptionEventArgs e) 35 | { 36 | // Handle your exception here... 37 | MessageBox.Show(e.Exception.Message, Properties.Resources.Error); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Resources; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Ryzen SMU Debug Tool")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("irusanov")] 12 | [assembly: AssemblyProduct("Ryzen SDT")] 13 | [assembly: AssemblyCopyright("Copyright © 2022-2024")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | [assembly: NeutralResourcesLanguage("en")] 17 | 18 | // Setting ComVisible to false makes the types in this assembly not visible 19 | // to COM components. If you need to access a type in this assembly from 20 | // COM, set the ComVisible attribute to true on that type. 21 | [assembly: ComVisible(false)] 22 | 23 | // The following GUID is for the ID of the typelib if this project is exposed to COM 24 | [assembly: Guid("056a457f-b9d4-4bb9-a9b3-033f2a1e265c")] 25 | 26 | // Version information for an assembly consists of the following four values: 27 | // 28 | // Major Version 29 | // Minor Version 30 | // Build Number 31 | // Revision 32 | // 33 | // You can specify all the values or you can default the Build and Revision Numbers 34 | // by using the '*' as shown below: 35 | // [assembly: AssemblyVersion("1.0.*")] 36 | [assembly: AssemblyVersion("1.38.0")] 37 | [assembly: AssemblyFileVersion("1.38.0")] 38 | -------------------------------------------------------------------------------- /Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace ZenStatesDebugTool.Properties { 12 | using System; 13 | 14 | 15 | /// 16 | /// A strongly-typed resource class, for looking up localized strings, etc. 17 | /// 18 | // This class was auto-generated by the StronglyTypedResourceBuilder 19 | // class via a tool like ResGen or Visual Studio. 20 | // To add or remove a member, edit your .ResX file then rerun ResGen 21 | // with the /str option, or rebuild your VS project. 22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] 23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 | internal class Resources { 26 | 27 | private static global::System.Resources.ResourceManager resourceMan; 28 | 29 | private static global::System.Globalization.CultureInfo resourceCulture; 30 | 31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 | internal Resources() { 33 | } 34 | 35 | /// 36 | /// Returns the cached ResourceManager instance used by this class. 37 | /// 38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 | internal static global::System.Resources.ResourceManager ResourceManager { 40 | get { 41 | if (object.ReferenceEquals(resourceMan, null)) { 42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ZenStatesDebugTool.Properties.Resources", typeof(Resources).Assembly); 43 | resourceMan = temp; 44 | } 45 | return resourceMan; 46 | } 47 | } 48 | 49 | /// 50 | /// Overrides the current thread's CurrentUICulture property for all 51 | /// resource lookups using this strongly typed resource class. 52 | /// 53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 | internal static global::System.Globalization.CultureInfo Culture { 55 | get { 56 | return resourceCulture; 57 | } 58 | set { 59 | resourceCulture = value; 60 | } 61 | } 62 | 63 | /// 64 | /// Looks up a localized string similar to Error. 65 | /// 66 | internal static string Error { 67 | get { 68 | return ResourceManager.GetString("Error", resourceCulture); 69 | } 70 | } 71 | 72 | /// 73 | /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). 74 | /// 75 | internal static System.Drawing.Icon ZenStatesDebug { 76 | get { 77 | object obj = ResourceManager.GetObject("ZenStatesDebug", resourceCulture); 78 | return ((System.Drawing.Icon)(obj)); 79 | } 80 | } 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /Properties/Resources.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | Error 122 | 123 | 124 | 125 | ..\Resources\ZenStatesDebug.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a 126 | 127 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ZenStatesDebugTool 2 | 3 | ![Screenshot](screenshot.png "SMU Debug Tool") 4 | 5 | ### Projects used 6 | [RTCSharp (github)](https://github.com/tomrus88/RTCSharp) 7 | [ryzen_smu (gitlab)](https://gitlab.com/leogx9r/ryzen_smu/) 8 | [ryzen_nb_smu (github)](https://github.com/flygoat/ryzen_nb_smu) 9 | [zenpower (github)](https://github.com/ocerman/zenpower) 10 | [Linux kernel (github)](https://github.com/torvalds/linux) 11 | [AMD's public documentation](https://www.amd.com/en/support/tech-docs) 12 | -------------------------------------------------------------------------------- /Resources/ZenStatesDebug.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irusanov/SMUDebugTool/3b8b94cdebe3f76d199197121c41e8240dc4fd77/Resources/ZenStatesDebug.ico -------------------------------------------------------------------------------- /Resources/new-icon/drawing.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 577 | -------------------------------------------------------------------------------- /Resources/new-icon/drawing_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irusanov/SMUDebugTool/3b8b94cdebe3f76d199197121c41e8240dc4fd77/Resources/new-icon/drawing_128.png -------------------------------------------------------------------------------- /Resources/new-icon/drawing_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irusanov/SMUDebugTool/3b8b94cdebe3f76d199197121c41e8240dc4fd77/Resources/new-icon/drawing_16.png -------------------------------------------------------------------------------- /Resources/new-icon/drawing_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irusanov/SMUDebugTool/3b8b94cdebe3f76d199197121c41e8240dc4fd77/Resources/new-icon/drawing_24.png -------------------------------------------------------------------------------- /Resources/new-icon/drawing_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irusanov/SMUDebugTool/3b8b94cdebe3f76d199197121c41e8240dc4fd77/Resources/new-icon/drawing_256.png -------------------------------------------------------------------------------- /Resources/new-icon/drawing_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irusanov/SMUDebugTool/3b8b94cdebe3f76d199197121c41e8240dc4fd77/Resources/new-icon/drawing_32.png -------------------------------------------------------------------------------- /Resources/new-icon/drawing_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irusanov/SMUDebugTool/3b8b94cdebe3f76d199197121c41e8240dc4fd77/Resources/new-icon/drawing_48.png -------------------------------------------------------------------------------- /Resources/new-icon/drawing_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irusanov/SMUDebugTool/3b8b94cdebe3f76d199197121c41e8240dc4fd77/Resources/new-icon/drawing_512.png -------------------------------------------------------------------------------- /Resources/new-icon/drawing_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irusanov/SMUDebugTool/3b8b94cdebe3f76d199197121c41e8240dc4fd77/Resources/new-icon/drawing_64.png -------------------------------------------------------------------------------- /Resources/new-icon/drawing_96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irusanov/SMUDebugTool/3b8b94cdebe3f76d199197121c41e8240dc4fd77/Resources/new-icon/drawing_96.png -------------------------------------------------------------------------------- /ResultForm.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ZenStatesDebugTool 2 | { 3 | partial class ResultForm 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.textBoxFormResult = new System.Windows.Forms.TextBox(); 32 | this.buttonSaveResult = new System.Windows.Forms.Button(); 33 | this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); 34 | this.buttonSaveAs = new System.Windows.Forms.Button(); 35 | this.tableLayoutPanel1.SuspendLayout(); 36 | this.SuspendLayout(); 37 | // 38 | // textBoxFormResult 39 | // 40 | this.textBoxFormResult.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; 41 | this.tableLayoutPanel1.SetColumnSpan(this.textBoxFormResult, 2); 42 | this.textBoxFormResult.Dock = System.Windows.Forms.DockStyle.Fill; 43 | this.textBoxFormResult.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 44 | this.textBoxFormResult.Location = new System.Drawing.Point(3, 3); 45 | this.textBoxFormResult.Multiline = true; 46 | this.textBoxFormResult.Name = "textBoxFormResult"; 47 | this.textBoxFormResult.ReadOnly = true; 48 | this.textBoxFormResult.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; 49 | this.textBoxFormResult.Size = new System.Drawing.Size(375, 239); 50 | this.textBoxFormResult.TabIndex = 0; 51 | this.textBoxFormResult.TabStop = false; 52 | // 53 | // buttonSaveResult 54 | // 55 | this.buttonSaveResult.Location = new System.Drawing.Point(3, 248); 56 | this.buttonSaveResult.Name = "buttonSaveResult"; 57 | this.buttonSaveResult.Size = new System.Drawing.Size(75, 23); 58 | this.buttonSaveResult.TabIndex = 1; 59 | this.buttonSaveResult.Text = "Save"; 60 | this.buttonSaveResult.UseVisualStyleBackColor = true; 61 | this.buttonSaveResult.Click += new System.EventHandler(this.buttonSaveResult_Click); 62 | // 63 | // tableLayoutPanel1 64 | // 65 | this.tableLayoutPanel1.ColumnCount = 2; 66 | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 67 | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); 68 | this.tableLayoutPanel1.Controls.Add(this.buttonSaveAs, 0, 1); 69 | this.tableLayoutPanel1.Controls.Add(this.textBoxFormResult, 0, 0); 70 | this.tableLayoutPanel1.Controls.Add(this.buttonSaveResult, 0, 1); 71 | this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; 72 | this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); 73 | this.tableLayoutPanel1.Name = "tableLayoutPanel1"; 74 | this.tableLayoutPanel1.RowCount = 2; 75 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); 76 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 77 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); 78 | this.tableLayoutPanel1.Size = new System.Drawing.Size(381, 274); 79 | this.tableLayoutPanel1.TabIndex = 3; 80 | // 81 | // buttonSaveAs 82 | // 83 | this.buttonSaveAs.Location = new System.Drawing.Point(84, 248); 84 | this.buttonSaveAs.Name = "buttonSaveAs"; 85 | this.buttonSaveAs.Size = new System.Drawing.Size(75, 23); 86 | this.buttonSaveAs.TabIndex = 4; 87 | this.buttonSaveAs.Text = "Save As..."; 88 | this.buttonSaveAs.UseVisualStyleBackColor = true; 89 | this.buttonSaveAs.Click += new System.EventHandler(this.buttonSaveAs_Click); 90 | // 91 | // ResultForm 92 | // 93 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 94 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 95 | this.ClientSize = new System.Drawing.Size(381, 274); 96 | this.Controls.Add(this.tableLayoutPanel1); 97 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow; 98 | this.Name = "ResultForm"; 99 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; 100 | this.Text = "Form1"; 101 | this.TopMost = true; 102 | this.tableLayoutPanel1.ResumeLayout(false); 103 | this.tableLayoutPanel1.PerformLayout(); 104 | this.ResumeLayout(false); 105 | 106 | } 107 | 108 | #endregion 109 | 110 | public System.Windows.Forms.TextBox textBoxFormResult; 111 | private System.Windows.Forms.Button buttonSaveResult; 112 | private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; 113 | private System.Windows.Forms.Button buttonSaveAs; 114 | } 115 | } -------------------------------------------------------------------------------- /ResultForm.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using System.Windows.Forms; 4 | 5 | namespace ZenStatesDebugTool 6 | { 7 | public partial class ResultForm : Form 8 | { 9 | public ResultForm() 10 | { 11 | InitializeComponent(); 12 | } 13 | 14 | private void SaveToFile(string filename="") 15 | { 16 | string fileName = filename; 17 | 18 | if (filename.Trim().Length == 0) 19 | { 20 | string unixTimestamp = Convert.ToString((DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalMinutes); 21 | fileName = $@"{String.Join("_", this.Text.Split())}_{unixTimestamp}.txt"; 22 | } 23 | 24 | if (File.Exists(fileName)) 25 | { 26 | File.Delete(fileName); 27 | } 28 | 29 | using (var sw = new StreamWriter(fileName, true)) 30 | { 31 | sw.WriteLine(textBoxFormResult.Text); 32 | } 33 | 34 | MessageBox.Show($"File saved as {fileName}"); 35 | } 36 | 37 | private void buttonSaveResult_Click(object sender, EventArgs e) 38 | { 39 | SaveToFile(); 40 | } 41 | 42 | private void buttonSaveAs_Click(object sender, EventArgs e) 43 | { 44 | SaveFileDialog saveFileDialog1 = new SaveFileDialog 45 | { 46 | Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*", 47 | FilterIndex = 1, 48 | DefaultExt = "txt", 49 | RestoreDirectory = true 50 | }; 51 | 52 | if (saveFileDialog1.ShowDialog() == DialogResult.OK) 53 | { 54 | SaveToFile(saveFileDialog1.FileName); 55 | } 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /ResultForm.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | -------------------------------------------------------------------------------- /SMUDebugTool.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /SMUMonitor.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace ZenStatesDebugTool 2 | { 3 | partial class SMUMonitor 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); 32 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); 33 | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); 34 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SMUMonitor)); 35 | this.dataGridView2 = new System.Windows.Forms.DataGridView(); 36 | this.Cmd = new System.Windows.Forms.DataGridViewTextBoxColumn(); 37 | this.Arg = new System.Windows.Forms.DataGridViewTextBoxColumn(); 38 | this.Rsp = new System.Windows.Forms.DataGridViewTextBoxColumn(); 39 | this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); 40 | this.buttonStartStop = new System.Windows.Forms.Button(); 41 | this.ButtonClear = new System.Windows.Forms.Button(); 42 | this.label1 = new System.Windows.Forms.Label(); 43 | this.label2 = new System.Windows.Forms.Label(); 44 | this.label3 = new System.Windows.Forms.Label(); 45 | this.labelCmdAddr = new System.Windows.Forms.Label(); 46 | this.labelRspAddr = new System.Windows.Forms.Label(); 47 | this.labelArgAddr = new System.Windows.Forms.Label(); 48 | ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit(); 49 | this.tableLayoutPanel1.SuspendLayout(); 50 | this.SuspendLayout(); 51 | // 52 | // dataGridView2 53 | // 54 | this.dataGridView2.AllowUserToAddRows = false; 55 | this.dataGridView2.AllowUserToDeleteRows = false; 56 | this.dataGridView2.AllowUserToResizeRows = false; 57 | dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke; 58 | this.dataGridView2.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; 59 | this.dataGridView2.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; 60 | this.dataGridView2.BorderStyle = System.Windows.Forms.BorderStyle.None; 61 | this.dataGridView2.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleVertical; 62 | this.dataGridView2.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; 63 | this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; 64 | this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { 65 | this.Cmd, 66 | this.Arg, 67 | this.Rsp}); 68 | this.tableLayoutPanel1.SetColumnSpan(this.dataGridView2, 4); 69 | this.dataGridView2.Dock = System.Windows.Forms.DockStyle.Fill; 70 | this.dataGridView2.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; 71 | this.dataGridView2.GridColor = System.Drawing.SystemColors.ControlLight; 72 | this.dataGridView2.Location = new System.Drawing.Point(3, 65); 73 | this.dataGridView2.Name = "dataGridView2"; 74 | this.dataGridView2.ReadOnly = true; 75 | this.dataGridView2.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; 76 | this.dataGridView2.RowHeadersVisible = false; 77 | this.dataGridView2.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; 78 | dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; 79 | this.dataGridView2.RowsDefaultCellStyle = dataGridViewCellStyle3; 80 | this.dataGridView2.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; 81 | this.dataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; 82 | this.dataGridView2.ShowCellToolTips = false; 83 | this.dataGridView2.ShowEditingIcon = false; 84 | this.dataGridView2.ShowRowErrors = false; 85 | this.dataGridView2.Size = new System.Drawing.Size(336, 417); 86 | this.dataGridView2.TabIndex = 0; 87 | // 88 | // Cmd 89 | // 90 | this.Cmd.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; 91 | this.Cmd.DataPropertyName = "Cmd"; 92 | this.Cmd.HeaderText = "Command"; 93 | this.Cmd.MinimumWidth = 50; 94 | this.Cmd.Name = "Cmd"; 95 | this.Cmd.ReadOnly = true; 96 | this.Cmd.Resizable = System.Windows.Forms.DataGridViewTriState.False; 97 | this.Cmd.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; 98 | this.Cmd.Width = 60; 99 | // 100 | // Arg 101 | // 102 | this.Arg.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells; 103 | this.Arg.DataPropertyName = "Arg"; 104 | this.Arg.HeaderText = "Argument"; 105 | this.Arg.MinimumWidth = 90; 106 | this.Arg.Name = "Arg"; 107 | this.Arg.ReadOnly = true; 108 | this.Arg.Resizable = System.Windows.Forms.DataGridViewTriState.False; 109 | this.Arg.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; 110 | this.Arg.Width = 90; 111 | // 112 | // Rsp 113 | // 114 | this.Rsp.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; 115 | this.Rsp.DataPropertyName = "Rsp"; 116 | dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 117 | this.Rsp.DefaultCellStyle = dataGridViewCellStyle2; 118 | this.Rsp.HeaderText = "Response"; 119 | this.Rsp.MinimumWidth = 90; 120 | this.Rsp.Name = "Rsp"; 121 | this.Rsp.ReadOnly = true; 122 | this.Rsp.Resizable = System.Windows.Forms.DataGridViewTriState.False; 123 | this.Rsp.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; 124 | // 125 | // tableLayoutPanel1 126 | // 127 | this.tableLayoutPanel1.AutoSize = true; 128 | this.tableLayoutPanel1.ColumnCount = 4; 129 | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 90F)); 130 | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 90F)); 131 | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); 132 | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); 133 | this.tableLayoutPanel1.Controls.Add(this.dataGridView2, 0, 4); 134 | this.tableLayoutPanel1.Controls.Add(this.buttonStartStop, 0, 5); 135 | this.tableLayoutPanel1.Controls.Add(this.ButtonClear, 1, 5); 136 | this.tableLayoutPanel1.Controls.Add(this.label1, 0, 1); 137 | this.tableLayoutPanel1.Controls.Add(this.label2, 0, 2); 138 | this.tableLayoutPanel1.Controls.Add(this.label3, 0, 3); 139 | this.tableLayoutPanel1.Controls.Add(this.labelCmdAddr, 1, 1); 140 | this.tableLayoutPanel1.Controls.Add(this.labelRspAddr, 1, 2); 141 | this.tableLayoutPanel1.Controls.Add(this.labelArgAddr, 1, 3); 142 | this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; 143 | this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); 144 | this.tableLayoutPanel1.Name = "tableLayoutPanel1"; 145 | this.tableLayoutPanel1.RowCount = 6; 146 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 5F)); 147 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 148 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 149 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 150 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); 151 | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); 152 | this.tableLayoutPanel1.Size = new System.Drawing.Size(342, 514); 153 | this.tableLayoutPanel1.TabIndex = 1; 154 | // 155 | // buttonStartStop 156 | // 157 | this.buttonStartStop.Dock = System.Windows.Forms.DockStyle.Fill; 158 | this.buttonStartStop.Location = new System.Drawing.Point(3, 488); 159 | this.buttonStartStop.Name = "buttonStartStop"; 160 | this.buttonStartStop.Size = new System.Drawing.Size(84, 23); 161 | this.buttonStartStop.TabIndex = 1; 162 | this.buttonStartStop.Text = "Stop"; 163 | this.buttonStartStop.UseVisualStyleBackColor = true; 164 | this.buttonStartStop.Click += new System.EventHandler(this.ButtonApply_Click); 165 | // 166 | // ButtonClear 167 | // 168 | this.ButtonClear.Dock = System.Windows.Forms.DockStyle.Fill; 169 | this.ButtonClear.Location = new System.Drawing.Point(93, 488); 170 | this.ButtonClear.Name = "ButtonClear"; 171 | this.ButtonClear.Size = new System.Drawing.Size(84, 23); 172 | this.ButtonClear.TabIndex = 2; 173 | this.ButtonClear.Text = "Clear"; 174 | this.ButtonClear.UseVisualStyleBackColor = true; 175 | this.ButtonClear.Click += new System.EventHandler(this.ButtonClear_Click); 176 | // 177 | // label1 178 | // 179 | this.label1.AutoSize = true; 180 | this.label1.Dock = System.Windows.Forms.DockStyle.Fill; 181 | this.label1.Location = new System.Drawing.Point(3, 5); 182 | this.label1.Name = "label1"; 183 | this.label1.Padding = new System.Windows.Forms.Padding(5, 3, 5, 3); 184 | this.label1.Size = new System.Drawing.Size(84, 19); 185 | this.label1.TabIndex = 3; 186 | this.label1.Text = "CMD Address"; 187 | this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; 188 | // 189 | // label2 190 | // 191 | this.label2.AutoSize = true; 192 | this.label2.Dock = System.Windows.Forms.DockStyle.Fill; 193 | this.label2.Location = new System.Drawing.Point(3, 24); 194 | this.label2.Name = "label2"; 195 | this.label2.Padding = new System.Windows.Forms.Padding(5, 3, 5, 3); 196 | this.label2.Size = new System.Drawing.Size(84, 19); 197 | this.label2.TabIndex = 4; 198 | this.label2.Text = "RSP Address"; 199 | this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; 200 | // 201 | // label3 202 | // 203 | this.label3.AutoSize = true; 204 | this.label3.Dock = System.Windows.Forms.DockStyle.Fill; 205 | this.label3.Location = new System.Drawing.Point(3, 43); 206 | this.label3.Name = "label3"; 207 | this.label3.Padding = new System.Windows.Forms.Padding(5, 3, 5, 3); 208 | this.label3.Size = new System.Drawing.Size(84, 19); 209 | this.label3.TabIndex = 5; 210 | this.label3.Text = "ARG Address"; 211 | this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; 212 | // 213 | // labelCmdAddr 214 | // 215 | this.labelCmdAddr.AutoSize = true; 216 | this.tableLayoutPanel1.SetColumnSpan(this.labelCmdAddr, 3); 217 | this.labelCmdAddr.Dock = System.Windows.Forms.DockStyle.Fill; 218 | this.labelCmdAddr.Location = new System.Drawing.Point(93, 5); 219 | this.labelCmdAddr.Name = "labelCmdAddr"; 220 | this.labelCmdAddr.Padding = new System.Windows.Forms.Padding(0, 3, 5, 3); 221 | this.labelCmdAddr.Size = new System.Drawing.Size(246, 19); 222 | this.labelCmdAddr.TabIndex = 6; 223 | this.labelCmdAddr.Text = "-"; 224 | this.labelCmdAddr.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; 225 | // 226 | // labelRspAddr 227 | // 228 | this.labelRspAddr.AutoSize = true; 229 | this.tableLayoutPanel1.SetColumnSpan(this.labelRspAddr, 3); 230 | this.labelRspAddr.Dock = System.Windows.Forms.DockStyle.Fill; 231 | this.labelRspAddr.Location = new System.Drawing.Point(93, 24); 232 | this.labelRspAddr.Name = "labelRspAddr"; 233 | this.labelRspAddr.Padding = new System.Windows.Forms.Padding(0, 3, 5, 3); 234 | this.labelRspAddr.Size = new System.Drawing.Size(246, 19); 235 | this.labelRspAddr.TabIndex = 7; 236 | this.labelRspAddr.Text = "-"; 237 | this.labelRspAddr.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; 238 | // 239 | // labelArgAddr 240 | // 241 | this.labelArgAddr.AutoSize = true; 242 | this.tableLayoutPanel1.SetColumnSpan(this.labelArgAddr, 3); 243 | this.labelArgAddr.Dock = System.Windows.Forms.DockStyle.Fill; 244 | this.labelArgAddr.Location = new System.Drawing.Point(93, 43); 245 | this.labelArgAddr.Name = "labelArgAddr"; 246 | this.labelArgAddr.Padding = new System.Windows.Forms.Padding(0, 3, 5, 3); 247 | this.labelArgAddr.Size = new System.Drawing.Size(246, 19); 248 | this.labelArgAddr.TabIndex = 8; 249 | this.labelArgAddr.Text = "-"; 250 | this.labelArgAddr.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; 251 | // 252 | // SMUMonitor 253 | // 254 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 255 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 256 | this.ClientSize = new System.Drawing.Size(342, 514); 257 | this.Controls.Add(this.tableLayoutPanel1); 258 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); 259 | this.Name = "SMUMonitor"; 260 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; 261 | this.Text = "SMU Monitor"; 262 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SMUMonitor_FormClosing); 263 | this.Shown += new System.EventHandler(this.SMUMonitor_Shown); 264 | ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit(); 265 | this.tableLayoutPanel1.ResumeLayout(false); 266 | this.tableLayoutPanel1.PerformLayout(); 267 | this.ResumeLayout(false); 268 | this.PerformLayout(); 269 | 270 | } 271 | 272 | #endregion 273 | 274 | private System.Windows.Forms.DataGridView dataGridView2; 275 | private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; 276 | private System.Windows.Forms.Button buttonStartStop; 277 | private System.Windows.Forms.Button ButtonClear; 278 | private System.Windows.Forms.DataGridViewTextBoxColumn Cmd; 279 | private System.Windows.Forms.DataGridViewTextBoxColumn Arg; 280 | private System.Windows.Forms.DataGridViewTextBoxColumn Rsp; 281 | private System.Windows.Forms.Label label1; 282 | private System.Windows.Forms.Label label2; 283 | private System.Windows.Forms.Label label3; 284 | private System.Windows.Forms.Label labelCmdAddr; 285 | private System.Windows.Forms.Label labelRspAddr; 286 | private System.Windows.Forms.Label labelArgAddr; 287 | } 288 | } -------------------------------------------------------------------------------- /SMUMonitor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.ComponentModel; 3 | using System.Threading; 4 | using System.Windows.Forms; 5 | using ZenStates.Core; 6 | 7 | namespace ZenStatesDebugTool 8 | { 9 | public partial class SMUMonitor : Form 10 | { 11 | private readonly Cpu CPU; 12 | readonly System.Windows.Forms.Timer MonitorTimer = new System.Windows.Forms.Timer(); 13 | private readonly BindingList list = new BindingList(); 14 | private uint prevCmdValue; 15 | private uint prevArgValue; 16 | private readonly uint SMU_ADDR_MSG; 17 | private readonly uint SMU_ADDR_ARG; 18 | private readonly uint SMU_ADDR_RSP; 19 | 20 | private class SmuMonitorItem 21 | { 22 | public string Cmd { get; set; } 23 | public string Arg { get; set; } 24 | public string Rsp { get; set; } 25 | } 26 | 27 | public SMUMonitor(Cpu cpu, uint addrMsg, uint addrArg, uint addrRsp) 28 | { 29 | CPU = cpu; 30 | SMU_ADDR_MSG = addrMsg; 31 | SMU_ADDR_ARG = addrArg; 32 | SMU_ADDR_RSP = addrRsp; 33 | MonitorTimer.Interval = 10; 34 | MonitorTimer.Tick += new EventHandler(MonitorTimer_Tick); 35 | 36 | InitializeComponent(); 37 | 38 | labelCmdAddr.Text = $"0x{addrMsg:X8}"; 39 | labelRspAddr.Text = $"0x{addrRsp:X8}"; 40 | labelArgAddr.Text = $"0x{addrArg:X8}"; 41 | 42 | dataGridView2.DataSource = list; 43 | } 44 | 45 | private void AddLine() 46 | { 47 | uint msg = 0; 48 | uint rsp = 0; 49 | uint arg = 0; 50 | 51 | msg = CPU.ReadDword(SMU_ADDR_MSG); 52 | arg = CPU.ReadDword(SMU_ADDR_ARG); 53 | 54 | if (msg != prevCmdValue || arg != prevArgValue) 55 | { 56 | prevCmdValue = msg; 57 | prevArgValue = arg; 58 | rsp = CPU.ReadDword(SMU_ADDR_RSP); 59 | 60 | if (rsp != 0) 61 | arg = CPU.ReadDword(SMU_ADDR_ARG); 62 | 63 | new Thread(() => { 64 | list.Add(new SmuMonitorItem 65 | { 66 | Cmd = $"0x{msg:X2}", 67 | Arg = $"0x{arg:X8}", 68 | Rsp = $"0x{rsp:X2} {GetSMUStatus.GetByType((SMU.Status)rsp)}" 69 | }); 70 | 71 | dataGridView2.FirstDisplayedScrollingRowIndex = list.Count - 1; 72 | }).Start(); 73 | } 74 | } 75 | 76 | private void MonitorTimer_Tick(object sender, EventArgs e) => AddLine(); 77 | 78 | private void SMUMonitor_FormClosing(object sender, FormClosingEventArgs e) => MonitorTimer.Stop(); 79 | 80 | private void ButtonClear_Click(object sender, EventArgs e) => list.Clear(); 81 | 82 | private void SMUMonitor_Shown(object sender, EventArgs e) => MonitorTimer.Start(); 83 | 84 | private void ButtonApply_Click(object sender, EventArgs e) 85 | { 86 | if (MonitorTimer.Enabled) 87 | { 88 | MonitorTimer.Stop(); 89 | buttonStartStop.Text = "Start"; 90 | } 91 | else 92 | { 93 | prevCmdValue = 0; 94 | MonitorTimer.Start(); 95 | buttonStartStop.Text = "Stop"; 96 | } 97 | } 98 | } 99 | } 100 | -------------------------------------------------------------------------------- /SMUMonitor.resx: -------------------------------------------------------------------------------- 1 |  2 | 3 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | text/microsoft-resx 110 | 111 | 112 | 2.0 113 | 114 | 115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | 118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 119 | 120 | 121 | True 122 | 123 | 124 | True 125 | 126 | 127 | True 128 | 129 | 130 | 131 | 132 | AAABAAUAAAAAAAEAIAAhKAAAVgAAADAwAAABACAAqCUAAHcoAAAgIAAAAQAgAKgQAAAfTgAAGBgAAAEA 133 | IACICQAAx14AABAQAAABACAAaAQAAE9oAACJUE5HDQoaCgAAAA1JSERSAAABAAAAAQAIBgAAAFxyqGYA 134 | ACfoSURBVHja7Z0HfBTV2v+fM5tsCkkgQIDQe+9IVwEJcsWLhWoBrwVRUSD0GlghhQDSqyIoyOUq/u97 135 | ryAQRVFBkN57Dz2ENBLSdue85yx3/69wKdndM3N2dp/v57OyA86Z55zd+e3vN+UMAcSrsbSgwcVM0EQF 136 | aAFEbQ5A6hGAEpS94O6Lk8H+LoPaX/QYgLLPRGFfjg0OWvaSO7L7gGgHkV0AIh6+0wf6Q2dC1d7sI+7B 137 | /qqYSw1RyAcFfiQqWRtI4F9DdpIs2X1DxIIC4EVMb01rqaCOJ0BeYYuBgpvPY4qwhoCSMHonOS27r4gY 138 | UAC8gPi2tK6fqk5gFv5VtmjSeHM29qVZQ21K7Jg95KTsviPugQJgYBKepOFKoWphbwexl5/Om1fZa7XN 139 | rIwYv5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p/8sSaf/LEmn/yxJp/8sSaf/L 354 | Emn/yxJp/8sSaf/LEmn/yxJp/8sSaf/LEmn/yxJp/8sSaf/LEmn/yxJp/8sSaf/LEmn/yxJp/80Zbv/8 355 | 8vf////////////////////////////fbaP/yxJp/8sSaf/LEmn/yxJp/8sSaf/LEmn/yxJp/8sSaf/L 356 | Emn/yxJp/8sSaf/LEmn/yxJp/8sSafcAAAAAAAAAAAAAAAAAAAAAzRNq/80Tav/NE2r/zRNq/80Tav/N 357 | E2r/zRNq/80Tav/NE2r/zRNq/80Tav/NE2r/zRNq/80Tav/NE2r/zRNq/80Tav/NE2r/zRNq/80Tav/N 358 | E2r/zRNq/91emf/////////////////////////////////xvNX/zRNq/80Tav/NE2r/zRNq/80Tav/N 359 | E2r/zRNq/80Tav/NE2r/zRNq/80Tav/NE2r/zRNq/80Tav8AAAAAAAAAAAAAAAAAAAAAzhRr/84Ua//O 360 | FGv/zhRr/84Ua//OFGv/zhRr/84Ua//OFGv/zhRr/84Ua//OFGv/zhRr/84Ua//OFGv/zhRr/84Ua//O 361 | FGv/zhRr/84Ua//OFGv/zhRr/+6uzP////////////75+//wtdH////////////++/3/0iZ3/84Ua//O 362 | FGv/zhRr/84Ua//OFGv/zhRr/84Ua//OFGv/zhRr/84Ua//OFGv/zhRr/84Ua/8AAAAAAAAAAAAAAAAA 363 | AAAA0BZs/9AWbP/QFmz/0BZs/9AWbP/QFmz/0BZs/9AWbP/QFmz/0BZs/9AWbP/QFmz/0BZs/9AWbP/Q 364 | Fmz/0BZs/9AWbP/QFmz/0BZs/9AWbP/QFmz/0h9y//30+P////////////G50//eW5f///////////// 365 | ////43Km/9AWbP/QFmz/0BZs/9AWbP/QFmz/0BZs/9AWbP/QFmz/0BZs/9AWbP/QFmz/0BZs/9AWbP8A 366 | AAAAAAAAAAAAAAAAAAAA0Rdt/9EXbf/RF23/0Rdt/9EXbf/RF23/0Rdt/9EXbf/RF23/0Rdt/9EXbf/R 367 | F23/0Rdt/9EXbf/RF23/0Rdt/9EXbf/RF23/0Rdt/9EXbf/RF23/4GOd/////////////////+Jrov/S 368 | HHD//O/1////////////88DX/9EXbf/RF23/0Rdt/9EXbf/RF23/0Rdt/9EXbf/RF23/0Rdt/9EXbf/R 369 | F23/0Rdt/9EXbf8AAAAAAAAAAAAAAAAAAAAA0xhu/9MYbv/TGG7/0xhu/9MYbv/TGG7/0xhu/9MYbv/T 370 | GG7/0xhu/9MYbv/TGG7/0xhu/9MYbv/TGG7/0xhu/9MYbv/TGG7/0xhu/9MYbv/TGG7/8LHO//////// 371 | /////vn7/9Ymd//TGG7/7qfI/////////////vz9/9cse//TGG7/0xhu/9MYbv/TGG7/0xhu/9MYbv/T 372 | GG7/0xhu/9MYbv/TGG7/0xhu/9MYbv8AAAAAAAAAAAAAAAAAAAAA1Blv/9QZb//UGW//1Blv/9QZb//U 373 | GW//1Blv/9QZb//UGW//1Blv/9QZb//UGW//1Blv/9QZb//UGW//1Blv/9QZb//UGW//1Blv/9QZb//W 374 | InX//fX5////////////8rfS/9QZb//UGW//4FuY/////////////////+V2qf/UGW//1Blv/9QZb//U 375 | GW//1Blv/9QZb//UGW//1Blv/9QZb//UGW//1Blv/9QZb/8AAAAAAAAAAAAAAAAAAAAA1hpw/9YacP/W 376 | GnD/1hpw/9YacP/WGnD/2jB+//Cpyf/0wtn/9MLZ//TC2f/0wtn/9MLZ//S/1//ofK3/1hpw/9YacP/W 377 | GnD/1hpw/9YacP/kaKH/////////////////5Gqi/9YacP/WGnD/1x5z//zu9P////////////vo8P/0 378 | wtn/9MLZ//TC2f/0wtn/8KnJ/9owfv/WGnD/1hpw/9YacP/WGnD/1hpw/9YacP8AAAAAAAAAAAAAAAAA 379 | AAAA2Btx/9gbcf/YG3H/2Btx/9gbcf/YG3H/8a3M//////////////////////////////////////// 380 | ////4lSV/9gbcf/YG3H/2Btx/9gbcf/ytdH////////////+9/r/2iZ4/9gbcf/YG3H/2Btx//Cmx/// 381 | //////////////////////////////////////////GtzP/YG3H/2Btx/9gbcf/YG3H/2Btx/9gbcf8A 382 | AAAAAAAAAAAAAAAAAAAA2Rxy/9kccv/ZHHL/2Rxy/9kccv/ZHHL/8a3M//////////////////////// 383 | ////////////////////8KbI/9kccv/ZHHL/2Rxy/9snef/+9/r////////////ztdH/2Rxy/9kccv/Z 384 | HHL/2Rxy/+NVlf////////////////////////////////////////////GtzP/ZHHL/2Rxy/9kccv/Z 385 | HHL/2Rxy/9kccv8AAAAAAAAAAAAAAAAAAAAA2x5z/9sec//bHnP/2x5z/9sec//bHnP/3zSB//Gqyv/1 386 | w9r/9cPa//XD2v/1w9r/++jx/////////////O71/9widv/bHnP/2x5z/+htpP/////////////////n 387 | a6P/2x5z/9sec//bHnP/2x5z/9sec//qfq//9cDY//XD2v/1w9r/9cPa//XD2v/1w9r/8arK/980gf/b 388 | HnP/2x5z/9sec//bHnP/2x5z/9sec/8AAAAAAAAAAAAAAAAAAAAA3B90/9wfdP/cH3T/3B90/9wfdP/c 389 | H3T/3B90/9wfdP/cH3T/3B90/9wfdP/cH3T/6nut/////////////////+Zdm//cH3T/3B90//S50/// 390 | //////////72+v/eKnv/3B90/9wfdP/cH3T/3B90/9wfdP/cH3T/3B90/9wfdP/cH3T/3B90/9wfdP/c 391 | H3T/3B90/9wfdP/cH3T/3B90/9wfdP/cH3T/3B90/9wfdP8AAAAAAAAAAAAAAAAAAAAA3iB1/94gdf/e 392 | IHX/3iB1/94gdf/eIHX/3iB1/94gdf/eIHX/3iB1/94gdf/eIHX/4TKA//77/f////////////Koyf/e 393 | IHX/4Ct8//73+v////////////S00P/eIHX/3iB1/94gdf/eIHX/3iB1/94gdf/eIHX/3iB1/94gdf/e 394 | IHX/3iB1/94gdf/eIHX/3iB1/94gdf/eIHX/3iB1/94gdf/eIHX/3iB1/94gdf8AAAAAAAAAAAAAAAAA 395 | AAAA3yF2/98hdv/fIXb/3yF2/98hdv/fIXb/3yF2/98hdv/fIXb/3yF2/98hdv/fIXb/3yF2//fF2/// 396 | //////////3w9v/gJnn/63Gn/////////////////+pqo//fIXb/3yF2/98hdv/fIXb/3yF2/98hdv/f 397 | IXb/3yF2/98hdv/fIXb/3yF2/98hdv/fIXb/3yF2/98hdv/fIXb/3yF2/98hdv/fIXb/3yF2/98hdv8A 398 | AAAAAAAAAAAAAAAAAAAA4SJ3/+Eid//hInf/4SJ3/+Eid//hInf/4SJ3/+Eid//hInf/4SJ3/+Eid//h 399 | Inf/4SJ3/+17rv/////////////////qYZ7/9rzW/////////////vb6/+Isff/hInf/4SJ3/+Eid//h 400 | Inf/4SJ3/+Eid//hInf/4SJ3/+Eid//hInf/4SJ3/+Eid//hInf/4SJ3/+Eid//hInf/4SJ3/+Eid//h 401 | Inf/4SJ3/+Eid/8AAAAAAAAAAAAAAAAAAAAA4yN4/+MjeP/jI3j/4yN4/+MjeP/jI3j/4yN4/+MjeP/j 402 | I3j/4yN4/+MjeP/jI3j/4yN4/+U0g////P3////////////2uNT//vj7////////////9bPQ/+MjeP/j 403 | I3j/4yN4/+MjeP/jI3j/4yN4/+MjeP/jI3j/4yN4/+MjeP/jI3j/4yN4/+MjeP/jI3j/4yN4/+MjeP/j 404 | I3j/4yN4/+MjeP/jI3j/4yN4/+MjeP8AAAAAAAAAAAAAAAAAAAAA5CR5/+Qkef/kJHn/5CR5/+Qkef/k 405 | JHn/5CR5/+Qkef/kJHn/5CR5/+Qkef/kJHn/5CR5/+Qkef/4w9r///////////////////////////// 406 | ////7Wqk/+Qkef/kJHn/5CR5/+Qkef/kJHn/5CR5/+Qkef/kJHn/5CR5/+Qkef/kJHn/5CR5/+Qkef/k 407 | JHn/5CR5/+Qkef/kJHn/5CR5/+Qkef/kJHn/5CR5/+Qkef8AAAAAAAAAAAAAAAAAAAAA5iZ69+Ymev/m 408 | Jnr/5iZ6/+Ymev/mJnr/5iZ6/+Ymev/mJnr/5iZ6/+Ymev/mJnr/5iZ6/+Ymev/we67///////////// 409 | ///////////////+9Pj/5y5//+Ymev/mJnr/5iZ6/+Ymev/mJnr/5iZ6/+Ymev/mJnr/5iZ6/+Ymev/m 410 | Jnr/5iZ6/+Ymev/mJnr/5iZ6/+Ymev/mJnr/5iZ6/+Ymev/mJnr/5iZ6/+YmevcAAAAAAAAAAAAAAAAA 411 | AAAA5yd72Ocne//nJ3v/5yd7/+cne//nJ3v/5yd7/+cne//nJ3v/5yd7/+cne//nJ3v/5yd7/+cne//p 412 | NYT//vr8///////////////////////2stD/5yd7/+cne//nJ3v/5yd7/+cne//nJ3v/5yd7/+cne//n 413 | J3v/5yd7/+cne//nJ3v/5yd7/+cne//nJ3v/5yd7/+cne//nJ3v/5yd7/+cne//nJ3v/5yd7/+cne9YA 414 | AAAAAAAAAAAAAAAAAAAA6Sh8oOkofP/pKHz/6Sh8/+kofP/pKHz/6Sh8/+kofP/pKHz/6Sh8/+kofP/p 415 | KHz/6Sh8/+kofP/pKHz/+cLa///////////////////////wa6X/6Sh8/+kofP/pKHz/6Sh8/+kofP/p 416 | KHz/6Sh8/+kofP/pKHz/6Sh8/+kofP/pKHz/6Sh8/+kofP/pKHz/6Sh8/+kofP/pKHz/6Sh8/+kofP/p 417 | KHz/6Sh8/+koe58AAAAAAAAAAAAAAAAAAAAA6Cl7OOopff/qKX3/6il9/+opff/qKX3/6il9/+opff/q 418 | KX3/6il9/+opff/qKX3/6il9/+opff/qKX3/8nqu//////////////////7y9//rL4H/6il9/+opff/q 419 | KX3/6il9/+opff/qKX3/6il9/+opff/qKX3/6il9/+opff/qKX3/6il9/+opff/qKX3/6il9/+opff/q 420 | KX3/6il9/+opff/qKX3/6il9/+wrezYAAAAAAAAAAAAAAAAAAAAAAAAAAOwqfp7sKn7/7Cp+/+wqfv/s 421 | Kn7/7Cp+/+wqfv/sKn7/7Cp+/+wqfv/sKn7/7Cp+/+wqfv/sKn7/7TeG///6/P////////////ix0P/s 422 | Kn7/7Cp+/+wqfv/sKn7/7Cp+/+wqfv/sKn7/7Cp+/+wqfv/sKn7/7Cp+/+wqfv/sKn7/7Cp+/+wqfv/s 423 | Kn7/7Cp+/+wqfv/sKn7/7Cp+/+wqfv/sKn7/7Cp/owAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOM5cQnu 424 | K3+/7St//+0rf//tK3//7St//+0rf//tK3//7St//+0rf//tK3//7St//+0rf//tK3//7St///efxf// 425 | /////vT4//BUmP/tK3//7St//+0rf//tK3//7St//+0rf//tK3//7St//+0rf//tK3//7St//+0rf//t 426 | K3//7St//+0rf//tK3//7St//+0rf//tK3//7St//+0rf//uK4C+3yCACAAAAAAAAAAAAAAAAAAAAAAA 427 | AAAAAAAAAAAAAAD/QIAE8CyAhe8sgPrvLID/7yyA/+8sgP/vLID/7yyA/+8sgP/vLID/7yyA/+8sgP/v 428 | LID/7yyA/+8sgP/xS5P/8DqI/+8sgP/vLID/7yyA/+8sgP/vLID/7yyA/+8sgP/vLID/7yyA/+8sgP/v 429 | LID/7yyA/+8sgP/vLID/7yyA/+8sgP/vLID/7yyA/+8sgP/vLID/7yyA+vAsgIX/QIAEAAAAAAAAAAAA 430 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPIvgCbyL4Gq8S6B//Eugf/xLoH/8S6B//Eugf/x 431 | LoH/8S6B//Eugf/xLoH/8S6B//Eugf/xLoH/8S6B//Eugf/xLoH/8S6B//Eugf/xLoH/8S6B//Eugf/x 432 | LoH/8S6B//Eugf/xLoH/8S6B//Eugf/xLoH/8S6B//Eugf/xLoH/8S6B//Eugf/xLoK78y6ALAAAAAAA 433 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9DGDRPIvgtLy 434 | L4L/8i+C//Ivgv/yL4L/8i+C//Ivgv/yL4L/8i+C//Ivgv/yL4L/8i+C//Ivgv/yL4L/8i+C//Ivgv/y 435 | L4L/8i+C//Ivgv/yL4L/8i+C//Ivgv/yL4L/8i+C//Ivgv/yL4L/8i+C//Ivgv/yL4L/8i+C2fIvg0wA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+/88pd//JEWj/yRFo/8kRaP/JEWj/yRFo/8kRaP/J 487 | EWj/yRFo/8kRaN0AAAAAAAAAAAAAAADLE2n7yxNp/8sTaf/LE2n/yxNp/8sTaf/LE2n/yxNp/8sTaf/L 488 | E2n/yxNp/8sTaf/LE2n/yxNp/8sUav/54u3/////////////////4Xao/8sTaf/LE2n/yxNp/8sTaf/L 489 | E2n/yxNp/8sTaf/LE2n/yxNp+wAAAAAAAAAAAAAAAM4Ua//OFGv/zhRr/84Ua//OFGv/zhRr/84Ua//O 490 | FGv/zhRr/84Ua//OFGv/zhRr/84Ua//OFGv/2UeL////////////+N3q///////zxtv/zhRr/84Ua//O 491 | FGv/zhRr/84Ua//OFGv/zhRr/84Ua//OFGv/AAAAAAAAAAAAAAAA0BZs/9AWbP/QFmz/0BZs/9AWbP/Q 492 | Fmz/0BZs/9AWbP/QFmz/0BZs/9AWbP/QFmz/0BZs/9AWbP/qlr3///////rk7v/gZ5/////////9/v/V 493 | Lnv/0BZs/9AWbP/QFmz/0BZs/9AWbP/QFmz/0BZs/9AWbP8AAAAAAAAAAAAAAADSGG7/0hhu/9IYbv/S 494 | GG7/0hhu/9IYbv/SGG7/0hhu/9IYbv/SGG7/0hhu/9IYbv/SGG7/0hlv//rj7f//////65e+/9Qjdf/9 495 | 9/r//////+V5q//SGG7/0hhu/9IYbv/SGG7/0hhu/9IYbv/SGG7/0hhu/wAAAAAAAAAAAAAAANUZb//V 496 | GW//1Rlv/9UZb//WHXH/2ziC/9s4gv/bOIL/2ziC/9ckdv/VGW//1Rlv/9UZb//eS47////////////e 497 | S47/1Rlv//G10f//////9cre/9s4gv/bOIL/2ziC/9Ydcf/VGW//1Rlv/9UZb//VGW//AAAAAAAAAAAA 498 | AAAA1xtx/9cbcf/XG3H/1xtx//O71f//////////////////////++fw/9kld//XG3H/1xtx/+2Yv/// 499 | ////+uPu/9cccv/XG3H/5Wqi////////////////////////////87vV/9cbcf/XG3H/1xtx/9cbcf8A 500 | AAAAAAAAAAAAAADaHXL/2h1y/9odcv/aHXL/9LzV////////////////////////////52uj/9odcv/a 501 | HnP/+uTu///////umb//2h1y/9odcv/cKHn/++jx///////////////////////0vNX/2h1y/9odcv/a 502 | HXL/2h1y/wAAAAAAAAAAAAAAANwedP/cHnT/3B50/9wedP/dInb/4TyH/+E8h//hPIf/98vf///////0 503 | t9L/3B50/+RPkv///////////+RPkv/cHnT/3B50/9wedP/eKXv/4TyH/+E8h//hPIf/4TyH/90idv/c 504 | HnT/3B50/9wedP/cHnT/AAAAAAAAAAAAAAAA3iB1/94gdf/eIHX/3iB1/94gdf/eIHX/3iB1/94gdf/s 505 | f7D///////72+v/gKnv/8JrB///////75u//3iF2/94gdf/eIHX/3iB1/94gdf/eIHX/3iB1/94gdf/e 506 | IHX/3iB1/94gdf/eIHX/3iB1/94gdf8AAAAAAAAAAAAAAADhInf/4SJ3/+Eid//hInf/4SJ3/+Eid//h 507 | Inf/4SJ3/+Q3hP///P3//////+ttpf/74+7///////Gbwv/hInf/4SJ3/+Eid//hInf/4SJ3/+Eid//h 508 | Inf/4SJ3/+Eid//hInf/4SJ3/+Eid//hInf/4SJ3/wAAAAAAAAAAAAAAAOMkeP/jJHj/4yR4/+MkeP/j 509 | JHj/4yR4/+MkeP/jJHj/4yR4//jK3v//////+9/r////////////6VOV/+MkeP/jJHj/4yR4/+MkeP/j 510 | JHj/4yR4/+MkeP/jJHj/4yR4/+MkeP/jJHj/4yR4/+MkeP/jJHj/AAAAAAAAAAAAAAAA5SV6/OUlev/l 511 | JXr/5SV6/+Ulev/lJXr/5SV6/+Ulev/lJXr/8IKz//////////////////zm8P/lJnv/5SV6/+Ulev/l 512 | JXr/5SV6/+Ulev/lJXr/5SV6/+Ulev/lJXr/5SV6/+Ulev/lJXr/5SV6/+UlevsAAAAAAAAAAAAAAADo 513 | J3ve6Cd7/+gne//oJ3v/6Cd7/+gne//oJ3v/6Cd7/+gne//qO4f///3+////////////9Z7E/+gne//o 514 | J3v/6Cd7/+gne//oJ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nv/RFmz/0RZs/9EWbP/RFmz/0RZs/9EWbP8A 553 | AAAAAAAAANQYbv/UGG7/1Bhu/9QYbv/UGG7/1Bhu/9QYbv/UGG7/1Bhu/9QYbv/ph7P//////+mJtf/g 554 | W5j///////G00P/UGG7/1Bhu/9QYbv/UGG7/1Bhu/9QYbv8AAAAAAAAAANcbcP/XG3D/1xtw//Gxzv/8 555 | 8PX//PD1//zw9f/qh7T/1xtw/9cbcP/31OT//////909hf/YH3P//O70///9/v/88PX//O30//Gvzf/X 556 | G3D/1xtw/9cbcP8AAAAAAAAAANodcv/aHXL/2h1y//Kyz//98Pb//fD2///9/v/87vT/2yF1/+A/h/// 557 | ////+NTk/9odcv/aHXL/7Im1//3w9v/98Pb//O30//Kvzf/aHXL/2h1y/9odcv8AAAAAAAAAAN0fdP/d 558 | H3T/3R90/90fdP/dH3T/3R90//S40///////516b/+6NuP//////7Yq2/90fdP/dH3T/3R90/90fdP/d 559 | H3T/3R90/90fdP/dH3T/3R90/90fdP8AAAAAAAAAAOAidv/gInb/4CJ2/+Aidv/gInb/4CJ2/+tvpv// 560 | ////86rK//rY5///////5EKK/+Aidv/gInb/4CJ2/+Aidv/gInb/4CJ2/+Aidv/gInb/4CJ2/+Aidv8A 561 | AAAAAAAAAOMkeP/jJHj/4yR4/+MkeP/jJHj/4yR4/+Qtfv/+9vr//vf6///////61OX/4yR4/+MkeP/j 562 | JHj/4yR4/+MkeP/jJHj/4yR4/+MkeP/jJHj/4yR4/+MkeP8AAAAAAAAAAOYmevPmJnr/5iZ6/+Ymev/m 563 | Jnr/5iZ6/+Ymev/3uNP////////////yi7j/5iZ6/+Ymev/mJnr/5iZ6/+Ymev/mJnr/5iZ6/+Ymev/m 564 | Jnr/5iZ6/+YmevMAAAAAAAAAAOopfbbqKHz/6ih8/+oofP/qKHz/6ih8/+oofP/xcKj////////+/v/t 565 | RI3/6ih8/+oofP/qKHz/6ih8/+oofP/qKHz/6ih8/+oofP/qKHz/6ih8/+oofbQAAAAA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ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC8 579 | BWA1ugdew7oGXv+6Bl7/ugZe/7oGXv+6Bl7/ugZdyrsEXjwAAAAAAAAAAAAAAAAAAAAAAAAAALsJXh6/ 580 | CWKnvwlh/r8JYf+/CWH/vwlh/78JYf+/CWH/vwlh/78JYf+/CWH+vwlip7sJXh4AAAAAAAAAAMUOZTXD 581 | DWTvww1k/8MNZP/DDWT/ww1k/8MNZP/DDWT/0kqL/8ghcf/DDWT/ww1k/8MNZP/DDWTvxA9iNAAAAADI 582 | D2fHyBBn/8gQZ//IEGf/yBBn/8gQZ//IEGf/yxtu//32+f/nmL3/yBBn/8gQZ//IEGf/yBBn/8kQaMUA 583 | AAAAzRNq+s0Tav/NE2r/zRNq/80Tav/NE2r/zRNq/95lnv//////+ujw/84WbP/NE2r/zRNq/80Tav/N 584 | E2v5AAAAANEXbf/RF23/0Rdt/9EXbf/RF23/0Rdt/9EXbf/xt9L/99jm///////cUJH/0Rdt/9EXbf/R 585 | F23/0Rdt/wAAAADWGnD/1hpw/91Div/xsM7/8bPP/+JbmP/YJ3j//vn7/+Vupf/31OT/+Nfm//Gwzv/d 586 | Q4r/1hpw/9YacP8AAAAA2x5z/9sec//hR4z/87HP//nX5v/41eX/6HGn//75+//dK3v/5V+c//O00P/z 587 | sc//4UeM/9sec//bHnP/AAAAAN8hdv/fIXb/3yF2/98hdv/nWJj///////ra6P/1utX/3yF2/98hdv/f 588 | IXb/3yF2/98hdv/fIXb/3yF2/wAAAADkJHn65CR5/+Qkef/kJHn/5CZ6//zp8f//////7XCo/+Qkef/k 589 | JHn/5CR5/+Qkef/kJHn/5CR5/+QkefoAAAAA6Sh8x+kofP/pKHz/6Sh8/+kofP/2osb//vf6/+oygv/p 590 | KHz/6Sh8/+kofP/pKHz/6Sh8/+kofP/pKHzFAAAAAOwrgDbtK4Dw7St//+0rf//tK3//7z6L//JioP/t 591 | K3//7St//+0rf//tK3//7St//+0rf//tK3/v7Ct9NQAAAAAAAAAA7iuAHvEugqfyLoL+8i6C//Iugv/y 592 | LoL/8i6C//Iugv/yLoL/8i6C//Iugv7xLoKn7iuAHgAAAAAAAAAAAAAAAAAAAAAAAAAA9TCHNfYyhcP2 593 | MoX/9jKF//Yyhf/2MoX/9jKF//Yyhcr3M4Q8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/ 594 | AP8B/DSHWfs1iM/7NYj4+zWIz/w0h1n/AP8BAAAAAAAAAAAAAAAAAAAAAAAAAADwH6xB4A+sQYADrEEA 595 | AaxBAAGsQQABrEEAAaxBAAGsQQABrEEAAaxBAAGsQQABrEEAAaxBgAOsQeAPrEHwH6xB 596 | 597 | 598 | -------------------------------------------------------------------------------- /Utils/CoreListItem.cs: -------------------------------------------------------------------------------- 1 | namespace ZenStatesDebugTool 2 | { 3 | public class CoreListItem 4 | { 5 | public int CCD { get; } 6 | public int CCX { get; } 7 | public int CORE { get; } 8 | 9 | public CoreListItem(int ccd, int ccx, int core) 10 | { 11 | this.CCD = ccd; 12 | this.CCX = ccx; 13 | this.CORE = core; 14 | } 15 | 16 | public override string ToString() 17 | { 18 | return string.Format("Core {0}", (object)(this.CORE)); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Utils/FrequencyListItem.cs: -------------------------------------------------------------------------------- 1 | namespace ZenStatesDebugTool 2 | { 3 | public class FrequencyListItem 4 | { 5 | public double multi { get; } 6 | public string display { get; } 7 | 8 | public FrequencyListItem(double multi, string display) 9 | { 10 | this.multi = multi; 11 | this.display = display; 12 | } 13 | 14 | public override string ToString() 15 | { 16 | return this.display; 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Utils/MailboxListItem.cs: -------------------------------------------------------------------------------- 1 | using ZenStates.Core; 2 | 3 | namespace ZenStatesDebugTool 4 | { 5 | public class MailboxListItem 6 | { 7 | public uint msgAddr { get; } 8 | public uint rspAddr { get; } 9 | public uint argAddr { get; } 10 | public string label { get; } 11 | 12 | public MailboxListItem(string label, SmuAddressSet addressSet) 13 | { 14 | this.label = label; 15 | msgAddr = addressSet.MsgAddress; 16 | rspAddr = addressSet.RspAddress; 17 | argAddr = addressSet.ArgAddress; 18 | } 19 | 20 | public MailboxListItem(string label, Mailbox mailbox) 21 | { 22 | this.label = label; 23 | msgAddr = mailbox.SMU_ADDR_MSG; 24 | rspAddr = mailbox.SMU_ADDR_RSP; 25 | argAddr = mailbox.SMU_ADDR_ARG; 26 | } 27 | 28 | public override string ToString() 29 | { 30 | return this.label; 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Utils/NUMAUtil.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | 4 | namespace ZenStatesDebugTool 5 | { 6 | public class NUMAUtil 7 | { 8 | public ulong HighestNumaNode 9 | { 10 | get 11 | { 12 | ulong n = 0; 13 | GetNumaHighestNodeNumber(ref n); 14 | return n; 15 | } 16 | } 17 | 18 | [StructLayout(LayoutKind.Sequential, Pack = 4)] 19 | private struct _GROUP_AFFINITY 20 | { 21 | public UIntPtr Mask; 22 | [MarshalAs(UnmanagedType.U2)] 23 | public ushort Group; 24 | [MarshalAs(UnmanagedType.ByValArray, SizeConst = 3, ArraySubType = UnmanagedType.U2)] 25 | public ushort[] Reserved; 26 | } 27 | 28 | [DllImport("kernel32", SetLastError = true)] 29 | private static extern Boolean SetThreadGroupAffinity( 30 | IntPtr hThread, 31 | ref _GROUP_AFFINITY GroupAffinity, 32 | ref _GROUP_AFFINITY PreviousGroupAffinity); 33 | 34 | [DllImport("kernel32", SetLastError = true)] 35 | private static extern IntPtr GetCurrentThread(); 36 | 37 | [DllImport("kernel32", SetLastError = true)] 38 | private static extern Boolean GetNumaHighestNodeNumber(ref ulong HighestNodeNumer); 39 | 40 | /// 41 | /// Sets the processor group and the processor cpu affinity of the current thread. 42 | /// 43 | /// A processor group number. 44 | /// A list of CPU numbers. The values should be 45 | /// between 0 and . 46 | public void SetThreadProcessorAffinity(ushort groupId, params int[] cpus) 47 | { 48 | if (cpus == null) throw new ArgumentNullException(nameof(cpus)); 49 | if (cpus.Length == 0) throw new ArgumentException("You must specify at least one CPU.", nameof(cpus)); 50 | 51 | // Supports up to 64 processors 52 | long cpuMask = 0; 53 | foreach (var cpu in cpus) 54 | { 55 | if (cpu < 0 || cpu >= Environment.ProcessorCount) 56 | throw new ArgumentException("Invalid CPU number."); 57 | 58 | cpuMask |= 1L << cpu; 59 | } 60 | 61 | var hThread = GetCurrentThread(); 62 | var previousAffinity = new _GROUP_AFFINITY { Reserved = new ushort[3] }; 63 | var newAffinity = new _GROUP_AFFINITY 64 | { 65 | Group = groupId, 66 | Mask = new UIntPtr((ulong)cpuMask), 67 | Reserved = new ushort[3] 68 | }; 69 | 70 | SetThreadGroupAffinity(hThread, ref newAffinity, ref previousAffinity); 71 | } 72 | } 73 | } -------------------------------------------------------------------------------- /Utils/SmuAddressSet.cs: -------------------------------------------------------------------------------- 1 | namespace ZenStatesDebugTool 2 | { 3 | public class SmuAddressSet 4 | { 5 | public uint MsgAddress; 6 | public uint RspAddress; 7 | public uint ArgAddress; 8 | 9 | public SmuAddressSet() 10 | { 11 | MsgAddress = 0; 12 | RspAddress = 0; 13 | ArgAddress = 0; 14 | } 15 | 16 | public SmuAddressSet(uint msgAddress, uint rspAddress, uint argAddress) 17 | { 18 | MsgAddress = msgAddress; 19 | RspAddress = rspAddress; 20 | ArgAddress = argAddress; 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Utils/WmiCmdListItem.cs: -------------------------------------------------------------------------------- 1 | namespace ZenStatesDebugTool 2 | { 3 | public class WmiCmdListItem 4 | { 5 | public uint value { get; } 6 | public string text { get; } 7 | 8 | public bool isSet { get; } 9 | 10 | public WmiCmdListItem(string text, uint value, bool isSet = false) 11 | { 12 | this.text = text; 13 | this.value = value; 14 | this.isSet = isSet; 15 | } 16 | 17 | public override string ToString() 18 | { 19 | return this.text; 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /ZenStatesDebug.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irusanov/SMUDebugTool/3b8b94cdebe3f76d199197121c41e8240dc4fd77/ZenStatesDebug.ico -------------------------------------------------------------------------------- /ZenStatesDebugTool.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {056A457F-B9D4-4BB9-A9B3-033F2A1E265C} 8 | WinExe 9 | ZenStatesDebugTool 10 | SMUDebugTool 11 | v4.5 12 | 512 13 | true 14 | 15 | 16 | 17 | AnyCPU 18 | true 19 | full 20 | false 21 | bin\Debug\ 22 | DEBUG;TRACE 23 | prompt 24 | 4 25 | false 26 | 27 | 28 | AnyCPU 29 | pdbonly 30 | true 31 | bin\Release\ 32 | TRACE 33 | prompt 34 | 4 35 | false 36 | 37 | 38 | Resources\ZenStatesDebug.ico 39 | 40 | 41 | 42 | LocalIntranet 43 | 44 | 45 | false 46 | 47 | 48 | app.manifest 49 | 50 | 51 | 52 | 53 | packages\TaskScheduler.2.10.1\lib\net40\Microsoft.Win32.TaskScheduler.dll 54 | 55 | 56 | packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | False 72 | Prebuilt\ZenStates-Core.dll 73 | 74 | 75 | 76 | 77 | Form 78 | 79 | 80 | SMUMonitor.cs 81 | 82 | 83 | Form 84 | 85 | 86 | PowerTableMonitor.cs 87 | 88 | 89 | 90 | 91 | 92 | Form 93 | 94 | 95 | ResultForm.cs 96 | 97 | 98 | 99 | 100 | 101 | Form 102 | 103 | 104 | SettingsForm.cs 105 | 106 | 107 | 108 | 109 | SMUMonitor.cs 110 | 111 | 112 | PowerTableMonitor.cs 113 | 114 | 115 | ResultForm.cs 116 | 117 | 118 | SettingsForm.cs 119 | 120 | 121 | ResXFileCodeGenerator 122 | Resources.Designer.cs 123 | Designer 124 | 125 | 126 | True 127 | Resources.resx 128 | True 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | -------------------------------------------------------------------------------- /ZenStatesDebugTool.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.29613.14 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZenStatesDebugTool", "ZenStatesDebugTool.csproj", "{056A457F-B9D4-4BB9-A9B3-033F2A1E265C}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Any CPU = Debug|Any CPU 11 | Release|Any CPU = Release|Any CPU 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {056A457F-B9D4-4BB9-A9B3-033F2A1E265C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {056A457F-B9D4-4BB9-A9B3-033F2A1E265C}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {056A457F-B9D4-4BB9-A9B3-033F2A1E265C}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {056A457F-B9D4-4BB9-A9B3-033F2A1E265C}.Release|Any CPU.Build.0 = Release|Any CPU 18 | EndGlobalSection 19 | GlobalSection(SolutionProperties) = preSolution 20 | HideSolutionNode = FALSE 21 | EndGlobalSection 22 | GlobalSection(ExtensibilityGlobals) = postSolution 23 | SolutionGuid = {D62E0E45-5C15-4ABE-974A-E4FE814F0F72} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app.manifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 48 | 55 | 56 | 70 | -------------------------------------------------------------------------------- /packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/irusanov/SMUDebugTool/3b8b94cdebe3f76d199197121c41e8240dc4fd77/screenshot.png --------------------------------------------------------------------------------