diff options
Diffstat (limited to 'html/baremetal/ex2.hex.html')
-rw-r--r-- | html/baremetal/ex2.hex.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html/baremetal/ex2.hex.html b/html/baremetal/ex2.hex.html index 437dbb0d..008f2dd3 100644 --- a/html/baremetal/ex2.hex.html +++ b/html/baremetal/ex2.hex.html @@ -55,7 +55,7 @@ if ('onhashchange' in window) { <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span> <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># To run, first prepare a realistically sized disk image:</span> <span id="L4" class="LineNr"> 4 </span><span class="subxComment"># dd if=/dev/zero of=disk.img count=20160 # 512-byte sectors, so 10MB</span> -<span id="L5" class="LineNr"> 5 </span><span class="subxComment"># Load the disk image:</span> +<span id="L5" class="LineNr"> 5 </span><span class="subxComment"># Load the program on the disk image:</span> <span id="L6" class="LineNr"> 6 </span><span class="subxComment"># cat baremetal/boot.hex baremetal/ex2.hex |./bootstrap run apps/hex > a.bin</span> <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># dd if=a.bin of=disk.img conv=notrunc</span> <span id="L8" class="LineNr"> 8 </span><span class="subxComment"># To run:</span> |