Changes

Jump to navigation Jump to search
812 bytes added ,  13:58, 16 July 2020
Added some documentation for Encode and Info command
Line 44: Line 44:  
== Functionality ==
 
== Functionality ==
   −
=== Convert images to JSON and back ===
+
=== Convert images to JSON From IMG ===
      Line 413: Line 413:  
</div>
 
</div>
 
</div>
 
</div>
 +
 +
Decode also supports input via STDIN instead of the "-i" flag.
 +
 +
<pre>
 +
cat "core-5679.json" | crit decode
 +
</pre>
 +
 +
=== Convert images from Json to IMG ===
 +
 +
This Converts the image from Json to IMG.Standard usage would look like
 +
 +
<pre>
 +
crit encode -i core-5679.json -o core-5679.img
 +
</pre>
 +
 +
Encode also supports input via STDIN instead of the "-i" flag.
 +
 +
<pre>
 +
cat "core-5679.json" | crit encode
 +
</pre>
 +
 +
Incase a "-o" Flag is not specified the input is piped out to STDOUT.
    
=== Generate core files out of task images ===
 
=== Generate core files out of task images ===
Line 435: Line 457:  
;'mems'
 
;'mems'
 
:to show memory mappings info
 
:to show memory mappings info
 +
 +
=== Show images Info ===
 +
 +
Image of a info such as its "COUNT" and "MAGIC" can be displayed using the INFO command.
 +
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px">
 +
<b>Example("crit info core-5679.img")</b>
 +
<div class="mw-collapsible-content">
 +
<pre>
 +
{
 +
    "count": 1,
 +
    "magic": "CORE"
 +
}
 +
</pre>
 +
</div>
 +
</div>
    
== Planned functionality ==
 
== Planned functionality ==
3

edits

Navigation menu