diff options
Diffstat (limited to 'html/baremetal/ex1.hex.html')
-rw-r--r-- | html/baremetal/ex1.hex.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html/baremetal/ex1.hex.html b/html/baremetal/ex1.hex.html index 5fc1129c..92c4ab4e 100644 --- a/html/baremetal/ex1.hex.html +++ b/html/baremetal/ex1.hex.html @@ -58,7 +58,7 @@ if ('onhashchange' in window) { <span id="L5" class="LineNr"> 5 </span><span class="subxComment">#</span> <span id="L6" class="LineNr"> 6 </span><span class="subxComment"># To convert to a disk image, first prepare a realistically sized disk image:</span> <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># dd if=/dev/zero of=disk.img count=20160 # 512-byte sectors, so 10MB</span> -<span id="L8" class="LineNr"> 8 </span><span class="subxComment"># Load the disk image:</span> +<span id="L8" class="LineNr"> 8 </span><span class="subxComment"># Load the program on the disk image:</span> <span id="L9" class="LineNr"> 9 </span><span class="subxComment"># cat baremetal/boot.hex baremetal/ex1.hex |./bootstrap run apps/hex > a.bin</span> <span id="L10" class="LineNr">10 </span><span class="subxComment"># dd if=a.bin of=disk.img conv=notrunc</span> <span id="L11" class="LineNr">11 </span><span class="subxComment"># To run:</span> |