DASM
|
HW implementation for 'SimpleKey'. More...
#include "Term/ReadKey.pm"
Go to the source code of this file.
Classes | |
class | DExecHW::SimpleKey |
HW implementation for 'SimpleKey'. More... |
HW implementation for 'SimpleKey'.
A very simple key input.
2 words are provided (little endian):
Offset | Name | Meaning |
---|---|---|
+0 | Read | read a key, or 0 if none available |
+1 | Count | number of characters available |
The characters available are dequeued by reading the Read register. Every read of the Read register will queue any new characters for reading.
Writing to any register has no effect.
Definition in file SimpleKey.pm.