diff options
Diffstat (limited to 'html/baremetal')
-rw-r--r-- | html/baremetal/ex1.hex.html | 2 | ||||
-rw-r--r-- | html/baremetal/ex2.hex.html | 2 |
2 files changed, 2 insertions, 2 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> 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> |