1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-27 20:51:17 +00:00

Add last key, strobe fields

This commit is contained in:
Peter Evans 2018-01-16 23:49:34 -06:00
parent 9d6869bfc4
commit 2b688c7815

View File

@ -304,6 +304,15 @@ typedef struct {
*/ */
vm_8bit memory_mode; vm_8bit memory_mode;
/*
* The last_key field is the ASCII value of the last key that was
* pressed. We also have a simple boolean value to determine if the
* strobe is set (it always is when the key is pressed, and stays
* that way until someone reads the "any-key-down" soft switch).
*/
vm_8bit last_key;
bool strobe;
/* /*
* Our two disk drives. * Our two disk drives.
*/ */