DASM
Classes
DExecHW/SimpleKey.pm File Reference

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...

Detailed Description

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.

Author:
Justin Fletcher

Definition in file SimpleKey.pm.