@yowasp/openfpgaloader 0.0.0-experimental0 → 0.3.1-888.4
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 +2 -2
- 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
|
@@ -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/package.json
CHANGED