src/state.h

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