mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-02 11:59:48 -08:00
Deploy khronokernel/Getting-Started-With-ACPI to github.com/khronokernel/Getting-Started-With-ACPI.git:gh-pages
This commit is contained in:
@@ -409,20 +409,36 @@
|
||||
<section class="normal markdown-section">
|
||||
|
||||
<h1 id="compiling-and-decompiling-acpi-tables">Compiling and decompiling ACPI Tables</h1>
|
||||
<p>See <a href="https://khronokernel-2.gitbook.io/opencore-vanilla-desktop-guide/troubleshooting/troubleshooting" target="_blank">General Troubleshooting</a> if you have dumping/compiling errors</p>
|
||||
<ul>
|
||||
<li><a href="compile.html#macos">macOS Compiling and Decompiling</a></li>
|
||||
<li><a href="compile.html#windows">Windows Compiling and Decompiling</a></li>
|
||||
<li><a href="compile.html#linux">Linux Compiling and Decompiling</a></li>
|
||||
</ul>
|
||||
<h2 id="macos">macOS</h2>
|
||||
<p>So compiling DSDTs and SSDTs are quite easy with macOS, all you need is <a href="https://github.com/acidanthera/MaciASL/releases" target="_blank">MaciASL</a>. To compile, just <code>File -> SaveAs -> ACPI Machine Language Binary(.AML)</code>, decompiling is just opening the file in MaciASL.</p>
|
||||
<p>For those who prefer the command line, grab <a href="https://github.com/acidanthera/MaciASL/blob/master/Dist/iasl-stable" target="_blank">iasl-stable</a> and run the following:</p>
|
||||
<pre><code class="lang-text">path/to/iasl.exe path/to/DSDT.aml
|
||||
</code></pre>
|
||||
<ul>
|
||||
<li>If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.</li>
|
||||
</ul>
|
||||
<p><img src="https://cdn.discordapp.com/attachments/683011276938543134/695854856681816144/Screen_Shot_2020-04-03_at_10.38.18_PM.png" alt=""></p>
|
||||
<h2 id="windows">Windows</h2>
|
||||
<p>Compiling and decompiling on windows is fairly simple though, you will need <a href="https://acpica.org/sites/acpica/files/iasl-win-20180105.zip" target="_blank">iasl.exe</a> and Command Prompt:</p>
|
||||
<pre><code class="lang-text">path/to/iasl.exe path/to/DSDT.aml
|
||||
</code></pre>
|
||||
<p><img src="https://i.imgur.com/IY7HMof.png" alt=""></p>
|
||||
<p>If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.</p>
|
||||
<ul>
|
||||
<li>If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.</li>
|
||||
</ul>
|
||||
<h2 id="linux">Linux</h2>
|
||||
<p>Compiling and decompiling with Linux is just as simple, you will need a special copy of <a href="http://amdosx.kellynet.nl/iasl.zip" target="_blank">iasl</a> and terminal:</p>
|
||||
<pre><code class="lang-text">path/to/iasl path/to/DSDT.aml
|
||||
</code></pre>
|
||||
<p>If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.</p>
|
||||
<p>See <a href="https://khronokernel-2.gitbook.io/opencore-vanilla-desktop-guide/troubleshooting/troubleshooting" target="_blank">General Troubleshooting</a> if you have dumping/compiling errors</p>
|
||||
<ul>
|
||||
<li>If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.</li>
|
||||
</ul>
|
||||
|
||||
|
||||
</section>
|
||||
@@ -466,7 +482,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"Decompiling and Compiling","level":"2.2","depth":1,"next":{"title":"Embedded Controllers","level":"3.1","depth":1,"path":"Desktops/desktop-ec.md","ref":"Desktops/desktop-ec.md","articles":[]},"previous":{"title":"Dumping the DSDT","level":"2.1","depth":1,"path":"Manual/dump.md","ref":"Manual/dump.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-default","-lunr","-search","search-plus","addcssjs","favicon-plus"],"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"},"pluginsConfig":{"output":"_book","addcssjs":{"css":[],"js":[]},"fontsettings":{"theme":"night","family":"sans","size":2},"favicon-plus":{"appleTouchIconPrecomposed152":"","favicon":"","output":"_book"},"highlight":{},"favicon":"/icons/favicon.ico","appleTouchIconPrecomposed152":"/icons/appleTouchIconPrecomposed152.png","sharing":{"facebook":false,"twitter":false,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":[]},"theme-default":{"showLevel":false,"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"}},"search-plus":{}},"theme":"default","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":false},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"links":{"sharing":{"google":false,"facebook":false,"twitter":false,"weibo":false,"all":false}},"gitbook":"*"},"file":{"path":"Manual/compile.md","mtime":"2020-04-03T00:20:07.691Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-04-03T00:20:55.689Z"},"basePath":"..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"Decompiling and Compiling","level":"2.2","depth":1,"next":{"title":"Embedded Controllers","level":"3.1","depth":1,"path":"Desktops/desktop-ec.md","ref":"Desktops/desktop-ec.md","articles":[]},"previous":{"title":"Dumping the DSDT","level":"2.1","depth":1,"path":"Manual/dump.md","ref":"Manual/dump.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-default","-lunr","-search","search-plus","addcssjs","favicon-plus"],"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"},"pluginsConfig":{"output":"_book","addcssjs":{"css":[],"js":[]},"fontsettings":{"theme":"night","family":"sans","size":2},"favicon-plus":{"appleTouchIconPrecomposed152":"","favicon":"","output":"_book"},"highlight":{},"favicon":"/icons/favicon.ico","appleTouchIconPrecomposed152":"/icons/appleTouchIconPrecomposed152.png","sharing":{"facebook":false,"twitter":false,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":[]},"theme-default":{"showLevel":false,"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"}},"search-plus":{}},"theme":"default","pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":false},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"links":{"sharing":{"google":false,"facebook":false,"twitter":false,"weibo":false,"all":false}},"gitbook":"*"},"file":{"path":"Manual/compile.md","mtime":"2020-04-05T00:41:26.348Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-04-05T00:42:19.869Z"},"basePath":"..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user