diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-12-27 11:39:17 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-12-27 11:39:17 -0800 |
commit | 46cf7b79083f9ebe4c70f232fe564b62d09eac20 (patch) | |
tree | ca3d9230b183d2da36572cd5c53c4e3d389d818e /html/baremetal/ex2.hex.html | |
parent | 490b26d0614f685990dcc9225c7826a34de77b48 (diff) | |
download | mu-46cf7b79083f9ebe4c70f232fe564b62d09eac20.tar.gz |
7427
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> |