src/state.h

changeset 80
9581358e92b0
parent 62
c895256b528d
child 95
6e01339b218d
     1.1 --- a/src/state.h	Wed Dec 29 09:06:17 2010 +0000
     1.2 +++ b/src/state.h	Wed Feb 09 15:03:31 2011 +0000
     1.3 @@ -5,6 +5,7 @@
     1.4  #include <stdint.h>
     1.5  #include <stdbool.h>
     1.6  #include "wd279x.h"
     1.7 +#include "keyboard.h"
     1.8  
     1.9  // Maximum size of the Boot PROMs. Must be a binary power of two.
    1.10  #define ROM_SIZE 32768
    1.11 @@ -70,6 +71,9 @@
    1.12  
    1.13  	/// Floppy disc controller context
    1.14  	WD2797_CTX	fdc_ctx;
    1.15 +
    1.16 +	/// Keyboard controller context
    1.17 +	KEYBOARD_STATE	kbd;
    1.18  } S_state;
    1.19  
    1.20  // Global emulator state. Yes, I know global variables are evil, please don't