diff options
-rw-r--r-- | baremetal/boot.hex | 4 | ||||
-rw-r--r-- | html/baremetal/boot.hex.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/baremetal/boot.hex b/baremetal/boot.hex index ddc47d31..d0a85b4f 100644 --- a/baremetal/boot.hex +++ b/baremetal/boot.hex @@ -1,4 +1,4 @@ -# Code for the first disk sector that all programs in this directory need: +# Code for the first few disk sectors that all programs in this directory need: # - load sectors past the first (using BIOS primitives) since only the first is available by default # - if this fails, print 'D' at top-left of screen and halt # - initialize a minimal graphics mode @@ -24,7 +24,7 @@ # This file contains just lowercase hex bytes and comments. Zero # error-checking. Make liberal use of: # - comments documenting expected offsets -# - size checks on the emitted file (currently: 512 bytes) +# - size checks on the emitted file (currently: 5120 bytes) # - xxd to eyeball that offsets contain expected bytes # # Programs using this initialization: diff --git a/html/baremetal/boot.hex.html b/html/baremetal/boot.hex.html index d27c6b01..7f666df4 100644 --- a/html/baremetal/boot.hex.html +++ b/html/baremetal/boot.hex.html @@ -53,7 +53,7 @@ if ('onhashchange' in window) { <body onload='JumpToLine();'> <a href='https://github.com/akkartik/mu/blob/main/baremetal/boot.hex'>https://github.com/akkartik/mu/blob/main/baremetal/boot.hex</a> <pre id='vimCodeElement'> -<span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Code for the first disk sector that all programs in this directory need:</span> +<span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Code for the first few disk sectors that all programs in this directory need:</span> <span id="L2" class="LineNr"> 2 </span><span class="subxComment"># - load sectors past the first (using BIOS primitives) since only the first is available by default</span> <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># - if this fails, print 'D' at top-left of screen and halt</span> <span id="L4" class="LineNr"> 4 </span><span class="subxComment"># - initialize a minimal graphics mode</span> @@ -79,7 +79,7 @@ if ('onhashchange' in window) { <span id="L24" class="LineNr"> 24 </span><span class="subxComment"># This file contains just lowercase hex bytes and comments. Zero</span> <span id="L25" class="LineNr"> 25 </span><span class="subxComment"># error-checking. Make liberal use of:</span> <span id="L26" class="LineNr"> 26 </span><span class="subxComment"># - comments documenting expected offsets</span> -<span id="L27" class="LineNr"> 27 </span><span class="subxComment"># - size checks on the emitted file (currently: 512 bytes)</span> +<span id="L27" class="LineNr"> 27 </span><span class="subxComment"># - size checks on the emitted file (currently: 5120 bytes)</span> <span id="L28" class="LineNr"> 28 </span><span class="subxComment"># - xxd to eyeball that offsets contain expected bytes</span> <span id="L29" class="LineNr"> 29 </span><span class="subxComment">#</span> <span id="L30" class="LineNr"> 30 </span><span class="subxComment"># Programs using this initialization:</span> |