@yowasp/openfpgaloader 0.0.0-experimental0 → 0.3.1-888.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/gen/bundle.js +4 -4
- package/gen/openFPGALoader.wasm +0 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
YoWASP openFPGALoader package
|
|
2
|
+
=============================
|
|
3
|
+
|
|
4
|
+
This package provides [openFPGALoader][] binaries built using [Emscripten][] for [WebUSB][] in [supported browsers][caniuse], providing a command `openFPGALoader` with the [YoWASP JavaScript runtime][runtime-js] interface. See the [overview of the YoWASP project][yowasp] for details.
|
|
5
|
+
|
|
6
|
+
[openFPGALoader]: https://github.com/trabucayre/openFPGALoader
|
|
7
|
+
[emscripten]: https://emscripten.org/
|
|
8
|
+
[webusb]: https://developer.mozilla.org/en-US/docs/Web/API/WebUSB_API
|
|
9
|
+
[yowasp]: https://yowasp.org
|
|
10
|
+
[runtime-js]: https://github.com/YoWASP/runtime-js
|
|
11
|
+
[caniuse]: https://caniuse.com/webusb
|
|
12
|
+
|
|
13
|
+
License
|
|
14
|
+
-------
|
|
15
|
+
|
|
16
|
+
This package is covered by the [ISC license](LICENSE.txt).
|
package/gen/bundle.js
CHANGED
|
@@ -4355,8 +4355,8 @@ var instantiate = (() => {
|
|
|
4355
4355
|
var _asyncify_stop_unwind = () => (_asyncify_stop_unwind = wasmExports["hc"])();
|
|
4356
4356
|
var _asyncify_start_rewind = (a0) => (_asyncify_start_rewind = wasmExports["ic"])(a0);
|
|
4357
4357
|
var _asyncify_stop_rewind = () => (_asyncify_stop_rewind = wasmExports["jc"])();
|
|
4358
|
-
var ___start_em_js = Module["___start_em_js"] =
|
|
4359
|
-
var ___stop_em_js = Module["___stop_em_js"] =
|
|
4358
|
+
var ___start_em_js = Module["___start_em_js"] = 241048;
|
|
4359
|
+
var ___stop_em_js = Module["___stop_em_js"] = 242450;
|
|
4360
4360
|
function invoke_viiiii(index, a1, a2, a3, a4, a5) {
|
|
4361
4361
|
var sp = stackSave();
|
|
4362
4362
|
try {
|
|
@@ -4822,11 +4822,11 @@ function makeTerminalWrite({ print = null, printLine = null }) {
|
|
|
4822
4822
|
if (charCode !== null)
|
|
4823
4823
|
terminalBuffer.push(charCode);
|
|
4824
4824
|
if (charCode === null || charCode === 10 || charCode == 13)
|
|
4825
|
-
print(
|
|
4825
|
+
print(String.fromCharCode(...terminalBuffer.splice(0)));
|
|
4826
4826
|
} else if (printLine !== null) {
|
|
4827
4827
|
if (charCode === null) {
|
|
4828
4828
|
} else if (charCode === 10) {
|
|
4829
|
-
printLine(
|
|
4829
|
+
printLine(String.fromCharCode(...terminalBuffer.splice(0)));
|
|
4830
4830
|
} else {
|
|
4831
4831
|
terminalBuffer.push(charCode);
|
|
4832
4832
|
}
|
package/gen/openFPGALoader.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED