Forráskód Böngészése

* Add some explanations, reference correct project sources

Michael Van Canneyt 4 hónapja
szülő
commit
2d93d12f4c
1 módosított fájl, 6 hozzáadás és 3 törlés
  1. 6 3
      demo/wasienv/memutils/index.html

+ 6 - 3
demo/wasienv/memutils/index.html

@@ -26,7 +26,10 @@
 </head>
 <body>
   <div class="section pb-4">
-    <h1 class="title is-4">FPC compiled wasm program console output:</h1>
+    <h1 class="title is-4">Wasm & Host program console output:</h1>
+    Both the webassembly program and the host program in JS track the
+    growing of webassembly linear memory. They both log a line when the
+    memory array is resized.
     <div class="box" id="pasjsconsole"></div>
   </div>
   <!-- <hr> -->
@@ -35,8 +38,8 @@
       <div class="source-inner">
         <div>
           <p>Created using &nbsp; <a target="_blank" href="https://wiki.freepascal.org/pas2js">pas2js.</a> </p>
-          <p>Pas2JS Sources: &nbsp; <a target="new" href="demowasienv.lpr">Pas2JS Program</a></p>
-          <p>Webassembly Sources: &nbsp; <a target="new" href="helloworld.pp">FPC Program</a></p>
+          <p>Pas2JS Sources: &nbsp; <a target="new" href="memtesthost.lpr">Pas2JS Program</a></p>
+          <p>Webassembly Sources: &nbsp; <a target="new" href="testmem.pp">FPC Program</a></p>
         </div>
       </div>
     </div>