src/state.h

changeset 151
b63a3999e2e7
parent 112
a392eb8f9806
     1.1 diff -r c19afa2c81db -r b63a3999e2e7 src/state.h
     1.2 --- a/src/state.h	Fri Apr 18 01:26:01 2014 -0600
     1.3 +++ b/src/state.h	Fri Apr 18 01:34:20 2014 -0600
     1.4 @@ -7,6 +7,8 @@
     1.5  #include "wd279x.h"
     1.6  #include "wd2010.h"
     1.7  #include "keyboard.h"
     1.8 +#include "tc8250.h"
     1.9 +
    1.10  
    1.11  // Maximum size of the Boot PROMs. Must be a binary power of two.
    1.12  #define ROM_SIZE 32768
    1.13 @@ -90,6 +92,9 @@
    1.14  
    1.15  	/// Keyboard controller context
    1.16  	KEYBOARD_STATE	kbd;
    1.17 +
    1.18 +	/// Real time clock context
    1.19 +	TC8250_CTX rtc_ctx;
    1.20  } S_state;
    1.21  
    1.22  // Global emulator state. Yes, I know global variables are evil, please don't