Comparing version 0.0.70 to 0.0.71
{ | ||
"name": "hdl-js", | ||
"version": "0.0.70", | ||
"version": "0.0.71", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Hardware definition language (HDL) and Hardware simulator", |
@@ -43,2 +43,5 @@ # hdl-js | ||
- [Memory chips](#memory-chips) | ||
- [Interface chips](#interface-chips) | ||
- [Screen](#screen) | ||
- [Keyboard](#keyboard) | ||
- [Clock](#clock) | ||
@@ -1439,3 +1442,3 @@ - [Clock events](#clock-events) | ||
- [Screen](https://github.com/DmitrySoshnikov/hdl-js/blob/master/src/emulator/hardware/builtin-gates/Screen.js) | ||
- [Screen](https://github.com/DmitrySoshnikov/hdl-js/blob/master/src/emulator/hardware/builtin-gates/Screen.js) (video memory) | ||
- [Keyboard](https://github.com/DmitrySoshnikov/hdl-js/blob/master/src/emulator/hardware/builtin-gates/Keyboard.js) | ||
@@ -1445,3 +1448,3 @@ | ||
The _Screen_ chip represents 256 x 512 video memory, implemented with 8K registers. The gate can manipulate individual pixels using `getPixelAt`, and `setPixelAt` methods. | ||
The `Screen` chip represents 256 x 512 video memory, implemented with 8K registers. The gate can manipulate individual pixels using `getPixelAt`, and `setPixelAt` methods. | ||
@@ -1465,7 +1468,7 @@ ```js | ||
The _Keyboard_ chip is special, and requires callers to implement the actual keyboard listener, depending on a system where the chip is used. Such caller listeners should call `Keyboard.emit('key', key)` even, and the key code is propagated to the output pin: | ||
The `Keyboard` chip is special, and requires callers to implement the actual keyboard listener, depending on a system where the chip is used. Such caller listeners should call `Keyboard.emit('key', key)` event, and the key code is propagated to the output pin: | ||
Example using from a browser environment: | ||
``` | ||
```js | ||
... | ||
@@ -1484,3 +1487,3 @@ | ||
The `Keyboard` also provides default (blocking) `listen` method, which spawns Node's stdin keyboard input listening: | ||
The `Keyboard` also provides default (blocking) `listen` method, which spawns Node's `stdin` keyboard listening: | ||
@@ -1500,3 +1503,3 @@ ```js | ||
We can introspect keyboard events using `--describe` option of the Keyboard gate: | ||
We can introspect keyboard events using `--describe` option of the `Keyboard` gate: | ||
@@ -1503,0 +1506,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
393284
2147